brcm63xx: switch to new partition layout specification
[oweals/openwrt.git] / target / linux / brcm63xx / dts / rg100a.dts
1 /dts-v1/;
2
3 #include "bcm6358.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "Alcatel RG100A";
9         compatible = "alcatel,rg100a", "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-leds {
17                 compatible = "gpio-leds";
18
19                 stop_green {
20                         label = "96358VW2:green:stop";
21                         gpios = <&pinctrl 4 1>;
22                 };
23                 power_green {
24                         label = "96358VW2:green:power";
25                         gpios = <&pinctrl 5 1>;
26                         default-state = "on";
27                 };
28                 adsl_green {
29                         label = "96358VW2:green:adsl";
30                         gpios = <&pinctrl 22 1>;
31                 };
32                 ppp_fail_green {
33                         label = "96358VW2:green:ppp-fail";
34                         gpios = <&pinctrl 23 0>;
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 0x020000>;
52                         read-only;
53                 };
54
55                 linux@20000 {
56                         label = "linux";
57                         reg = <0x020000 0xfc0000>;
58                         compatible = "brcm,bcm963xx-imagetag";
59                 };
60
61                 nvram@fe0000 {
62                         label = "nvram";
63                         reg = <0xfe0000 0x020000>;
64                 };
65         };
66 };
67
68 &uart0 {
69         status = "ok";
70 };