@@ -57,6 +57,98 @@
};
soc {
+ gpioA: gpio@40020000 {
+ #gpio-cells = <1>;
+ gpio-controller;
+ compatible = "st,stm32-gpio";
+ reg = <0x40020000 0x400>;
+ clocks = <&rcc 0 0>;
+ };
+
+ gpioB: gpio@40020400 {
+ #gpio-cells = <1>;
+ gpio-controller;
+ compatible = "st,stm32-gpio";
+ reg = <0x40020400 0x400>;
+ clocks = <&rcc 0 1>;
+ };
+
+ gpioC: gpio@40020800 {
+ #gpio-cells = <1>;
+ gpio-controller;
+ compatible = "st,stm32-gpio";
+ reg = <0x40020800 0x400>;
+ clocks = <&rcc 0 2>;
+ };
+
+ gpioD: gpio@40020c00 {
+ #gpio-cells = <1>;
+ gpio-controller;
+ compatible = "st,stm32-gpio";
+ reg = <0x40020c00 0x400>;
+ clocks = <&rcc 0 3>;
+ };
+
+ gpioE: gpio@40021000 {
+ #gpio-cells = <1>;
+ gpio-controller;
+ compatible = "st,stm32-gpio";
+ reg = <0x40021000 0x400>;
+ clocks = <&rcc 0 4>;
+ };
+
+ gpioF: gpio@40021400 {
+ #gpio-cells = <1>;
+ gpio-controller;
+ compatible = "st,stm32-gpio";
+ reg = <0x40021400 0x400>;
+ clocks = <&rcc 0 5>;
+ };
+
+ gpioG: gpio@40021800 {
+ #gpio-cells = <1>;
+ gpio-controller;
+ compatible = "st,stm32-gpio";
+ reg = <0x40021800 0x400>;
+ clocks = <&rcc 0 6>;
+ };
+
+ gpioH: gpio@40021c00 {
+ #gpio-cells = <1>;
+ gpio-count = <2>;
+ gpio-controller;
+ compatible = "st,stm32-gpio";
+ reg = <0x40021c00 0x400>;
+ clocks = <&rcc 0 7>;
+ };
+
+ gpioI: gpio@40022000 {
+ #gpio-cells = <1>;
+ gpio-controller;
+ compatible = "st,stm32-gpio";
+ reg = <0x40022000 0x400>;
+ clocks = <&rcc 0 8>;
+ status = "disabled";
+ };
+
+ gpioJ: gpio@40022400 {
+ #gpio-cells = <1>;
+ gpio-controller;
+ compatible = "st,stm32-gpio";
+ reg = <0x40022400 0x400>;
+ clocks = <&rcc 0 9>;
+ status = "disabled";
+ };
+
+ gpioK: gpio@40022800 {
+ #gpio-cells = <1>;
+ gpio-controller;
+ compatible = "st,stm32-gpio";
+ reg = <0x40022800 0x400>;
+ clocks = <&rcc 0 10>;
+ status = "disabled";
+ };
+
timer2: timer@40000000 {
compatible = "st,stm32-timer";
reg = <0x40000000 0x400>;
From: Benjamin Tietz <benjamin@micronet24.de> This adds all GPIO-banks known by the STM32F4 MCU to the corresponding .dts-file. Those not available in the the TQFP-package are currently disabled. --- arch/arm/dts/stm32f429.dtsi | 92 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+)