EASY88388.dts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. /dts-v1/;
  2. #include <dt-bindings/gpio/gpio.h>
  3. #include "falcon.dtsi"
  4. #include "falcon-sflash-16M.dtsi"
  5. / {
  6. model = "EASY88388 - Lantiq Falcon FTTDP8 Reference Board";
  7. compatible = "lantiq,falcon-easy88388", "lantiq,falcon";
  8. aliases {
  9. spi0 = &ebu_cs0;
  10. };
  11. memory@0 {
  12. device_type = "memory";
  13. reg = <0x0 0x4000000>; // 64M at 0x0
  14. };
  15. gpio-keys {
  16. compatible = "gpio-keys";
  17. reset {
  18. label = "reset";
  19. gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
  20. linux,code = <0x198>;
  21. };
  22. };
  23. pinctrl {
  24. led_pins: led-pins {
  25. lantiq,pins = "io34", "io35", "io36", "io37", "io38",
  26. "io39", "io40", "io41";
  27. lantiq,function = "gpio";
  28. };
  29. };
  30. easy88388-leds {
  31. compatible = "gpio-leds";
  32. pinctrl-names = "default";
  33. pinctrl-0 = <&led_pins &bootled_pins>;
  34. GPON {
  35. label = "easy88388:green:gpon";
  36. gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
  37. default-state = "off";
  38. };
  39. TEST {
  40. label = "easy88388:green:test";
  41. gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
  42. default-state = "off";
  43. };
  44. STATUS {
  45. label = "easy88388:green:status";
  46. gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
  47. default-state = "off";
  48. };
  49. ERROR {
  50. label = "easy88388:red:error";
  51. gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
  52. default-state = "off";
  53. };
  54. DSL1 {
  55. label = "easy88388:dsl:1";
  56. gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
  57. default-state = "off";
  58. };
  59. DSL2 {
  60. label = "easy88388:dsl:2";
  61. gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
  62. default-state = "off";
  63. };
  64. DSL3 {
  65. label = "easy88388:dsl:3";
  66. gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
  67. default-state = "off";
  68. };
  69. DSL4 {
  70. label = "easy88388:dsl:4";
  71. gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
  72. default-state = "off";
  73. };
  74. DSL5 {
  75. label = "easy88388:dsl:5";
  76. gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
  77. default-state = "off";
  78. };
  79. DSL6 {
  80. label = "easy88388:dsl:6";
  81. gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
  82. default-state = "off";
  83. };
  84. DSL7 {
  85. label = "easy88388:dsl:7";
  86. gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
  87. default-state = "off";
  88. };
  89. DSL8 {
  90. label = "easy88388:dsl:8";
  91. gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
  92. default-state = "off";
  93. };
  94. };
  95. };