summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-05-18 01:50:18 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-05-18 01:50:18 +0200
commit5a116b915a5e2f642c37b1791bdce8094a73f541 (patch)
tree19fe5101bcec11e9754b4cbf8c8204b827275d0d /inventory
parentRPi CM4 dwc vs xhci (diff)
cm4-sensors: enable i2c-1 (aka i2c_arm)HEADmaster
Diffstat (limited to 'inventory')
-rw-r--r--inventory/host_vars/ch-cm4-sensors0.yml2
-rw-r--r--inventory/host_vars/ch-cm4-sensors1.yml2
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'