brcm63xx: switch to new partition layout specification
[oweals/openwrt.git] / target / linux / brcm63xx / dts / dsl-2640u.dts
1 /dts-v1/;
2
3 #include "bcm6338.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "D-Link DSL-2640U/BRU/C";
9         compatible = "d-link,dsl-2640u", "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 = "96338W2_E7T:green:power";
21                         gpios = <&gpio0 0 1>;
22                         default-state = "on";
23                 };
24
25                 green_stop {
26                         label = "96338W2_E7T:green:ppp";
27                         gpios = <&gpio0 4 1>;
28                 };
29
30                 green_adsl {
31                         label = "96338W2_E7T:green:ppp-fail";
32                         gpios = <&gpio0 5 1>;
33                 };
34         };
35 };
36
37 &pflash {
38         status = "ok";
39
40         linux,part-probe = "bcm63xxpart";
41
42         partitions {
43                 compatible = "fixed-partitions";
44                 #address-cells = <1>;
45                 #size-cells = <1>;
46
47                 cfe@0 {
48                         label = "CFE";
49                         reg = <0x000000 0x010000>;
50                         read-only;
51                 };
52
53                 linux@10000 {
54                         label = "linux";
55                         reg = <0x010000 0x3e0000>;
56                         compatible = "brcm,bcm963xx-imagetag";
57                 };
58
59                 nvram@3f0000 {
60                         label = "nvram";
61                         reg = <0x3f0000 0x010000>;
62                 };
63         };
64 };
65
66 &uart0 {
67         status = "ok";
68 };