dsl-274xb-c.dts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /dts-v1/;
  2. #include "bcm6358.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "D-Link DSL-2740B/DSL-2741B rev C2/3";
  6. compatible = "d-link,dsl-274xb-c2", "brcm,bcm6358";
  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 = <&gpio1 2 1>;
  19. linux,code = <KEY_RESTART>;
  20. };
  21. };
  22. gpio-leds {
  23. compatible = "gpio-leds";
  24. inet_green {
  25. label = "dsl-274xb:green:internet";
  26. gpios = <&gpio0 2 0>;
  27. };
  28. power_red {
  29. label = "dsl-274xb:red:power";
  30. gpios = <&gpio0 4 1>;
  31. };
  32. power_green {
  33. label = "dsl-274xb:green:power";
  34. gpios = <&gpio0 5 1>;
  35. default-state = "on";
  36. };
  37. dsl_green {
  38. label = "dsl-274xb:green:adsl";
  39. gpios = <&gpio0 9 1>;
  40. };
  41. inet_red {
  42. label = "dsl-274xb:red:internet";
  43. gpios = <&gpio0 10 0>;
  44. };
  45. };
  46. };
  47. &pflash {
  48. status = "ok";
  49. linux,part-probe = "bcm63xxpart";
  50. cfe@0 {
  51. label = "CFE";
  52. reg = <0x000000 0x010000>;
  53. read-only;
  54. };
  55. linux@10000 {
  56. label = "linux";
  57. reg = <0x010000 0x3e0000>;
  58. };
  59. nvram@3f0000 {
  60. label = "nvram";
  61. reg = <0x3f0000 0x010000>;
  62. };
  63. };