[PATCH] arm64: zynqmp: Enable gpio driver for zcu1275/zcu1285

Michal Simek michal.simek at xilinx.com
Wed May 19 11:56:04 CEST 2021


Enable gpio driver on these boards. GPIOs can be used on any board.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 arch/arm/dts/zynqmp-zcu1275-revA.dts | 4 ++++
 arch/arm/dts/zynqmp-zcu1275-revB.dts | 4 ++++
 arch/arm/dts/zynqmp-zcu1285-revA.dts | 4 ++++
 3 files changed, 12 insertions(+)

diff --git a/arch/arm/dts/zynqmp-zcu1275-revA.dts b/arch/arm/dts/zynqmp-zcu1275-revA.dts
index cdd5c341878f..b9a9d9802d93 100644
--- a/arch/arm/dts/zynqmp-zcu1275-revA.dts
+++ b/arch/arm/dts/zynqmp-zcu1275-revA.dts
@@ -39,6 +39,10 @@
 	status = "okay";
 };
 
+&gpio {
+	status = "okay";
+};
+
 &qspi {
 	status = "okay";
 	flash at 0 {
diff --git a/arch/arm/dts/zynqmp-zcu1275-revB.dts b/arch/arm/dts/zynqmp-zcu1275-revB.dts
index 1de890c30f64..f14707419b40 100644
--- a/arch/arm/dts/zynqmp-zcu1275-revB.dts
+++ b/arch/arm/dts/zynqmp-zcu1275-revB.dts
@@ -64,6 +64,10 @@
 	};
 };
 
+&gpio {
+	status = "okay";
+};
+
 &qspi {
 	status = "okay";
 	flash at 0 {
diff --git a/arch/arm/dts/zynqmp-zcu1285-revA.dts b/arch/arm/dts/zynqmp-zcu1285-revA.dts
index 21d62e993a33..42a73ea31aec 100644
--- a/arch/arm/dts/zynqmp-zcu1285-revA.dts
+++ b/arch/arm/dts/zynqmp-zcu1285-revA.dts
@@ -245,6 +245,10 @@
 	};
 };
 
+&gpio {
+	status = "okay";
+};
+
 &qspi {
 	status = "okay";
 	flash at 0 {
-- 
2.31.1



More information about the U-Boot mailing list