sun4i-a10-mini-xplus.dts 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /*
  2. * Copyright 2012 Maxime Ripard
  3. *
  4. * Maxime Ripard <maxime.ripard@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/ "sun4i-a10.dtsi"
  15. /include/ "sunxi-common-regulators.dtsi"
  16. / {
  17. model = "PineRiver Mini X-Plus";
  18. compatible = "pineriver,mini-xplus", "allwinner,sun4i-a10";
  19. soc@01c00000 {
  20. mmc0: mmc@01c0f000 {
  21. pinctrl-names = "default";
  22. pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
  23. vmmc-supply = <&reg_vcc3v3>;
  24. bus-width = <4>;
  25. cd-gpios = <&pio 7 1 0>; /* PH1 */
  26. cd-inverted;
  27. status = "okay";
  28. };
  29. usbphy: phy@01c13400 {
  30. usb1_vbus-supply = <&reg_usb1_vbus>;
  31. usb2_vbus-supply = <&reg_usb2_vbus>;
  32. status = "okay";
  33. };
  34. ehci0: usb@01c14000 {
  35. status = "okay";
  36. };
  37. ohci0: usb@01c14400 {
  38. status = "okay";
  39. };
  40. ehci1: usb@01c1c000 {
  41. status = "okay";
  42. };
  43. ohci1: usb@01c1c400 {
  44. status = "okay";
  45. };
  46. pinctrl@01c20800 {
  47. ir0_pins_a: ir0@0 {
  48. /* The ir receiver is not always populated */
  49. allwinner,pull = <1>;
  50. };
  51. };
  52. ir0: ir@01c21800 {
  53. pinctrl-names = "default";
  54. pinctrl-0 = <&ir0_pins_a>;
  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. };