]> git.ipfire.org Git - people/arne_f/kernel.git/blobdiff - arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
sunxi: dts: fix usb on Lamobo R1 and BananaPi M1
[people/arne_f/kernel.git] / arch / arm / boot / dts / sun7i-a20-lamobo-r1.dts
index f4e7ac0886977f2e8367f8ad9e5bfa4d7d17b9b2..7a7f99fe2daebd43837f1f22e66f80ea04ed6e77 100644 (file)
 };
 
 &otg_sram {
-       status = "okay";
+       status = "disabled";
 };
 
 #include "axp209.dtsi"
        regulator-name = "avcc";
 };
 
+/*
 &reg_usb0_vbus {
        status = "okay";
 };
+*/
 
 &reg_usb2_vbus {
+       /* Not really the power but connected to the WAKE pin
+          of the wlan module */
        gpio = <&pio 7 12 GPIO_ACTIVE_HIGH>; /* PH12 */
        status = "okay";
 };
 
 &usb_otg {
        dr_mode = "otg";
-       status = "okay";
+       status = "disabled";
 };
 
+/*
 &usb_power_supply {
        status = "okay";
 };
+*/
 
 &usbphy {
-       usb0_id_det-gpios = <&pio 7 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PH4 */
-       usb0_vbus_power-supply = <&usb_power_supply>;
-       usb0_vbus-supply = <&reg_usb0_vbus>;
+       //usb0_id_det-gpios = <&pio 7 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PH4 */
+       //usb0_vbus_power-supply = <&usb_power_supply>;
+       //usb0_vbus-supply = <&reg_usb0_vbus>;
+       /* USB host port (usb1) is connected to vcc (+5v) */
+       /* USB2 is connected to the wlan board */
        usb2_vbus-supply = <&reg_usb2_vbus>;
        status = "okay";
 };