rta770w.dts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /dts-v1/;
  2. #include "bcm6345.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Dynalink RTA770W";
  6. compatible = "dynalink,rta770w", "brcm,bcm6345";
  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 13 1>;
  19. linux,code = <KEY_RESTART>;
  20. };
  21. };
  22. gpio-leds {
  23. compatible = "gpio-leds";
  24. usb {
  25. label = "RTA770W:green:usb";
  26. gpios = <&gpio0 7 1>;
  27. };
  28. adsl {
  29. label = "RTA770W:green:adsl";
  30. gpios = <&gpio0 8 0>;
  31. };
  32. diag {
  33. label = "RTA770W:green:diag";
  34. gpios = <&gpio0 10 1>;
  35. };
  36. wlan {
  37. label = "RTA770W:green:wlan";
  38. gpios = <&gpio0 11 1>;
  39. };
  40. };
  41. };
  42. &pflash {
  43. status = "ok";
  44. linux,part-probe = "bcm63xxpart";
  45. cfe@0 {
  46. label = "CFE";
  47. reg = <0x000000 0x010000>;
  48. read-only;
  49. };
  50. linux@10000 {
  51. label = "linux";
  52. reg = <0x010000 0x3e0000>;
  53. };
  54. nvram@3f0000 {
  55. label = "nvram";
  56. reg = <0x3f0000 0x010000>;
  57. };
  58. };