projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: sunxi: DT: convert DTs to use common GPIOs includes
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm
/
boot
/
dts
/
sun8i-a23-ippo-q8h-v5.dts
diff --git
a/arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts
b/arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts
index adc3a54b6612ebeca3d9aebd2d838a36c8de60bb..72ece67258f4a776404dc149c4867e07ab30380a 100644
(file)
--- a/
arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts
+++ b/
arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts
@@
-51,6
+51,8
@@
#include "sun8i-a23.dtsi"
#include "sunxi-common-regulators.dtsi"
#include "sun8i-a23.dtsi"
#include "sunxi-common-regulators.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+
/ {
model = "Ippo Q8H Dual Core Tablet (v5)";
compatible = "ippo,q8h-v5", "allwinner,sun8i-a23";
/ {
model = "Ippo Q8H Dual Core Tablet (v5)";
compatible = "ippo,q8h-v5", "allwinner,sun8i-a23";
@@
-69,7
+71,7
@@
pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_q8h>;
vmmc-supply = <®_vcc3v0>;
bus-width = <4>;
pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_q8h>;
vmmc-supply = <®_vcc3v0>;
bus-width = <4>;
- cd-gpios = <&pio 1 4
0
>; /* PB4 */
+ cd-gpios = <&pio 1 4
GPIO_ACTIVE_HIGH
>; /* PB4 */
cd-inverted;
status = "okay";
};
cd-inverted;
status = "okay";
};