sun5i-a10s-olinuxino-micro.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /*
  2. * Copyright 2013 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/ "sun5i-a10s.dtsi"
  15. / {
  16. model = "Olimex A10s-Olinuxino Micro";
  17. compatible = "olimex,a10s-olinuxino-micro", "allwinner,sun5i-a10s";
  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. pinctrl@01c20800 {
  32. led_pins_olinuxino: led_pins@0 {
  33. allwinner,pins = "PE3";
  34. allwinner,function = "gpio_out";
  35. allwinner,drive = <1>;
  36. allwinner,pull = <0>;
  37. };
  38. };
  39. uart0: serial@01c28000 {
  40. pinctrl-names = "default";
  41. pinctrl-0 = <&uart0_pins_a>;
  42. status = "okay";
  43. };
  44. uart2: serial@01c28800 {
  45. pinctrl-names = "default";
  46. pinctrl-0 = <&uart2_pins_a>;
  47. status = "okay";
  48. };
  49. uart3: serial@01c28c00 {
  50. pinctrl-names = "default";
  51. pinctrl-0 = <&uart3_pins_a>;
  52. status = "okay";
  53. };
  54. i2c0: i2c@01c2ac00 {
  55. pinctrl-names = "default";
  56. pinctrl-0 = <&i2c0_pins_a>;
  57. status = "okay";
  58. };
  59. i2c1: i2c@01c2b000 {
  60. pinctrl-names = "default";
  61. pinctrl-0 = <&i2c1_pins_a>;
  62. status = "okay";
  63. at24@50 {
  64. compatible = "at,24c16";
  65. pagesize = <16>;
  66. reg = <0x50>;
  67. read-only;
  68. };
  69. };
  70. i2c2: i2c@01c2b400 {
  71. pinctrl-names = "default";
  72. pinctrl-0 = <&i2c2_pins_a>;
  73. status = "okay";
  74. };
  75. };
  76. leds {
  77. compatible = "gpio-leds";
  78. pinctrl-names = "default";
  79. pinctrl-0 = <&led_pins_olinuxino>;
  80. green {
  81. label = "a10s-olinuxino-micro:green:usr";
  82. gpios = <&pio 4 3 0>;
  83. default-state = "on";
  84. };
  85. };
  86. };