[PATCH v2 17/34] ARM: dts: at91: sama7g5: add pinctrl node

Eugen Hristev eugen.hristev at microchip.com
Sat Dec 5 11:02:59 CET 2020


Add pioA pinctrl node.

Signed-off-by: Eugen Hristev <eugen.hristev at microchip.com>
---
 arch/arm/dts/sama7g5.dtsi          | 13 +++++++++++++
 arch/arm/dts/sama7g5ek-u-boot.dtsi |  8 ++++++++
 2 files changed, 21 insertions(+)

diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi
index f633c2f81e..d9208d68d5 100644
--- a/arch/arm/dts/sama7g5.dtsi
+++ b/arch/arm/dts/sama7g5.dtsi
@@ -62,6 +62,19 @@
 			#address-cells = <1>;
 			#size-cells = <1>;
 
+			pioA: pinctrl at e0014000 {
+				compatible = "atmel,sama5d2-gpio";
+				reg = <0xe0014000 0x800>;
+				gpio-controller;
+				#gpio-cells = <2>;
+				clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
+				status = "okay";
+
+				pinctrl: pinctrl_default {
+					compatible = "microchip,sama7g5-pinctrl";
+				};
+			};
+
 			pmc: pmc at e0018000 {
 				compatible = "microchip,sama7g5-pmc";
 				reg = <0xe0018000 0x200>;
diff --git a/arch/arm/dts/sama7g5ek-u-boot.dtsi b/arch/arm/dts/sama7g5ek-u-boot.dtsi
index 27e0f316f3..4af4d1bb5b 100644
--- a/arch/arm/dts/sama7g5ek-u-boot.dtsi
+++ b/arch/arm/dts/sama7g5ek-u-boot.dtsi
@@ -31,6 +31,14 @@
 	u-boot,dm-pre-reloc;
 };
 
+&pioA {
+	u-boot,dm-pre-reloc;
+
+	pinctrl {
+		u-boot,dm-pre-reloc;
+	};
+};
+
 &pit64b0 {
 	u-boot,dm-pre-reloc;
 };
-- 
2.25.1



More information about the U-Boot mailing list