sun5i-a10s-olinuxino-micro.dts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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@01c20000 {
  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. };
  55. leds {
  56. compatible = "gpio-leds";
  57. pinctrl-names = "default";
  58. pinctrl-0 = <&led_pins_olinuxino>;
  59. green {
  60. label = "a10s-olinuxino-micro:green:usr";
  61. gpios = <&pio 4 3 0>;
  62. default-state = "on";
  63. };
  64. };
  65. };