sun5i-a13-olinuxino.dts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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/ "sun5i-a13.dtsi"
  15. / {
  16. model = "Olimex A13-Olinuxino";
  17. compatible = "olimex,a13-olinuxino", "allwinner,sun5i-a13";
  18. chosen {
  19. bootargs = "earlyprintk console=ttyS0,115200";
  20. };
  21. soc@01c20000 {
  22. pinctrl@01c20800 {
  23. led_pins_olinuxino: led_pins@0 {
  24. allwinner,pins = "PG9";
  25. allwinner,function = "gpio_out";
  26. allwinner,drive = <1>;
  27. allwinner,pull = <0>;
  28. };
  29. };
  30. uart1: serial@01c28400 {
  31. pinctrl-names = "default";
  32. pinctrl-0 = <&uart1_pins_b>;
  33. status = "okay";
  34. };
  35. };
  36. leds {
  37. compatible = "gpio-leds";
  38. pinctrl-names = "default";
  39. pinctrl-0 = <&led_pins_olinuxino>;
  40. power {
  41. gpios = <&pio 6 9 0>;
  42. default-state = "on";
  43. };
  44. };
  45. };