116-dt-sun7i-add-usb-to-cubietruck.patch 923 B

1234567891011121314151617181920212223
  1. --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
  2. +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
  3. @@ -26,6 +26,20 @@
  4. allwinner,drive = <0>;
  5. allwinner,pull = <0>;
  6. };
  7. +
  8. + usb1_vbus_pin: usb1_vbus_pin@0 {
  9. + allwinner,pins = "PH6";
  10. + allwinner,function = "gpio_out";
  11. + allwinner,drive = <0>;
  12. + allwinner,pull = <2>;
  13. + };
  14. +
  15. + usb2_vbus_pin: usb2_vbus_pin@0 {
  16. + allwinner,pins = "PH3";
  17. + allwinner,function = "gpio_out";
  18. + allwinner,drive = <0>;
  19. + allwinner,pull = <2>;
  20. + };
  21. };
  22. uart0: serial@01c28000 {