Skip to content

Commit a73aeac

Browse files
yonschcarlescufi
authored andcommitted
dts: rp2040: Fixed DTC warning concerning the pinctrl node
The pinctrl node of the RP2040 had the same unit address as the GPIO bank, causing a DTC warning. To fix this, the pinctrl's address was removed, as it does not require any. Signed-off-by: Yonatan Schachter <[email protected]>
1 parent 96271c7 commit a73aeac

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

dts/arm/rpi_pico/rp2040.dtsi

+4-6
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,6 @@
6868
#reset-cells = <1>;
6969
};
7070

71-
pinctrl: pin-controller@40014000 {
72-
compatible = "raspberrypi,pico-pinctrl";
73-
reg = <0x40014000 DT_SIZE_K(4)>;
74-
status = "okay";
75-
};
76-
7771
gpio0: gpio@40014000 {
7872
compatible = "raspberrypi,pico-gpio";
7973
reg = <0x40014000 DT_SIZE_K(4)>;
@@ -188,6 +182,10 @@
188182
#pwm-cells = <3>;
189183
};
190184
};
185+
186+
pinctrl: pin-controller {
187+
compatible = "raspberrypi,pico-pinctrl";
188+
};
191189
};
192190

193191
&nvic {

0 commit comments

Comments
 (0)