ramips: select kmod-rt2800-soc by default (if available)
[openwrt.git] / target / linux / ramips / dts / F5D8235_V1.dts
1 /dts-v1/;
2
3 /include/ "rt2880.dtsi"
4
5 / {
6         #address-cells = <1>;
7         #size-cells = <1>;
8         compatible = "F5D8235_V1", "ralink,rt2880-soc";
9         model = "Belkin F5D8235 v1";
10
11         palmbus@300000 {
12                 gpio0: gpio@600 {
13                         status = "okay";
14                 };
15         };
16
17         pinctrl {
18                 state_default: pinctrl0 {
19                         gpio {
20                                 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
21                                 ralink,function = "gpio";
22                         };
23                 };
24         };
25
26         cfi@1f000000 {
27                 compatible = "cfi-flash";
28                 reg = <0x1f000000 0x800000>;
29
30                 bank-width = <2>;
31                 device-width = <2>;
32                 #address-cells = <1>;
33                 #size-cells = <1>;
34
35                 partition@0 {
36                         label = "uboot";
37                         reg = <0x0 0x30000>;
38                         read-only;
39                 };
40                 partition@30000 {
41                         label = "uboot-env";
42                         reg = <0x30000 0x10000>;
43                         read-only;
44                 };
45                 partition@40000 {
46                         label = "calibration";
47                         reg = <0x40000 0x10000>;
48                         read-only;
49                 };
50                 partition@50000 {
51                         label = "linux";
52                         reg = <0x50000 0x3b0000>;
53                 };
54         };
55
56         ethernet@400000 {
57                 status = "okay";
58
59                 port@0 {
60                         ralink,fixed-link = <1000 1 1 1>;
61                 };
62         };
63
64         wmac@480000 {
65                 status = "okay";
66         };
67
68         rtl8367s {
69                 compatible = "realtek,rtl8367s";
70                 gpio-sda = <&gpio0 1 0>;
71                 gpio-sck = <&gpio0 2 0>;
72         };
73
74         gpio-keys-polled {
75                 compatible = "gpio-keys-polled";
76                 #address-cells = <1>;
77                 #size-cells = <0>;
78                 poll-interval = <100>;
79                 wps {
80                         label = "wps";
81                         gpios = <&gpio0 0 1>;
82                         linux,code = <0x211>;
83                 };
84                 reset {
85                         label = "reset";
86                         gpios = <&gpio0 9 1>;
87                         linux,code = <0x198>;
88                 };
89         };
90
91         gpio-leds {
92                 compatible = "gpio-leds";
93
94                 storage {
95                         label = "f5d8235-v1:blue:storage";
96                         gpios = <&gpio0 7 1>;
97                 };
98                 storage2 {
99                         label = "f5d8235-v1:orange:storage";
100                         gpios = <&gpio0 8 1>;
101                 };
102         };
103 };