sun6i-a31-app4-evb1.dts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*
  2. * Copyright 2014 Boris Brezillon
  3. *
  4. * Boris Brezillon <boris.brezillon@free-electrons.com>
  5. *
  6. * The code contained herein is licensed under the GNU General Public
  7. * License. You may obtain a copy of the GNU General Public License
  8. * Version 2 or later at the following locations:
  9. *
  10. * http://www.opensource.org/licenses/gpl-license.html
  11. * http://www.gnu.org/copyleft/gpl.html
  12. */
  13. /dts-v1/;
  14. /include/ "sun6i-a31.dtsi"
  15. /include/ "sunxi-common-regulators.dtsi"
  16. / {
  17. model = "Allwinner A31 APP4 EVB1 Evaluation Board";
  18. compatible = "allwinner,app4-evb1", "allwinner,sun6i-a31";
  19. chosen {
  20. bootargs = "earlyprintk console=ttyS0,115200";
  21. };
  22. soc@01c00000 {
  23. pio: pinctrl@01c20800 {
  24. usb1_vbus_pin_a: usb1_vbus_pin@0 {
  25. allwinner,pins = "PH27";
  26. allwinner,function = "gpio_out";
  27. allwinner,drive = <0>;
  28. allwinner,pull = <0>;
  29. };
  30. };
  31. usbphy: phy@01c19400 {
  32. usb1_vbus-supply = <&reg_usb1_vbus>;
  33. status = "okay";
  34. };
  35. ehci0: usb@01c1a000 {
  36. status = "okay";
  37. };
  38. uart0: serial@01c28000 {
  39. pinctrl-names = "default";
  40. pinctrl-0 = <&uart0_pins_a>;
  41. status = "okay";
  42. };
  43. };
  44. reg_usb1_vbus: usb1-vbus {
  45. pinctrl-0 = <&usb1_vbus_pin_a>;
  46. gpio = <&pio 7 27 0>;
  47. status = "okay";
  48. };
  49. };