]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ARM64: zynqmp: Update device tree for gpio
authorChirag Parekh <chirag.parekh@xilinx.com>
Wed, 25 Jan 2017 15:00:57 +0000 (07:00 -0800)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 9 Feb 2017 14:01:59 +0000 (15:01 +0100)
Used defines rather than raw values for gpio configurations.

Signed-off-by: Chirag Parekh <chirag.parekh@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-zcu102.dts

index 089fd202b1718e9fc590f40f6aaf21a3a052c630..2e654d0ae88e1dd968d6ac55917fd8acf204cdc3 100644 (file)
@@ -62,7 +62,7 @@
                compatible = "gpio-leds";
                heartbeat_led {
                        label = "heartbeat";
-                       gpios = <&gpio 23 0>;
+                       gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "heartbeat";
                };
        };