brcm63xx: dts: Unify naming of gpio-led nodes
[openwrt/openwrt.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 = "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 rfkill {
23 label = "rfkill";
24 gpios = <&pinctrl 15 1>;
25 linux,code = <KEY_WLAN>;
26 debounce-interval = <60>;
27 };
28
29 reset {
30 label = "reset";
31 gpios = <&pinctrl 23 1>;
32 linux,code = <KEY_RESTART>;
33 debounce-interval = <60>;
34 };
35
36 wps {
37 label = "wps";
38 gpios = <&pinctrl 24 1>;
39 linux,code = <KEY_WPS_BUTTON>;
40 debounce-interval = <60>;
41 };
42 };
43
44 leds {
45 compatible = "gpio-leds";
46
47 usb_green {
48 label = "F@ST2704V2:green:usb";
49 gpios = <&pinctrl 1 1>;
50 };
51 inet_red {
52 label = "F@ST2704V2:red:inet";
53 gpios = <&pinctrl 2 1>;
54 };
55 dsl_green {
56 label = "F@ST2704V2:green:dsl";
57 gpios = <&pinctrl 3 1>;
58 };
59 power_green {
60 label = "F@ST2704V2:green:power";
61 gpios = <&pinctrl 4 1>;
62 default-state = "on";
63 };
64 power_red {
65 label = "F@ST2704V2:red:power";
66 gpios = <&pinctrl 5 1>;
67 };
68 wps_green {
69 label = "F@ST2704V2:green:wps";
70 gpios = <&pinctrl 10 1>;
71 };
72 inet_green {
73 label = "F@ST2704V2:green:inet";
74 gpios = <&pinctrl 11 1>;
75 };
76 };
77 };
78
79 &hsspi {
80 status = "ok";
81
82 flash@0 {
83 compatible = "jedec,spi-nor";
84 spi-max-frequency = <16666667>;
85 spi-tx-bus-width = <2>;
86 spi-rx-bus-width = <2>;
87 reg = <0>;
88
89 #address-cells = <1>;
90 #size-cells = <1>;
91
92 partitions {
93 compatible = "fixed-partitions";
94 #address-cells = <1>;
95 #size-cells = <1>;
96
97 cfe@0 {
98 reg = <0x000000 0x010000>;
99 label = "cfe";
100 read-only;
101 };
102
103 linux@10000 {
104 reg = <0x010000 0x7e0000>;
105 label = "linux";
106 compatible = "brcm,bcm963xx-imagetag";
107 };
108
109 nvram@7f0000 {
110 reg = <0x7f0000 0x010000>;
111 label = "nvram";
112 };
113 };
114 };
115 };
116
117 &uart0 {
118 status = "ok";
119 };