summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-cm4-sensors1.yml
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/host_vars/ch-cm4-sensors1.yml
parentRPi CM4 dwc vs xhci (diff)
cm4-sensors: enable i2c-1 (aka i2c_arm)
Diffstat (limited to 'inventory/host_vars/ch-cm4-sensors1.yml')
-rw-r--r--inventory/host_vars/ch-cm4-sensors1.yml2
1 files changed, 2 insertions, 0 deletions
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'