bcm6368-comtrend-vr-3026e.dts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. #include "bcm6368.dtsi"
  2. #include <dt-bindings/input/input.h>
  3. #include <dt-bindings/leds/common.h>
  4. / {
  5. model = "Comtrend VR-3026e";
  6. compatible = "comtrend,vr-3026e", "brcm,bcm6368";
  7. aliases {
  8. led-boot = &led_power_green;
  9. led-failsafe = &led_power_green;
  10. led-running = &led_power_green;
  11. led-upgrade = &led_power_green;
  12. };
  13. chosen {
  14. bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  15. stdout-path = "serial0:115200n8";
  16. };
  17. keys {
  18. compatible = "gpio-keys-polled";
  19. #address-cells = <1>;
  20. #size-cells = <0>;
  21. poll-interval = <20>;
  22. reset {
  23. label = "reset";
  24. gpios = <&pinctrl 34 1>;
  25. linux,code = <KEY_RESTART>;
  26. debounce-interval = <60>;
  27. };
  28. };
  29. leds {
  30. compatible = "gpio-leds";
  31. dsl_green {
  32. label = "green:dsl";
  33. gpios = <&pinctrl 2 1>;
  34. };
  35. inet_green {
  36. label = "green:inet";
  37. gpios = <&pinctrl 5 0>;
  38. };
  39. led_power_green: power_green {
  40. function = LED_FUNCTION_POWER;
  41. color = <LED_COLOR_ID_GREEN>;
  42. gpios = <&pinctrl 22 0>;
  43. default-state = "on";
  44. };
  45. power_red {
  46. function = LED_FUNCTION_POWER;
  47. color = <LED_COLOR_ID_RED>;
  48. gpios = <&pinctrl 24 0>;
  49. };
  50. inet_red {
  51. label = "red:inet";
  52. gpios = <&pinctrl 31 0>;
  53. };
  54. };
  55. };
  56. &pflash {
  57. status = "okay";
  58. partitions {
  59. compatible = "fixed-partitions";
  60. #address-cells = <1>;
  61. #size-cells = <1>;
  62. cfe@0 {
  63. label = "CFE";
  64. reg = <0x000000 0x010000>;
  65. read-only;
  66. };
  67. linux@10000 {
  68. label = "linux";
  69. reg = <0x010000 0x7e0000>;
  70. compatible = "brcm,bcm963xx-imagetag";
  71. };
  72. nvram@7f0000 {
  73. label = "nvram";
  74. reg = <0x7f0000 0x010000>;
  75. };
  76. };
  77. };
  78. &pinctrl {
  79. pinctrl-names = "default";
  80. pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led
  81. &pinctrl_ephy2_led &pinctrl_ephy3_led>;
  82. };
  83. &uart0 {
  84. status = "okay";
  85. };