brcm63xx: switch to new partition layout specification
[oweals/openwrt.git] / target / linux / brcm63xx / dts / fast2604.dts
1 /dts-v1/;
2
3 #include "bcm6348.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "Sagem F@ST2604";
9         compatible = "sagem,f@st2604", "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 = "F@ST2604:green:power";
35                         gpios = <&pinctrl 0 1>;
36                         default-state = "on";
37                 };
38                 power_red {
39                         label = "F@ST2604:red:power";
40                         gpios = <&pinctrl 1 1>;
41                 };
42                 inet_red {
43                         label = "F@ST2604:red:inet";
44                         gpios = <&pinctrl 4 1>;
45                 };
46                 wps_green {
47                         label = "F@ST2604:green:wps";
48                         gpios = <&pinctrl 5 1>;
49                 };
50         };
51 };
52
53 &pflash {
54         status = "ok";
55
56         linux,part-probe = "bcm63xxpart";
57
58         partitions {
59                 compatible = "fixed-partitions";
60                 #address-cells = <1>;
61                 #size-cells = <1>;
62
63                 cfe@0 {
64                         label = "CFE";
65                         reg = <0x000000 0x010000>;
66                         read-only;
67                 };
68
69                 linux@10000 {
70                         label = "linux";
71                         reg = <0x010000 0x3e0000>;
72                         compatible = "brcm,bcm963xx-imagetag";
73                 };
74
75                 nvram@3f0000 {
76                         label = "nvram";
77                         reg = <0x3f0000 0x010000>;
78                 };
79         };
80 };
81
82 &pinctrl {
83         pinctrl-names = "default";
84         pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
85 };
86
87 &uart0 {
88         status = "ok";
89 };