Skip to content

Commit

Permalink
dts: bcm2712-rpi-5-b: Create some dummy nodes
Browse files Browse the repository at this point in the history
The kernel now treats multiple fragments targeting the same node as an
error. For this reason, it is important that labels created just for
compatibility with other systems (e.g. i2c0if and i2c0mux) are
attached to unique nodes, not just tacked onto existing nodes.

Signed-off-by: Phil Elwell <[email protected]>
  • Loading branch information
pelwell committed Nov 2, 2023
1 parent e86c43b commit bc9ec58
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions arch/arm/boot/dts/bcm2712-rpi-5-b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,12 @@
dummy: dummy {
// A target for unwanted overlay fragments
};


// A few extra labels to keep overlays happy

i2c0if: i2c0if {};
i2c0mux: i2c0mux {};
};

rp1_target: &pcie2 {
Expand Down Expand Up @@ -243,11 +249,6 @@ aux: &dummy {};

#include "bcm2712-rpi.dtsi"

// A few extra labels to keep overlays happy

i2c0if: &rp1_gpio {};
i2c0mux: &rp1_gpio {};

i2c_csi_dsi0: &i2c6 { // Note: This is for MIPI0 connector only
pinctrl-0 = <&rp1_i2c6_38_39>;
pinctrl-names = "default";
Expand Down

0 comments on commit bc9ec58

Please sign in to comment.