Commit a52c468a authored by Alexandre Torgue's avatar Alexandre Torgue

ARM: dts: stm32: update pinctrl node name on STM32 MCU to prevent warnings

Update node name to avoid a DT schema validation issue seen with
"make dtbs_check W=1". It also cleans picntrl dtsi files for f429/f469 MCU.
Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
parent 2388f14d
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
/ { / {
soc { soc {
pinctrl: pin-controller { pinctrl: pin-controller@40020000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ranges = <0 0x40020000 0x3000>; ranges = <0 0x40020000 0x3000>;
......
...@@ -42,54 +42,50 @@ ...@@ -42,54 +42,50 @@
#include "stm32f4-pinctrl.dtsi" #include "stm32f4-pinctrl.dtsi"
/ { &pinctrl {
soc { compatible = "st,stm32f429-pinctrl";
pinctrl: pin-controller {
compatible = "st,stm32f429-pinctrl";
gpioa: gpio@40020000 { gpioa: gpio@40020000 {
gpio-ranges = <&pinctrl 0 0 16>; gpio-ranges = <&pinctrl 0 0 16>;
}; };
gpiob: gpio@40020400 { gpiob: gpio@40020400 {
gpio-ranges = <&pinctrl 0 16 16>; gpio-ranges = <&pinctrl 0 16 16>;
}; };
gpioc: gpio@40020800 { gpioc: gpio@40020800 {
gpio-ranges = <&pinctrl 0 32 16>; gpio-ranges = <&pinctrl 0 32 16>;
}; };
gpiod: gpio@40020c00 { gpiod: gpio@40020c00 {
gpio-ranges = <&pinctrl 0 48 16>; gpio-ranges = <&pinctrl 0 48 16>;
}; };
gpioe: gpio@40021000 { gpioe: gpio@40021000 {
gpio-ranges = <&pinctrl 0 64 16>; gpio-ranges = <&pinctrl 0 64 16>;
}; };
gpiof: gpio@40021400 { gpiof: gpio@40021400 {
gpio-ranges = <&pinctrl 0 80 16>; gpio-ranges = <&pinctrl 0 80 16>;
}; };
gpiog: gpio@40021800 { gpiog: gpio@40021800 {
gpio-ranges = <&pinctrl 0 96 16>; gpio-ranges = <&pinctrl 0 96 16>;
}; };
gpioh: gpio@40021c00 { gpioh: gpio@40021c00 {
gpio-ranges = <&pinctrl 0 112 16>; gpio-ranges = <&pinctrl 0 112 16>;
}; };
gpioi: gpio@40022000 { gpioi: gpio@40022000 {
gpio-ranges = <&pinctrl 0 128 16>; gpio-ranges = <&pinctrl 0 128 16>;
}; };
gpioj: gpio@40022400 { gpioj: gpio@40022400 {
gpio-ranges = <&pinctrl 0 144 16>; gpio-ranges = <&pinctrl 0 144 16>;
}; };
gpiok: gpio@40022800 { gpiok: gpio@40022800 {
gpio-ranges = <&pinctrl 0 160 8>; gpio-ranges = <&pinctrl 0 160 8>;
};
};
}; };
}; };
...@@ -42,55 +42,51 @@ ...@@ -42,55 +42,51 @@
#include "stm32f4-pinctrl.dtsi" #include "stm32f4-pinctrl.dtsi"
/ { &pinctrl {
soc { compatible = "st,stm32f469-pinctrl";
pinctrl: pin-controller {
compatible = "st,stm32f469-pinctrl";
gpioa: gpio@40020000 { gpioa: gpio@40020000 {
gpio-ranges = <&pinctrl 0 0 16>; gpio-ranges = <&pinctrl 0 0 16>;
}; };
gpiob: gpio@40020400 { gpiob: gpio@40020400 {
gpio-ranges = <&pinctrl 0 16 16>; gpio-ranges = <&pinctrl 0 16 16>;
}; };
gpioc: gpio@40020800 { gpioc: gpio@40020800 {
gpio-ranges = <&pinctrl 0 32 16>; gpio-ranges = <&pinctrl 0 32 16>;
}; };
gpiod: gpio@40020c00 { gpiod: gpio@40020c00 {
gpio-ranges = <&pinctrl 0 48 16>; gpio-ranges = <&pinctrl 0 48 16>;
}; };
gpioe: gpio@40021000 { gpioe: gpio@40021000 {
gpio-ranges = <&pinctrl 0 64 16>; gpio-ranges = <&pinctrl 0 64 16>;
}; };
gpiof: gpio@40021400 { gpiof: gpio@40021400 {
gpio-ranges = <&pinctrl 0 80 16>; gpio-ranges = <&pinctrl 0 80 16>;
}; };
gpiog: gpio@40021800 { gpiog: gpio@40021800 {
gpio-ranges = <&pinctrl 0 96 16>; gpio-ranges = <&pinctrl 0 96 16>;
}; };
gpioh: gpio@40021c00 { gpioh: gpio@40021c00 {
gpio-ranges = <&pinctrl 0 112 16>; gpio-ranges = <&pinctrl 0 112 16>;
}; };
gpioi: gpio@40022000 { gpioi: gpio@40022000 {
gpio-ranges = <&pinctrl 0 128 16>; gpio-ranges = <&pinctrl 0 128 16>;
}; };
gpioj: gpio@40022400 { gpioj: gpio@40022400 {
gpio-ranges = <&pinctrl 0 144 6>, gpio-ranges = <&pinctrl 0 144 6>,
<&pinctrl 12 156 4>; <&pinctrl 12 156 4>;
}; };
gpiok: gpio@40022800 { gpiok: gpio@40022800 {
gpio-ranges = <&pinctrl 3 163 5>; gpio-ranges = <&pinctrl 3 163 5>;
};
};
}; };
}; };
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
/ { / {
soc { soc {
pinctrl: pin-controller { pinctrl: pin-controller@40020000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
ranges = <0 0x40020000 0x3000>; ranges = <0 0x40020000 0x3000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment