brcm63xx: switch to new partition layout specification
[oweals/openwrt.git] / target / linux / brcm63xx / dts / rta1320.dts
1 /dts-v1/;
2
3 #include "bcm6338.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "Dynalink RTA1320";
9         compatible = "dynalink,rta1320", "brcm,bcm6338";
10
11         chosen {
12                 bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13                 stdout-path = "serial0:115200n8";
14         };
15
16         gpio-leds {
17                 compatible = "gpio-leds";
18
19                 green_power {
20                         label = "RTA1320_16M:green:power";
21                         gpios = <&gpio0 0 1>;
22                         default-state = "on";
23                 };
24                 green_stop {
25                         label = "RTA1320_16M:green:stop";
26                         gpios = <&gpio0 1 1>;
27                 };
28                 green_adsl {
29                         label = "RTA1320_16M:green:adsl";
30                         gpios = <&gpio0 3 1>;
31                 };
32                 green_ppp {
33                         label = "RTA1320_16M:green:ppp";
34                         gpios = <&gpio0 4 1>;
35                 };
36         };
37 };
38
39 &pflash {
40         status = "ok";
41
42         linux,part-probe = "bcm63xxpart";
43
44         partitions {
45                 compatible = "fixed-partitions";
46                 #address-cells = <1>;
47                 #size-cells = <1>;
48
49                 cfe@0 {
50                         label = "CFE";
51                         reg = <0x000000 0x010000>;
52                         read-only;
53                 };
54
55                 linux@10000 {
56                         label = "linux";
57                         reg = <0x010000 0x3e0000>;
58                         compatible = "brcm,bcm963xx-imagetag";
59                 };
60
61                 nvram@3f0000 {
62                         label = "nvram";
63                         reg = <0x3f0000 0x010000>;
64                 };
65         };
66 };
67
68 &uart0 {
69         status = "ok";
70 };