sun4i-a10-pcduino.dts 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /*
  2. * Copyright 2014 Zoltan HERPAI
  3. * Zoltan HERPAI <wigyori@uid0.hu>
  4. *
  5. * The code contained herein is licensed under the GNU General Public
  6. * License. You may obtain a copy of the GNU General Public License
  7. * Version 2 or later at the following locations:
  8. *
  9. * http://www.opensource.org/licenses/gpl-license.html
  10. * http://www.gnu.org/copyleft/gpl.html
  11. */
  12. /dts-v1/;
  13. /include/ "sun4i-a10.dtsi"
  14. /include/ "sunxi-common-regulators.dtsi"
  15. / {
  16. model = "LinkSprite pcDuino";
  17. compatible = "linksprite,a10-pcduino", "allwinner,sun4i-a10";
  18. soc@01c00000 {
  19. emac: ethernet@01c0b000 {
  20. pinctrl-names = "default";
  21. pinctrl-0 = <&emac_pins_a>;
  22. phy = <&phy1>;
  23. status = "okay";
  24. };
  25. mdio@01c0b080 {
  26. status = "okay";
  27. phy1: ethernet-phy@1 {
  28. reg = <1>;
  29. };
  30. };
  31. mmc0: mmc@01c0f000 {
  32. pinctrl-names = "default";
  33. pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
  34. vmmc-supply = <&reg_vcc3v3>;
  35. bus-width = <4>;
  36. cd-gpios = <&pio 7 1 0>; /* PH1 */
  37. cd-inverted;
  38. status = "okay";
  39. };
  40. usbphy: phy@01c13400 {
  41. usb1_vbus-supply = <&reg_usb1_vbus>;
  42. usb2_vbus-supply = <&reg_usb2_vbus>;
  43. status = "okay";
  44. };
  45. ehci0: usb@01c14000 {
  46. status = "okay";
  47. };
  48. ohci0: usb@01c14400 {
  49. status = "okay";
  50. };
  51. ehci1: usb@01c1c000 {
  52. status = "okay";
  53. };
  54. ohci1: usb@01c1c400 {
  55. status = "okay";
  56. };
  57. uart0: serial@01c28000 {
  58. pinctrl-names = "default";
  59. pinctrl-0 = <&uart0_pins_a>;
  60. status = "okay";
  61. };
  62. i2c0: i2c@01c2ac00 {
  63. pinctrl-names = "default";
  64. pinctrl-0 = <&i2c0_pins_a>;
  65. status = "okay";
  66. axp209: pmic@34 {
  67. compatible = "x-powers,axp209";
  68. reg = <0x34>;
  69. interrupts = <0>;
  70. interrupt-controller;
  71. #interrupt-cells = <1>;
  72. };
  73. };
  74. };
  75. reg_usb1_vbus: usb1-vbus {
  76. status = "okay";
  77. };
  78. reg_usb2_vbus: usb2-vbus {
  79. status = "okay";
  80. };
  81. };