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