sun4i-a10-inet97fv2.dts 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /*
  2. * Copyright 2014 Open Source Support GmbH
  3. *
  4. * David Lanzendörfer <david.lanzendoerfer@o2s.ch>
  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/ "sun4i-a10.dtsi"
  15. /include/ "sunxi-common-regulators.dtsi"
  16. / {
  17. model = "INet-97F Rev 02";
  18. compatible = "primux,inet97fv2", "allwinner,sun4i-a10";
  19. aliases {
  20. serial0 = &uart0;
  21. };
  22. soc@01c00000 {
  23. mmc0: mmc@01c0f000 {
  24. pinctrl-names = "default";
  25. pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
  26. vmmc-supply = <&reg_vcc3v3>;
  27. bus-width = <4>;
  28. cd-gpios = <&pio 7 1 0>; /* PH1 */
  29. cd-inverted;
  30. status = "okay";
  31. };
  32. uart0: serial@01c28000 {
  33. pinctrl-names = "default";
  34. pinctrl-0 = <&uart0_pins_a>;
  35. status = "okay";
  36. };
  37. usbphy: phy@01c13400 {
  38. usb1_vbus-supply = <&reg_usb1_vbus>;
  39. usb2_vbus-supply = <&reg_usb2_vbus>;
  40. status = "okay";
  41. };
  42. ehci0: usb@01c14000 {
  43. status = "okay";
  44. };
  45. ohci0: usb@01c14400 {
  46. status = "okay";
  47. };
  48. ehci1: usb@01c1c000 {
  49. status = "okay";
  50. };
  51. ohci1: usb@01c1c400 {
  52. status = "okay";
  53. };
  54. i2c0: i2c@01c2ac00 {
  55. pinctrl-names = "default";
  56. pinctrl-0 = <&i2c0_pins_a>;
  57. status = "okay";
  58. axp209: pmic@34 {
  59. compatible = "x-powers,axp209";
  60. reg = <0x34>;
  61. interrupts = <0>;
  62. interrupt-controller;
  63. #interrupt-cells = <1>;
  64. };
  65. };
  66. };
  67. reg_usb1_vbus: usb1-vbus {
  68. status = "okay";
  69. };
  70. reg_usb2_vbus: usb2-vbus {
  71. status = "okay";
  72. };
  73. };