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