brcm63xx: switch to new partition layout specification
[oweals/openwrt.git] / target / linux / brcm63xx / dts / ct-6373.dts
1 /dts-v1/;
2
3 #include "bcm6358.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "Comtrend CT-6373";
9         compatible = "comtrend,ct-6373", "brcm,bcm6358";
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 35 1>;
26                         linux,code = <KEY_RESTART>;
27                 };
28         };
29
30         gpio-leds {
31                 compatible = "gpio-leds";
32
33                 power_green {
34                         label = "CT6373-1:green:power";
35                         gpios = <&pinctrl 0 0>;
36                         default-state = "on";
37                 };
38                 usb_green {
39                         label = "CT6373-1:green:usb";
40                         gpios = <&pinctrl 3 1>;
41                 };
42                 wlan_green {
43                         label = "CT6373-1:green:wlan";
44                         gpios = <&pinctrl 9 1>;
45                 };
46         };
47 };
48
49 &leds {
50         status = "ok";
51
52         pinctrl-names = "default";
53         pinctrl-0 = <&pinctrl_serial_led>;
54
55         led@0 {
56                 reg = <0>;
57                 active-low;
58                 label = "CT6373-1:green:adsl";
59         };
60
61         led@1 {
62                 reg = <1>;
63                 active-low;
64                 label = "CT6373-1:green:line";
65         };
66
67         led@2 {
68                 reg = <2>;
69                 active-low;
70                 label = "CT6373-1:green:fxs1";
71         };
72
73         led@3 {
74                 reg = <3>;
75                 active-low;
76                 label = "CT6373-1:green:fxs2";
77         };
78 };
79
80 &pflash {
81         status = "ok";
82
83         linux,part-probe = "bcm63xxpart";
84
85         partitions {
86                 compatible = "fixed-partitions";
87                 #address-cells = <1>;
88                 #size-cells = <1>;
89
90                 cfe@0 {
91                         label = "CFE";
92                         reg = <0x000000 0x010000>;
93                         read-only;
94                 };
95
96                 linux@10000 {
97                         label = "linux";
98                         reg = <0x010000 0x7e0000>;
99                         compatible = "brcm,bcm963xx-imagetag";
100                 };
101
102                 nvram@7f0000 {
103                         label = "nvram";
104                         reg = <0x7f0000 0x010000>;
105                 };
106         };
107 };
108
109 &uart0 {
110         status = "ok";
111 };