sun4i-a10-ba10-tvbox.dts 2.0 KB

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