ramips: select kmod-rt2800-soc by default (if available)
[openwrt.git] / target / linux / ramips / dts / F7C027.dts
1 /dts-v1/;
2
3 /include/ "rt5350.dtsi"
4
5 / {
6         compatible = "F7C027", "ralink,rt5350-soc";
7         model = "Belkin F7C027";
8
9         palmbus@10000000 {
10                 spi@b00 {
11                         status = "okay";
12                         m25p80@0 {
13                                 #address-cells = <1>;
14                                 #size-cells = <1>;
15                                 compatible = "mx25l12805d";
16                                 reg = <0 0>;
17                                 linux,modalias = "m25p80", "mx25l12805d";
18                                 spi-max-frequency = <10000000>;
19
20                                 partition@0 {
21                                         label = "u-boot";
22                                         reg = <0x0 0x30000>;
23                                         read-only;
24                                 };
25
26                                 partition@30000 {
27                                         label = "u-boot-env";
28                                         reg = <0x30000 0x10000>;
29                                         read-only;
30                                 };
31
32                                 factory: partition@40000 {
33                                         label = "factory";
34                                         reg = <0x40000 0x10000>;
35                                         read-only;
36                                 };
37
38                                 partition@50000 {
39                                         label = "firmware";
40                                         reg = <0x50000 0x770000>;
41                                 };
42
43                                 partition@7c0000 {
44                                         label = "firmware2";
45                                         reg = <0x7c0000 0x770000>;
46                                 };
47
48                                 partition@f30000 {
49                                         label = "belkin_settings";
50                                         reg = <0xf30000 0xa0000>;
51                                 };
52
53                                 partition@fd0000 {
54                                         label = "unknown";
55                                         reg = <0xfd0000 0x10000>;
56                                 };
57
58                                 partition@fe0000 {
59                                         label = "nvram";
60                                         reg = <0xfe0000 0x10000>;
61                                 };
62
63                                 partition@ff0000 {
64                                         label = "user_factory";
65                                         reg = <0xff0000 0x10000>;
66                                 };
67                         };
68                 };
69         };
70
71         pinctrl {
72                 state_default: pinctrl0 {
73                         gpio {
74                                 ralink,group = "i2c", "jtag", "uartf";
75                                 ralink,function = "gpio";
76                         };
77                 };
78         };
79
80         gpio-leds {
81                 compatible = "gpio-leds";
82                 status {
83                         label = "belkin:blue:status";
84                         gpios = <&gpio0 7 1>;
85                 };
86                 power {
87                         label = "belkin:blue:power";
88                         gpios = <&gpio0 9 1>;
89                 };
90                 orange {
91                         label = "belkin:orange:status";
92                         gpios = <&gpio0 11 1>;
93                 };
94                 relay {
95                         label = "belkin:device:relay";
96                         gpios = <&gpio0 13 0>;
97                 };
98         };
99         gpio-keys-polled {
100                 compatible = "gpio-keys-polled";
101                 #address-cells = <1>;
102                 #size-cells = <0>;
103                 poll-interval = <20>;
104                 top {
105                         label = "top";
106                         gpios = <&gpio0 10 1>;
107                         linux,code = <0x198>;
108                 };
109                 power {
110                         label = "power";
111                         gpios = <&gpio0 12 1>;
112                         linux,code = <0x100>;
113                 };
114                 sensor {
115                         label = "sensor";
116                         gpios = <&gpio0 14 1>;
117                         linux,code = <0x101>;
118                 };
119         };
120 };