Skip to content

Commit 2f67f74

Browse files
committed
dtoverlays: tc358743: Update legacy compatible frag with cam0 override
The non-pi5 variant of tc358743 needs to update the compatible of csi0 rather than csi1 if the cam0 override is used, otherwise it gets loaded in Media Controller mode. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
1 parent 23cc84d commit 2f67f74

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

arch/arm/boot/dts/overlays/tc358743-overlay.dts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/ {
99
compatible = "brcm,bcm2835";
1010

11-
fragment@100 {
11+
legacy_frag: fragment@100 {
1212
target = <&csi1>;
1313
__overlay__ {
1414
compatible = "brcm,bcm2835-unicam-legacy";
@@ -17,5 +17,12 @@
1717

1818
__overrides__ {
1919
media-controller = <0>,"!100";
20+
// Overwrites the cam0 override from tc358743.dtsi as we need to
21+
// update legacy_frag.
22+
cam0 = <&i2c_frag>, "target:0=",<&i2c_csi_dsi0>,
23+
<&csi_frag>, "target:0=",<&csi0>,
24+
<&clk_frag>, "target:0=",<&cam0_clk>,
25+
<&tc358743>, "clocks:0=",<&cam0_clk>,
26+
<&legacy_frag>, "target:0=",<&csi0>;
2027
};
2128
};

0 commit comments

Comments
 (0)