dsl-2640u.dts 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /dts-v1/;
  2. #include "bcm6338.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "D-Link DSL-2640U/BRU/C";
  6. compatible = "d-link,dsl-2640u", "brcm,bcm6338";
  7. chosen {
  8. bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  9. stdout-path = "serial0:115200n8";
  10. };
  11. leds {
  12. compatible = "gpio-leds";
  13. green_power {
  14. label = "96338W2_E7T:green:power";
  15. gpios = <&gpio0 0 1>;
  16. default-state = "on";
  17. };
  18. green_stop {
  19. label = "96338W2_E7T:green:ppp";
  20. gpios = <&gpio0 4 1>;
  21. };
  22. green_adsl {
  23. label = "96338W2_E7T:green:ppp-fail";
  24. gpios = <&gpio0 5 1>;
  25. };
  26. };
  27. };
  28. &pflash {
  29. status = "ok";
  30. partitions {
  31. compatible = "fixed-partitions";
  32. #address-cells = <1>;
  33. #size-cells = <1>;
  34. cfe@0 {
  35. label = "CFE";
  36. reg = <0x000000 0x010000>;
  37. read-only;
  38. };
  39. linux@10000 {
  40. label = "linux";
  41. reg = <0x010000 0x3e0000>;
  42. compatible = "brcm,bcm963xx-imagetag";
  43. };
  44. nvram@3f0000 {
  45. label = "nvram";
  46. reg = <0x3f0000 0x010000>;
  47. };
  48. };
  49. };
  50. &uart0 {
  51. status = "ok";
  52. };