mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-10 19:28:00 +01:00
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 <jagan@amarulasolutions.com>
This commit is contained in:
parent
702a3e579b
commit
f333973340
1 changed files with 3 additions and 1 deletions
|
|
@ -44,6 +44,8 @@
|
|||
|
||||
#include "sun50i-h5.dtsi"
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
/ {
|
||||
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";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue