diff mbox series

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

Message ID 20201205100316.179531-18-eugen.hristev@microchip.com
State Accepted
Commit 47a13af5863504cd97998e3778e35038fb5bd982
Delegated to: Eugen Hristev
Headers show
Series Sama7g5 Evaluation Kit support | expand

Commit Message

Eugen Hristev Dec. 5, 2020, 10:02 a.m. UTC
Add pioA pinctrl node.

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

Patch

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@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@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;
 };