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