From e1cccb1030a475467992c42b5018e38fa829b327 Mon Sep 17 00:00:00 2001 From: Andranik Date: Tue, 17 Nov 2015 17:04:12 +0300 Subject: [PATCH] Change device tree like sunxi's .fex file --- arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts index 8da939ab835001..24ab3f15571e74 100644 --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts @@ -237,12 +237,12 @@ allwinner,pins = "PH19"; allwinner,function = "gpio_in"; allwinner,drive = ; - allwinner,pull = ; + allwinner,pull = ; }; usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { allwinner,pins = "PH22"; - allwinner,function = "gpio_in"; + allwinner,function = "gpio_out"; allwinner,drive = ; allwinner,pull = ; }; @@ -290,6 +290,7 @@ ®_usb0_vbus { pinctrl-0 = <&usb0_vbus_pin_a>; gpio = <&pio 7 17 GPIO_ACTIVE_HIGH>; + regulator-boot-on; status = "okay"; };