vr-3025u.dts 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. stdout-path = "serial0:115200n8";
  10. };
  11. gpio-keys-polled {
  12. compatible = "gpio-keys-polled";
  13. #address-cells = <1>;
  14. #size-cells = <0>;
  15. poll-interval = <20>;
  16. debounce-interval = <60>;
  17. reset {
  18. label = "reset";
  19. gpios = <&pinctrl 34 1>;
  20. linux,code = <KEY_RESTART>;
  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. linux,part-probe = "bcm63xxpart";
  51. partitions {
  52. compatible = "fixed-partitions";
  53. #address-cells = <1>;
  54. #size-cells = <1>;
  55. cfe@0 {
  56. label = "CFE";
  57. reg = <0x0000000 0x0020000>;
  58. read-only;
  59. };
  60. linux@20000 {
  61. label = "linux";
  62. reg = <0x0020000 0x1fc0000>;
  63. compatible = "brcm,bcm963xx-imagetag";
  64. };
  65. nvram@1fe0000 {
  66. label = "nvram";
  67. reg = <0x1fe0000 0x020000>;
  68. };
  69. };
  70. };
  71. &pinctrl {
  72. pinctrl-names = "default";
  73. pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led
  74. &pinctrl_ephy2_led &pinctrl_ephy3_led>;
  75. };
  76. &uart0 {
  77. status = "ok";
  78. };