EASY98021.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /dts-v1/;
  2. #include <dt-bindings/gpio/gpio.h>
  3. #include "falcon.dtsi"
  4. #include "falcon-sflash-16M.dtsi"
  5. / {
  6. model = "EASY98021 - Lantiq Falcon HGU Reference Board";
  7. compatible = "lantiq,falcon-easy98021", "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. gpio-mmc {
  24. /* Place-holder for SIM-Card connector,
  25. to list the used GPIOs, no official binding */
  26. compatible = "gpio-mmc";
  27. gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>,
  28. <&gpio0 3 GPIO_ACTIVE_HIGH>,
  29. <&gpio0 2 GPIO_ACTIVE_HIGH>,
  30. <0>; /* no CS */
  31. gpio-names = "di", "do", "clk", "cs";
  32. reset-gpio = <&gpio3 24 GPIO_ACTIVE_HIGH>;
  33. };
  34. pinctrl {
  35. led_pins: led-pins {
  36. lantiq,pins = "io11", "io14", "io36", "io37", "io38";
  37. lantiq,function = "gpio";
  38. };
  39. };
  40. easy98021-leds {
  41. compatible = "gpio-leds";
  42. pinctrl-names = "default";
  43. pinctrl-0 = <&led_pins &bootled_pins>;
  44. GPON {
  45. label = "easy98021:green:gpon";
  46. gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
  47. default-state = "keep";
  48. };
  49. TEST {
  50. label = "easy98021:red:test";
  51. gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
  52. default-state = "keep";
  53. };
  54. ETH {
  55. label = "easy98021:green:status";
  56. gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
  57. default-state = "keep";
  58. };
  59. VOICE {
  60. label = "easy98021:green:voice";
  61. gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
  62. default-state = "keep";
  63. };
  64. SIMCARD {
  65. label = "easy98021:green:simcard";
  66. gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
  67. default-state = "keep";
  68. };
  69. };
  70. };