brcm63xx: switch to new partition layout specification
[oweals/openwrt.git] / target / linux / brcm63xx / dts / gw6200.dts
1 /dts-v1/;
2
3 #include "bcm6348.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "TECOM GW6200";
9         compatible = "tecom,gw6200", "brcm,bcm6348";
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 36 1>;
26                         linux,code = <KEY_RESTART>;
27                 };
28         };
29
30         gpio-leds {
31                 compatible = "gpio-leds";
32
33                 line1_green {
34                         label = "GW6200:green:line1";
35                         gpios = <&pinctrl 4 1>;
36                 };
37                 line2_green {
38                         label = "GW6200:green:line2";
39                         gpios = <&pinctrl 5 1>;
40                 };
41                 line3_green {
42                         label = "GW6200:green:line3";
43                         gpios = <&pinctrl 6 1>;
44                 };
45                 tel_green {
46                         label = "GW6200:green:tel";
47                         gpios = <&pinctrl 7 1>;
48                 };
49         };
50 };
51
52 &pflash {
53         status = "ok";
54
55         linux,part-probe = "bcm63xxpart";
56
57         partitions {
58                 compatible = "fixed-partitions";
59                 #address-cells = <1>;
60                 #size-cells = <1>;
61
62                 cfe@0 {
63                         label = "CFE";
64                         reg = <0x000000 0x010000>;
65                         read-only;
66                 };
67
68                 linux@10000 {
69                         label = "linux";
70                         reg = <0x010000 0x7e0000>;
71                         compatible = "brcm,bcm963xx-imagetag";
72                 };
73
74                 nvram@7f0000 {
75                         label = "nvram";
76                         reg = <0x7f0000 0x010000>;
77                 };
78         };
79 };
80
81 &pinctrl {
82         pinctrl-names = "default";
83         pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
84 };
85
86 &uart0 {
87         status = "ok";
88 };