diff options
author | Luis Araneda <luaraneda@gmail.com> | 2018-07-12 08:50:47 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2018-07-19 11:08:51 +0300 |
commit | edd62b9a98be2d60ff990874e488ba25a80280d0 (patch) | |
tree | b651ff665390798a04d7d117594224264d7e162e /arch/arm/boot/dts/zynq-zybo-z7.dts | |
parent | 7d90ca6f19199a54d3f8417c5f36c50dfa0accc8 (diff) | |
download | linux-edd62b9a98be2d60ff990874e488ba25a80280d0.tar.xz |
ARM: dts: zynq: Use gpio constants for the Zybo Z7 board
Include GPIO dt-bindings and use GPIO_ACTIVE_* constants
to improve readability
Signed-off-by: Luis Araneda <luaraneda@gmail.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/boot/dts/zynq-zybo-z7.dts')
-rw-r--r-- | arch/arm/boot/dts/zynq-zybo-z7.dts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/zynq-zybo-z7.dts b/arch/arm/boot/dts/zynq-zybo-z7.dts index ea67afbe8335..7f19b767e991 100644 --- a/arch/arm/boot/dts/zynq-zybo-z7.dts +++ b/arch/arm/boot/dts/zynq-zybo-z7.dts @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0+ /dts-v1/; #include "zynq-7000.dtsi" +#include <dt-bindings/gpio/gpio.h> / { model = "Digilent Zybo Z7 board"; @@ -24,7 +25,7 @@ usb_phy0: phy0 { #phy-cells = <0>; compatible = "usb-nop-xceiv"; - reset-gpios = <&gpio0 46 1>; + reset-gpios = <&gpio0 46 GPIO_ACTIVE_LOW>; }; }; |