brcm47xx: rename target to bcm47xx
[openwrt/staging/wigyori.git] / target / linux / brcm63xx / dts / bcm6318-sagem-fast-2704n.dts
1 /dts-v1/;
2
3 #include "bcm6318.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Sagem F@st 2704N";
9 compatible = "sagem,fast-2704n", "brcm,bcm6318";
10
11 chosen {
12 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 stdout-path = "serial0:115200n8";
14 };
15
16 keys {
17 compatible = "gpio-keys-polled";
18 #address-cells = <1>;
19 #size-cells = <0>;
20 poll-interval = <20>;
21
22 wlan {
23 label = "wlan";
24 gpios = <&pinctrl 1 0>;
25 linux,code = <KEY_WLAN>;
26 debounce-interval = <60>;
27 };
28
29 wps {
30 label = "wps";
31 gpios = <&pinctrl 33 1>;
32 linux,code = <KEY_WPS_BUTTON>;
33 debounce-interval = <60>;
34 };
35
36 reset {
37 label = "reset";
38 gpios = <&pinctrl 34 1>;
39 linux,code = <KEY_RESTART>;
40 debounce-interval = <60>;
41 };
42 };
43
44 leds {
45 compatible = "gpio-leds";
46
47 wps_green {
48 label = "F@ST2704N:green:wps";
49 gpios = <&pinctrl 2 1>;
50 };
51 lan1_green {
52 label = "F@ST2704N:green:lan1";
53 gpios = <&pinctrl 4 1>;
54 };
55 lan2_green {
56 label = "F@ST2704N:green:lan2";
57 gpios = <&pinctrl 5 1>;
58 };
59 lan3_green {
60 label = "F@ST2704N:green:lan3";
61 gpios = <&pinctrl 6 1>;
62 };
63 lan4_green {
64 label = "F@ST2704N:green:lan4";
65 gpios = <&pinctrl 7 1>;
66 };
67 inet_green {
68 label = "F@ST2704N:green:inet";
69 gpios = <&pinctrl 8 1>;
70 };
71 inet_red {
72 label = "F@ST2704N:red:inet";
73 gpios = <&pinctrl 9 1>;
74 };
75 dsl_green {
76 label = "F@ST2704N:green:dsl";
77 gpios = <&pinctrl 10 1>;
78 };
79 power_red {
80 label = "F@ST2704N:red:power";
81 gpios = <&pinctrl 11 1>;
82 };
83 power_green {
84 label = "F@ST2704N:green:power";
85 gpios = <&pinctrl 47 1>;
86 default-state = "on";
87 };
88 usb_green {
89 label = "F@ST2704N:green:usb";
90 gpios = <&pinctrl 49 1>;
91 };
92 };
93 };
94
95 &hsspi {
96 status = "ok";
97
98 flash@0 {
99 compatible = "jedec,spi-nor";
100 spi-max-frequency = <62500000>;
101 spi-tx-bus-width = <2>;
102 spi-rx-bus-width = <2>;
103 reg = <0>;
104
105 #address-cells = <1>;
106 #size-cells = <1>;
107
108 partitions {
109 compatible = "fixed-partitions";
110 #address-cells = <1>;
111 #size-cells = <1>;
112
113 cfe@0 {
114 reg = <0x000000 0x010000>;
115 label = "cfe";
116 read-only;
117 };
118
119 linux@10000 {
120 reg = <0x010000 0x7e0000>;
121 label = "linux";
122 compatible = "brcm,bcm963xx-imagetag";
123 };
124
125 nvram@7f0000 {
126 reg = <0x7f0000 0x010000>;
127 label = "nvram";
128 };
129 };
130 };
131 };
132
133 &uart0 {
134 status = "ok";
135 };