dsl-2640b-b.dts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /dts-v1/;
  2. #include "bcm6348.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "D-Link DSL-2640B rev B2";
  6. compatible = "d-link,dsl-2640b-b", "brcm,bcm6348";
  7. chosen {
  8. bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  9. };
  10. gpio-keys-polled {
  11. compatible = "gpio-keys-polled";
  12. #address-cells = <1>;
  13. #size-cells = <0>;
  14. poll-interval = <20>;
  15. debounce-interval = <60>;
  16. reset {
  17. label = "reset";
  18. gpios = <&gpio0 7 1>;
  19. linux,code = <KEY_RESTART>;
  20. };
  21. };
  22. gpio-leds {
  23. compatible = "gpio-leds";
  24. power_green {
  25. label = "D-4P-W:green:power";
  26. gpios = <&gpio0 0 1>;
  27. default-state = "on";
  28. };
  29. status {
  30. label = "D-4P-W::status";
  31. gpios = <&gpio0 3 1>;
  32. };
  33. inet_green {
  34. label = "D-4P-W:green:internet";
  35. gpios = <&gpio0 4 1>;
  36. };
  37. inet_red {
  38. label = "D-4P-W:red:internet";
  39. gpios = <&gpio0 5 1>;
  40. };
  41. };
  42. };
  43. &pflash {
  44. status = "ok";
  45. linux,part-probe = "bcm63xxpart";
  46. cfe@0 {
  47. label = "CFE";
  48. reg = <0x000000 0x010000>;
  49. read-only;
  50. };
  51. linux@10000 {
  52. label = "linux";
  53. reg = <0x010000 0x3e0000>;
  54. };
  55. nvram@3f0000 {
  56. label = "nvram";
  57. reg = <0x3f0000 0x010000>;
  58. };
  59. };