EASY98020.dts 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. /dts-v1/;
  2. #include <dt-bindings/gpio/gpio.h>
  3. #include "falcon.dtsi"
  4. #include "falcon-sflash-16M.dtsi"
  5. / {
  6. model = "EASY98020 - Lantiq Falcon Reference Board";
  7. compatible = "lantiq,falcon-easy98020", "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: phy-led-pins {
  25. lantiq,pins = "io42", "io41", "io38", "io37";
  26. lantiq,function = "gpio";
  27. };
  28. };
  29. easy98020-leds {
  30. compatible = "gpio-leds";
  31. pinctrl-names = "default";
  32. pinctrl-0 = <&bootled_pins>;
  33. GPON {
  34. label = "easy98020:green:gpon";
  35. gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
  36. default-state = "keep";
  37. };
  38. TEST {
  39. label = "easy98020:green:test";
  40. gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
  41. default-state = "keep";
  42. };
  43. ETH {
  44. label = "easy98020:green:status";
  45. gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
  46. default-state = "keep";
  47. };
  48. VOICE {
  49. label = "easy98020:green:voice";
  50. gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
  51. default-state = "keep";
  52. };
  53. VIDEO {
  54. label = "easy98020:green:video";
  55. gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
  56. default-state = "keep";
  57. };
  58. };
  59. easy98020-phy-leds {
  60. compatible = "gpio-leds";
  61. pinctrl-names = "default";
  62. pinctrl-0 = <&led_pins>;
  63. GE0_ACT {
  64. label = "easy98020:ge0_act";
  65. gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
  66. default-state = "off";
  67. };
  68. GE0_LINK {
  69. label = "easy98020:ge0_link";
  70. gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
  71. default-state = "off";
  72. };
  73. GE1_ACT {
  74. label = "easy98020:ge1_act";
  75. gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
  76. default-state = "off";
  77. };
  78. GE1_LINK {
  79. label = "easy98020:ge1_link";
  80. gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
  81. default-state = "off";
  82. };
  83. };
  84. };