]> git.sur5r.net Git - u-boot/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>
Tue, 28 Nov 2017 15:09:09 +0000 (16:09 +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-revA.dts

index 581ecd76e89170de3816b482f94b35fedf55b408..fd7d6466711bfea8b6aeba1bdd76ea1f54316d18 100644 (file)
@@ -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";
                };
        };