summaryrefslogtreecommitdiff
path: root/arch/arm/dts/sun4i-a10-chuwi-v7-cw0825.dts
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-08-05 15:39:14 (GMT)
committerHans de Goede <hdegoede@redhat.com>2015-08-14 06:37:36 (GMT)
commitda52a4a367d8d15003fd4357a0d08c94124a0d78 (patch)
treed7bdf0634e12b909351a621b83f4d363fb7d2988 /arch/arm/dts/sun4i-a10-chuwi-v7-cw0825.dts
parentd8d079966f5d5cf00c33986aa505ab90bcb259b2 (diff)
downloadu-boot-da52a4a367d8d15003fd4357a0d08c94124a0d78.tar.xz
sunxi: dts: Sync with kernel
Sync the sunxi dts files with the changes queued up for kernel-4.3 in mripard's sunxi/dt-for-4.3 branch. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch/arm/dts/sun4i-a10-chuwi-v7-cw0825.dts')
-rw-r--r--arch/arm/dts/sun4i-a10-chuwi-v7-cw0825.dts34
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/arm/dts/sun4i-a10-chuwi-v7-cw0825.dts b/arch/arm/dts/sun4i-a10-chuwi-v7-cw0825.dts
index 5878a0b..1430568 100644
--- a/arch/arm/dts/sun4i-a10-chuwi-v7-cw0825.dts
+++ b/arch/arm/dts/sun4i-a10-chuwi-v7-cw0825.dts
@@ -114,6 +114,30 @@
status = "okay";
};
+&otg_sram {
+ status = "okay";
+};
+
+&pio {
+ usb0_id_detect_pin: usb0_id_detect_pin@0 {
+ allwinner,pins = "PH4";
+ allwinner,function = "gpio_in";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+ };
+
+ usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
+ allwinner,pins = "PH5";
+ allwinner,function = "gpio_in";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>;
+ };
+};
+
+&reg_usb0_vbus {
+ status = "okay";
+};
+
&reg_usb2_vbus {
status = "okay";
};
@@ -124,7 +148,17 @@
status = "okay";
};
+&usb_otg {
+ dr_mode = "otg";
+ status = "okay";
+};
+
&usbphy {
+ pinctrl-names = "default";
+ pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
+ usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
+ usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
+ usb0_vbus-supply = <&reg_usb0_vbus>;
usb2_vbus-supply = <&reg_usb2_vbus>;
status = "okay";
};