diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-05-18 01:50:18 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-05-18 01:50:18 +0200 |
commit | 5a116b915a5e2f642c37b1791bdce8094a73f541 (patch) | |
tree | 19fe5101bcec11e9754b4cbf8c8204b827275d0d /inventory/host_vars | |
parent | RPi CM4 dwc vs xhci (diff) |
cm4-sensors: enable i2c-1 (aka i2c_arm)
Diffstat (limited to 'inventory/host_vars')
-rw-r--r-- | inventory/host_vars/ch-cm4-sensors0.yml | 2 | ||||
-rw-r--r-- | inventory/host_vars/ch-cm4-sensors1.yml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-cm4-sensors0.yml b/inventory/host_vars/ch-cm4-sensors0.yml index abc0c0bb..79b0e4c3 100644 --- a/inventory/host_vars/ch-cm4-sensors0.yml +++ b/inventory/host_vars/ch-cm4-sensors0.yml @@ -16,6 +16,8 @@ network: - *_network_primary_ raspios_boot_config: + - regexp: '^#?dtparam=i2c_arm' + line: 'dtparam=i2c_arm=on' - regexp: '^#?dtparam=i2c_vc' line: 'dtparam=i2c_vc=on' - regexp: '^#?dtoverlay=i2c-rtc' diff --git a/inventory/host_vars/ch-cm4-sensors1.yml b/inventory/host_vars/ch-cm4-sensors1.yml index abc0c0bb..79b0e4c3 100644 --- a/inventory/host_vars/ch-cm4-sensors1.yml +++ b/inventory/host_vars/ch-cm4-sensors1.yml @@ -16,6 +16,8 @@ network: - *_network_primary_ raspios_boot_config: + - regexp: '^#?dtparam=i2c_arm' + line: 'dtparam=i2c_arm=on' - regexp: '^#?dtparam=i2c_vc' line: 'dtparam=i2c_vc=on' - regexp: '^#?dtoverlay=i2c-rtc' |