Skip to content

Commit da3d4f2

Browse files
ajf58kartben
authored andcommitted
drivers: clock_control: rpi_pico: Make pinctrl-0 optional
No in-tree board uses this driver's pinctrl functionality, and every RP2040-based board was configuring this to be an empty node in the device tree, so remove them. Signed-off-by: Andrew Featherstone <[email protected]>
1 parent 0b97e8e commit da3d4f2

File tree

13 files changed

+1
-49
lines changed

13 files changed

+1
-49
lines changed

boards/adafruit/kb2040/adafruit_kb2040-pinctrl.dtsi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@
4848
};
4949
};
5050

51-
clocks_default: clocks_default {
52-
};
53-
5451
ws2812_pio0_default: ws2812_pio0_default {
5552
ws2812 {
5653
pinmux = <PIO0_P17>;

boards/adafruit/kb2040/adafruit_kb2040.dts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@
5656
};
5757
};
5858

59-
&clocks {
60-
pinctrl-0 = <&clocks_default>;
61-
pinctrl-names = "default";
62-
};
63-
6459
&uart0 {
6560
current-speed = <115200>;
6661
status = "okay";

boards/adafruit/qt_py_rp2040/adafruit_qt_py_rp2040-pinctrl.dtsi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@
5959
};
6060
};
6161

62-
clocks_default: clocks_default {
63-
};
64-
6562
ws2812_pio1_default: ws2812_pio1_default {
6663
ws2812 {
6764
pinmux = <PIO1_P12>;

boards/adafruit/qt_py_rp2040/adafruit_qt_py_rp2040.dts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@
5656
};
5757
};
5858

59-
&clocks {
60-
pinctrl-0 = <&clocks_default>;
61-
pinctrl-names = "default";
62-
};
63-
6459
&uart1 {
6560
current-speed = <115200>;
6661
status = "okay";

boards/raspberrypi/rpi_pico/rpi_pico-common.dtsi

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,6 @@
8989
};
9090
};
9191

92-
&clocks {
93-
pinctrl-0 = <&clocks_default>;
94-
pinctrl-names = "default";
95-
};
96-
9792
&uart0 {
9893
current-speed = <115200>;
9994
status = "okay";

boards/raspberrypi/rpi_pico/rpi_pico-pinctrl.dtsi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,4 @@
5454
input-enable;
5555
};
5656
};
57-
58-
clocks_default: clocks_default {
59-
};
6057
};

boards/seeed/xiao_rp2040/xiao_rp2040-pinctrl.dtsi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@
5757
};
5858
};
5959

60-
clocks_default: clocks_default {
61-
};
62-
6360
ws2812_pio0_default: ws2812_pio0_default {
6461
ws2812 {
6562
pinmux = <PIO0_P12>;

boards/seeed/xiao_rp2040/xiao_rp2040.dts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,6 @@
8686
};
8787
};
8888

89-
&clocks {
90-
pinctrl-0 = <&clocks_default>;
91-
pinctrl-names = "default";
92-
};
93-
9489
&timer {
9590
status = "okay";
9691
};

boards/sparkfun/pro_micro_rp2040/sparkfun_pro_micro_rp2040-pinctrl.dtsi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@
4747
};
4848
};
4949

50-
clocks_default: clocks_default {
51-
};
52-
5350
ws2812_pio0_default: ws2812_pio_default {
5451
ws2812 {
5552
pinmux = <PIO0_P25>;

boards/sparkfun/pro_micro_rp2040/sparkfun_pro_micro_rp2040.dts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@
5858
};
5959
};
6060

61-
&clocks {
62-
pinctrl-0 = <&clocks_default>;
63-
pinctrl-names = "default";
64-
};
65-
6661
&uart0 {
6762
current-speed = <115200>;
6863
status = "okay";

0 commit comments

Comments
 (0)