ARM: sunxi: DT: Convert the DTs to use a header for the pinctrl nodes
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / sun5i-a13-hsg-h702.dts
index bccc1bcaa8688235b0e01787abd78ef7ef8cc73f..99a5968720b4e5489925953a5f3921415244fee3 100644 (file)
@@ -50,6 +50,7 @@
 #include "sunxi-common-regulators.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/pinctrl/sun4i-a10.h>
 
 / {
        model = "HSG H702";
@@ -87,8 +88,8 @@
                        mmc0_cd_pin_h702: mmc0_cd_pin@0 {
                                allwinner,pins = "PG0";
                                allwinner,function = "gpio_in";
-                               allwinner,drive = <0>;
-                               allwinner,pull = <1>;
+                               allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+                               allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
                        };
                };