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 = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  9. stdout-path = "serial0:115200n8";
  10. };
  11. keys {
  12. compatible = "gpio-keys-polled";
  13. #address-cells = <1>;
  14. #size-cells = <0>;
  15. poll-interval = <20>;
  16. reset {
  17. label = "reset";
  18. gpios = <&pinctrl 34 1>;
  19. linux,code = <KEY_RESTART>;
  20. debounce-interval = <60>;
  21. };
  22. };
  23. gpio-leds {
  24. compatible = "gpio-leds";
  25. dsl_green {
  26. label = "VR-3025u:green:dsl";
  27. gpios = <&pinctrl 2 1>;
  28. };
  29. inet_green {
  30. label = "VR-3025u:green:inet";
  31. gpios = <&pinctrl 5 0>;
  32. };
  33. power_green {
  34. label = "VR-3025u:green:power";
  35. gpios = <&pinctrl 22 0>;
  36. default-state = "on";
  37. };
  38. power_red {
  39. label = "VR-3025u:red:power";
  40. gpios = <&pinctrl 24 0>;
  41. };
  42. inet_red {
  43. label = "VR-3025u:red:inet";
  44. gpios = <&pinctrl 31 0>;
  45. };
  46. };
  47. };
  48. &pflash {
  49. status = "ok";
  50. partitions {
  51. compatible = "fixed-partitions";
  52. #address-cells = <1>;
  53. #size-cells = <1>;
  54. cfe@0 {
  55. label = "CFE";
  56. reg = <0x0000000 0x0020000>;
  57. read-only;
  58. };
  59. linux@20000 {
  60. label = "linux";
  61. reg = <0x0020000 0x1fc0000>;
  62. compatible = "brcm,bcm963xx-imagetag";
  63. };
  64. nvram@1fe0000 {
  65. label = "nvram";
  66. reg = <0x1fe0000 0x020000>;
  67. };
  68. };
  69. };
  70. &pinctrl {
  71. pinctrl-names = "default";
  72. pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led
  73. &pinctrl_ephy2_led &pinctrl_ephy3_led>;
  74. };
  75. &uart0 {
  76. status = "ok";
  77. };