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