vr-3025u.dts 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /dts-v1/;
  2. #include "bcm6368.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Comtrend VR-3025u";
  6. compatible = "comtrend,vr-3025u", "brcm,bcm6368";
  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. dsl_green {
  25. label = "VR-3025u:green:dsl";
  26. gpios = <&gpio0 2 1>;
  27. };
  28. inet_green {
  29. label = "VR-3025u:green:inet";
  30. gpios = <&gpio0 5 0>;
  31. };
  32. lan1_green {
  33. label = "VR-3025u:green:lan1";
  34. gpios = <&gpio0 6 1>;
  35. };
  36. lan2_green {
  37. label = "VR-3025u:green:lan2";
  38. gpios = <&gpio0 7 1>;
  39. };
  40. lan3_green {
  41. label = "VR-3025u:green:lan3";
  42. gpios = <&gpio0 8 1>;
  43. };
  44. lan4_green {
  45. label = "VR-3025u:green:lan4";
  46. gpios = <&gpio0 9 1>;
  47. };
  48. power_green {
  49. label = "VR-3025u:green:power";
  50. gpios = <&gpio0 22 0>;
  51. default-state = "on";
  52. };
  53. power_red {
  54. label = "VR-3025u:red:power";
  55. gpios = <&gpio0 24 0>;
  56. };
  57. inet_red {
  58. label = "VR-3025u:red:inet";
  59. gpios = <&gpio0 31 0>;
  60. };
  61. };
  62. };
  63. &pflash {
  64. status = "ok";
  65. linux,part-probe = "bcm63xxpart";
  66. cfe@0 {
  67. label = "CFE";
  68. reg = <0x0000000 0x0020000>;
  69. read-only;
  70. };
  71. linux@20000 {
  72. label = "linux";
  73. reg = <0x0020000 0x1fc0000>;
  74. };
  75. nvram@1fe0000 {
  76. label = "nvram";
  77. reg = <0x1fe0000 0x020000>;
  78. };
  79. };