[U-Boot] [PATCH 18/40] arm64: zynqmp: Update device tree for gpio

Michal Simek michal.simek at xilinx.com
Mon Nov 6 12:12:50 UTC 2017


From: Chirag Parekh <chirag.parekh at xilinx.com>

Used defines rather than raw values for gpio configurations.

Signed-off-by: Chirag Parekh <chirag.parekh at xilinx.com>
Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 arch/arm/dts/zynqmp-zcu102-revA.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/dts/zynqmp-zcu102-revA.dts b/arch/arm/dts/zynqmp-zcu102-revA.dts
index 581ecd76e891..fd7d6466711b 100644
--- a/arch/arm/dts/zynqmp-zcu102-revA.dts
+++ b/arch/arm/dts/zynqmp-zcu102-revA.dts
@@ -60,7 +60,7 @@
 		compatible = "gpio-leds";
 		heartbeat_led {
 			label = "heartbeat";
-			gpios = <&gpio 23 0>;
+			gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "heartbeat";
 		};
 	};
-- 
1.9.1



More information about the U-Boot mailing list