EASY98020.dts 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /dts-v1/;
  2. #include <dt-bindings/gpio/gpio.h>
  3. #include "falcon.dtsi"
  4. #include "falcon-sflash-16M.dtsi"
  5. / {
  6. model = "Lantiq Falcon Reference Board";
  7. compatible = "lantiq,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. };
  67. GE0_LINK {
  68. label = "easy98020:ge0_link";
  69. gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
  70. };
  71. GE1_ACT {
  72. label = "easy98020:ge1_act";
  73. gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
  74. };
  75. GE1_LINK {
  76. label = "easy98020:ge1_link";
  77. gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
  78. };
  79. };
  80. };