stih41x-b2020.dtsi 836 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * Copyright (C) 2013 STMicroelectronics (R&D) Limited.
  3. * Author: Srinivas Kandagatla <srinivas.kandagatla@st.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * publishhed by the Free Software Foundation.
  8. */
  9. / {
  10. memory{
  11. device_type = "memory";
  12. reg = <0x40000000 0x80000000>;
  13. };
  14. chosen {
  15. bootargs = "console=ttyAS0,115200";
  16. linux,stdout-path = &sbc_serial1;
  17. };
  18. aliases {
  19. ttyAS0 = &sbc_serial1;
  20. };
  21. soc {
  22. sbc_serial1: serial@fe531000 {
  23. status = "okay";
  24. };
  25. leds {
  26. compatible = "gpio-leds";
  27. red {
  28. #gpio-cells = <1>;
  29. label = "Front Panel LED";
  30. gpios = <&PIO4 1>;
  31. linux,default-trigger = "heartbeat";
  32. };
  33. green {
  34. gpios = <&PIO4 7>;
  35. default-state = "off";
  36. };
  37. };
  38. };
  39. };