
Hi Patrice,
-----Original Message----- From: Patrice CHOTARD Sent: Friday, August 04, 2017 6:19 AM To: u-boot@lists.denx.de; albert.u.boot@aribaud.net; sjg@chromium.org; Vikas MANOCHA vikas.manocha@st.com Cc: Patrice CHOTARD patrice.chotard@st.com; Patrick DELAUNAY patrick.delaunay@st.com; Christophe KERELLO christophe.kerello@st.com Subject: [PATCH 09/15] ARM: DTS: stm32: add gpio compatible and aliases for stm32h743
From: Patrice Chotard patrice.chotard@st.com
This is needed to bind stm32-gpio driver
Same, it should be fixed in previous patch " DTS: stm32: add stm32h743i-disco files"
Cheers, Vikas
Signed-off-by: Patrice Chotard patrice.chotard@st.com
arch/arm/dts/stm32h743-pinctrl.dtsi | 11 +++++++++++ arch/arm/dts/stm32h743i-disco.dts | 11 +++++++++++ 2 files changed, 22 insertions(+)
diff --git a/arch/arm/dts/stm32h743-pinctrl.dtsi b/arch/arm/dts/stm32h743-pinctrl.dtsi index d438818..f32d086 100644 --- a/arch/arm/dts/stm32h743-pinctrl.dtsi +++ b/arch/arm/dts/stm32h743-pinctrl.dtsi @@ -54,6 +54,7 @@ gpioa: gpio@58020000 { gpio-controller; #gpio-cells = <2>;
compatible = "st,stm32-gpio"; reg = <0x0 0x400>; clocks = <&rcc GPIOA_CK>; st,bank-name = "GPIOA";
@@ -62,6 +63,7 @@ gpiob: gpio@58020400 { gpio-controller; #gpio-cells = <2>;
compatible = "st,stm32-gpio"; reg = <0x400 0x400>; clocks = <&rcc GPIOB_CK>; st,bank-name = "GPIOB";
@@ -70,6 +72,7 @@ gpioc: gpio@58020800 { gpio-controller; #gpio-cells = <2>;
compatible = "st,stm32-gpio"; reg = <0x800 0x400>; clocks = <&rcc GPIOC_CK>; st,bank-name = "GPIOC";
@@ -78,6 +81,7 @@ gpiod: gpio@58020c00 { gpio-controller; #gpio-cells = <2>;
compatible = "st,stm32-gpio"; reg = <0xc00 0x400>; clocks = <&rcc GPIOD_CK>; st,bank-name = "GPIOD";
@@ -86,6 +90,7 @@ gpioe: gpio@58021000 { gpio-controller; #gpio-cells = <2>;
compatible = "st,stm32-gpio"; reg = <0x1000 0x400>; clocks = <&rcc GPIOE_CK>; st,bank-name = "GPIOE";
@@ -94,6 +99,7 @@ gpiof: gpio@58021400 { gpio-controller; #gpio-cells = <2>;
compatible = "st,stm32-gpio"; reg = <0x1400 0x400>; clocks = <&rcc GPIOF_CK>; st,bank-name = "GPIOF";
@@ -102,6 +108,7 @@ gpiog: gpio@58021800 { gpio-controller; #gpio-cells = <2>;
compatible = "st,stm32-gpio"; reg = <0x1800 0x400>; clocks = <&rcc GPIOG_CK>; st,bank-name = "GPIOG";
@@ -110,6 +117,7 @@ gpioh: gpio@58021c00 { gpio-controller; #gpio-cells = <2>;
compatible = "st,stm32-gpio"; reg = <0x1c00 0x400>; clocks = <&rcc GPIOH_CK>; st,bank-name = "GPIOH";
@@ -118,6 +126,7 @@ gpioi: gpio@58022000 { gpio-controller; #gpio-cells = <2>;
compatible = "st,stm32-gpio"; reg = <0x2000 0x400>; clocks = <&rcc GPIOI_CK>; st,bank-name = "GPIOI";
@@ -126,6 +135,7 @@ gpioj: gpio@58022400 { gpio-controller; #gpio-cells = <2>;
compatible = "st,stm32-gpio"; reg = <0x2400 0x400>; clocks = <&rcc GPIOJ_CK>; st,bank-name = "GPIOJ";
@@ -134,6 +144,7 @@ gpiok: gpio@58022800 { gpio-controller; #gpio-cells = <2>;
compatible = "st,stm32-gpio"; reg = <0x2800 0x400>; clocks = <&rcc GPIOK_CK>; st,bank-name = "GPIOK";
diff --git a/arch/arm/dts/stm32h743i-disco.dts b/arch/arm/dts/stm32h743i-disco.dts index 79e841d..cc707d3 100644 --- a/arch/arm/dts/stm32h743i-disco.dts +++ b/arch/arm/dts/stm32h743i-disco.dts @@ -59,6 +59,17 @@
aliases { serial0 = &usart2;
gpio0 = &gpioa;
gpio1 = &gpiob;
gpio2 = &gpioc;
gpio3 = &gpiod;
gpio4 = &gpioe;
gpio5 = &gpiof;
gpio6 = &gpiog;
gpio7 = &gpioh;
gpio8 = &gpioi;
gpio9 = &gpioj;
};gpio10 = &gpiok;
};
-- 1.9.1