From: Jagan Teki Date: Thu, 25 May 2017 18:26:41 +0000 (+0000) Subject: arm64: dts: sun50i: h5: orangepi-pc2: Use GPIO flag binding macro X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=f333973340a4b84461074a1c38ede3ebbc3de297;p=u-boot.git arm64: dts: sun50i: h5: orangepi-pc2: Use GPIO flag binding macro Instead of defining numerical value on GPIO flag better to use existing binding macro. Signed-off-by: Jagan Teki --- diff --git a/arch/arm/dts/sun50i-h5-orangepi-pc2.dts b/arch/arm/dts/sun50i-h5-orangepi-pc2.dts index 81594e622e..780d59a096 100644 --- a/arch/arm/dts/sun50i-h5-orangepi-pc2.dts +++ b/arch/arm/dts/sun50i-h5-orangepi-pc2.dts @@ -44,6 +44,8 @@ #include "sun50i-h5.dtsi" +#include + / { model = "OrangePi PC 2"; compatible = "xunlong,orangepi-pc-2", "allwinner,sun50i-h5"; @@ -79,7 +81,7 @@ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 5 6 0>; + cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; cd-inverted; status = "okay"; };