td-w8900gb.dts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /dts-v1/;
  2. /include/ "bcm6348.dtsi"
  3. / {
  4. model = "TP-Link TD-W8900GB";
  5. compatible = "tp-link,td-w8900gb", "brcm,bcm6348";
  6. gpio-keys-polled {
  7. compatible = "gpio-keys-polled";
  8. #address-cells = <1>;
  9. #size-cells = <0>;
  10. poll-interval = <20>;
  11. debounce-interval = <60>;
  12. reset {
  13. label = "reset";
  14. gpios = <&gpio1 1 1>;
  15. linux,code = <0x198>;
  16. };
  17. };
  18. gpio-leds {
  19. compatible = "gpio-leds";
  20. power_green {
  21. label = "96348GW-11:green:power";
  22. gpios = <&gpio0 0 1>;
  23. default-state = "on";
  24. };
  25. stop_green {
  26. label = "96348GW-11:green:stop";
  27. gpios = <&gpio0 1 1>;
  28. };
  29. adsl_fail_green {
  30. label = "96348GW-11:green:adsl-fail";
  31. gpios = <&gpio0 2 1>;
  32. };
  33. ppp_green {
  34. label = "96348GW-11:green:ppp";
  35. gpios = <&gpio0 3 1>;
  36. };
  37. ppp_fail_green {
  38. label = "96348GW-11:green:ppp-fail";
  39. gpios = <&gpio0 4 1>;
  40. };
  41. };
  42. };
  43. &pflash {
  44. status = "ok";
  45. linux,part-probe = "bcm63xxpart";
  46. cfe@0 {
  47. label = "CFE";
  48. reg = <0x000000 0x020000>;
  49. read-only;
  50. };
  51. linux@20000 {
  52. label = "linux";
  53. reg = <0x020000 0x3d0000>;
  54. };
  55. nvram@3e0000 {
  56. label = "nvram";
  57. reg = <0x3f0000 0x010000>;
  58. };
  59. };