brcm63xx: switch to new partition layout specification
[oweals/openwrt.git] / target / linux / brcm63xx / dts / rta770w.dts
1 /dts-v1/;
2
3 #include "bcm6345.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "Dynalink RTA770W";
9         compatible = "dynalink,rta770w", "brcm,bcm6345";
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 = <&gpio0 13 1>;
26                         linux,code = <KEY_RESTART>;
27                 };
28         };
29
30         gpio-leds {
31                 compatible = "gpio-leds";
32
33                 usb {
34                         label = "RTA770W:green:usb";
35                         gpios = <&gpio0 7 1>;
36                 };
37
38                 adsl {
39                         label = "RTA770W:green:adsl";
40                         gpios = <&gpio0 8 0>;
41                 };
42
43                 diag {
44                         label = "RTA770W:green:diag";
45                         gpios = <&gpio0 10 1>;
46                 };
47
48                 wlan {
49                         label = "RTA770W:green:wlan";
50                         gpios = <&gpio0 11 1>;
51                 };
52         };
53 };
54
55 &pflash {
56         status = "ok";
57
58         linux,part-probe = "bcm63xxpart";
59
60         partitions {
61                 compatible = "fixed-partitions";
62                 #address-cells = <1>;
63                 #size-cells = <1>;
64
65                 cfe@0 {
66                         label = "CFE";
67                         reg = <0x000000 0x010000>;
68                         read-only;
69                 };
70
71                 linux@10000 {
72                         label = "linux";
73                         reg = <0x010000 0x3e0000>;
74                         compatible = "brcm,bcm963xx-imagetag";
75                 };
76
77                 nvram@3f0000 {
78                         label = "nvram";
79                         reg = <0x3f0000 0x010000>;
80                 };
81         };
82 };
83
84 &uart0 {
85         status = "ok";
86 };