bbd23da3616aa3ecb2643dd8931b9660ac0a292e
[openwrt/staging/mkresin.git] / target / linux / brcm63xx / dts / fast2704v2.dts
1 /dts-v1/;
2
3 #include "bcm6328.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Sagem F@ST2704V2";
9 compatible = "sagem,f@st2704v2", "brcm,bcm6328";
10
11 chosen {
12 bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 };
14
15 gpio-keys-polled {
16 compatible = "gpio-keys-polled";
17 #address-cells = <1>;
18 #size-cells = <0>;
19 poll-interval = <20>;
20 debounce-interval = <60>;
21
22 rfkill {
23 label = "rfkill";
24 gpios = <&pinctrl 15 1>;
25 linux,code = <KEY_WLAN>;
26 };
27 reset {
28 label = "reset";
29 gpios = <&pinctrl 23 1>;
30 linux,code = <KEY_RESTART>;
31 };
32 wps {
33 label = "wps";
34 gpios = <&pinctrl 24 1>;
35 linux,code = <KEY_WPS_BUTTON>;
36 };
37 };
38
39 gpio-leds {
40 compatible = "gpio-leds";
41
42 usb_green {
43 label = "F@ST2704V2:green:usb";
44 gpios = <&pinctrl 1 1>;
45 };
46 inet_red {
47 label = "F@ST2704V2:red:inet";
48 gpios = <&pinctrl 2 1>;
49 };
50 dsl_green {
51 label = "F@ST2704V2:green:dsl";
52 gpios = <&pinctrl 3 1>;
53 };
54 power_green {
55 label = "F@ST2704V2:green:power";
56 gpios = <&pinctrl 4 1>;
57 default-state = "on";
58 };
59 power_red {
60 label = "F@ST2704V2:red:power";
61 gpios = <&pinctrl 5 1>;
62 };
63 wps_green {
64 label = "F@ST2704V2:green:wps";
65 gpios = <&pinctrl 10 1>;
66 };
67 inet_green {
68 label = "F@ST2704V2:green:inet";
69 gpios = <&pinctrl 11 1>;
70 };
71 };
72 };
73
74 &hsspi {
75 status = "ok";
76
77 flash@0 {
78 compatible = "jedec,spi-nor";
79 spi-max-frequency = <16666667>;
80 spi-tx-bus-width = <2>;
81 spi-rx-bus-width = <2>;
82 reg = <0>;
83
84 #address-cells = <1>;
85 #size-cells = <1>;
86
87 linux,part-probe = "bcm63xxpart";
88
89 cfe@0 {
90 reg = <0x000000 0x010000>;
91 label = "cfe";
92 read-only;
93 };
94
95 linux@10000 {
96 reg = <0x010000 0x7e0000>;
97 label = "linux";
98 };
99
100 nvram@7f0000 {
101 reg = <0x7f0000 0x010000>;
102 label = "nvram";
103 };
104 };
105 };