Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Luis Araneda and committed by
Michal Simek
edd62b9a 7d90ca6f

+2 -1
+2 -1
arch/arm/boot/dts/zynq-zybo-z7.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0+ 2 2 /dts-v1/; 3 3 #include "zynq-7000.dtsi" 4 + #include <dt-bindings/gpio/gpio.h> 4 5 5 6 / { 6 7 model = "Digilent Zybo Z7 board"; ··· 25 24 usb_phy0: phy0 { 26 25 #phy-cells = <0>; 27 26 compatible = "usb-nop-xceiv"; 28 - reset-gpios = <&gpio0 46 1>; 27 + reset-gpios = <&gpio0 46 GPIO_ACTIVE_LOW>; 29 28 }; 30 29 }; 31 30