dsl-2640b-b.dts 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /dts-v1/;
  2. /include/ "bcm6348.dtsi"
  3. / {
  4. model = "D-Link DSL-2640B rev B2";
  5. compatible = "d-link,dsl-2640b-b", "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 = <&gpio0 7 1>;
  15. linux,code = <0x198>;
  16. };
  17. };
  18. gpio-leds {
  19. compatible = "gpio-leds";
  20. power_green {
  21. label = "D-4P-W:green:power";
  22. gpios = <&gpio0 0 1>;
  23. default-state = "on";
  24. };
  25. status {
  26. label = "D-4P-W::status";
  27. gpios = <&gpio0 3 1>;
  28. };
  29. inet_green {
  30. label = "D-4P-W:green:internet";
  31. gpios = <&gpio0 4 1>;
  32. };
  33. inet_red {
  34. label = "D-4P-W:red:internet";
  35. gpios = <&gpio0 5 1>;
  36. };
  37. };
  38. };
  39. &pflash {
  40. status = "ok";
  41. linux,part-probe = "bcm63xxpart";
  42. cfe@0 {
  43. label = "CFE";
  44. reg = <0x000000 0x010000>;
  45. read-only;
  46. };
  47. linux@10000 {
  48. label = "linux";
  49. reg = <0x010000 0x3e0000>;
  50. };
  51. nvram@3f0000 {
  52. label = "nvram";
  53. reg = <0x3f0000 0x010000>;
  54. };
  55. };