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