Skip to content

Commit 8537933

Browse files
6by9pelwell
authored andcommitted
ARM: dts: bcm2711-cm4s Correct i2c0mux to use 0/1 and 28/29 & 2 regulators
CM4S follows CM1/3, so based on the documentation cameras/displays connect to 0/1 and 28/29, not 0/1 and 44/45. Likewise the camera regulator controls are independent as on CM1/3. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
1 parent 42800ed commit 8537933

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

‎arch/arm/boot/dts/bcm2711-rpi-cm4s.dts‎

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,7 @@
204204
#include "bcm2711-rpi.dtsi"
205205
#include "bcm283x-rpi-csi0-2lane.dtsi"
206206
#include "bcm283x-rpi-csi1-4lane.dtsi"
207-
#include "bcm283x-rpi-i2c0mux_0_44.dtsi"
208-
#include "bcm283x-rpi-cam1-regulator.dtsi"
207+
#include "bcm283x-rpi-i2c0mux_0_28.dtsi"
209208

210209
/delete-node/ &hdmi1;
211210

@@ -214,6 +213,21 @@
214213
bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1";
215214
};
216215

216+
cam1_reg: cam1_reg {
217+
compatible = "regulator-fixed";
218+
regulator-name = "cam1-regulator";
219+
gpio = <&gpio 2 GPIO_ACTIVE_HIGH>;
220+
enable-active-high;
221+
status = "disabled";
222+
};
223+
cam0_reg: cam0_reg {
224+
compatible = "regulator-fixed";
225+
regulator-name = "cam0-regulator";
226+
gpio = <&gpio 30 GPIO_ACTIVE_HIGH>;
227+
enable-active-high;
228+
status = "disabled";
229+
};
230+
217231
aliases {
218232
serial0 = &uart0;
219233
mmc0 = &emmc2;

0 commit comments

Comments
 (0)