brcm63xx: switch to new partition layout specification
[oweals/openwrt.git] / target / linux / brcm63xx / dts / ct536plus.dts
1 /dts-v1/;
2
3 #include "bcm6348.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "Comtrend CT-536+/CT-5621T";
9         compatible = "comtrend,ct-536+", "brcm,bcm6348";
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 33 1>;
26                         linux,code = <KEY_RESTART>;
27                 };
28         };
29
30         gpio-leds {
31                 compatible = "gpio-leds";
32
33                 power_green {
34                         label = "CT536_CT5621:green:power";
35                         gpios = <&pinctrl 0 1>;
36                         default-state = "on";
37                 };
38                 adsl_fail_green {
39                         label = "CT536_CT5621:green:adsl-fail";
40                         gpios = <&pinctrl 2 1>;
41                 };
42         };
43 };
44
45 &pflash {
46         status = "ok";
47
48         linux,part-probe = "bcm63xxpart";
49
50         partitions {
51                 compatible = "fixed-partitions";
52                 #address-cells = <1>;
53                 #size-cells = <1>;
54
55                 cfe@0 {
56                         label = "CFE";
57                         reg = <0x000000 0x010000>;
58                         read-only;
59                 };
60
61                 linux@10000 {
62                         label = "linux";
63                         reg = <0x010000 0x3e0000>;
64                         compatible = "brcm,bcm963xx-imagetag";
65                 };
66
67                 nvram@3f0000 {
68                         label = "nvram";
69                         reg = <0x3f0000 0x010000>;
70                 };
71         };
72 };
73
74 &pinctrl {
75         pinctrl-names = "default";
76         pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
77 };
78
79 &uart0 {
80         status = "ok";
81 };