dsl-2640u.dts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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 = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  9. stdout-path = "serial0:115200n8";
  10. };
  11. gpio-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. linux,part-probe = "bcm63xxpart";
  31. partitions {
  32. compatible = "fixed-partitions";
  33. #address-cells = <1>;
  34. #size-cells = <1>;
  35. cfe@0 {
  36. label = "CFE";
  37. reg = <0x000000 0x010000>;
  38. read-only;
  39. };
  40. linux@10000 {
  41. label = "linux";
  42. reg = <0x010000 0x3e0000>;
  43. compatible = "brcm,bcm963xx-imagetag";
  44. };
  45. nvram@3f0000 {
  46. label = "nvram";
  47. reg = <0x3f0000 0x010000>;
  48. };
  49. };
  50. };
  51. &uart0 {
  52. status = "ok";
  53. };