7d479ad34f6fb106a6e6b4177e7008163860b514
[openwrt/svn-archive/archive.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
13 m25p80@0 {
14 #address-cells = <1>;
15 #size-cells = <1>;
16 compatible = "jedec,spi-nor";
17 reg = <0 0>;
18 linux,modalias = "m25p80", "mx25l12805d";
19 spi-max-frequency = <10000000>;
20
21 partition@0 {
22 label = "u-boot";
23 reg = <0x0 0x30000>;
24 read-only;
25 };
26
27 partition@30000 {
28 label = "u-boot-env";
29 reg = <0x30000 0x10000>;
30 read-only;
31 };
32
33 factory: partition@40000 {
34 label = "factory";
35 reg = <0x40000 0x10000>;
36 read-only;
37 };
38
39 partition@50000 {
40 label = "firmware";
41 reg = <0x50000 0x770000>;
42 };
43
44 partition@7c0000 {
45 label = "firmware2";
46 reg = <0x7c0000 0x770000>;
47 };
48
49 partition@f30000 {
50 label = "belkin_settings";
51 reg = <0xf30000 0xa0000>;
52 };
53
54 partition@fd0000 {
55 label = "unknown";
56 reg = <0xfd0000 0x10000>;
57 };
58
59 partition@fe0000 {
60 label = "nvram";
61 reg = <0xfe0000 0x10000>;
62 };
63
64 partition@ff0000 {
65 label = "user_factory";
66 reg = <0xff0000 0x10000>;
67 };
68 };
69 };
70 };
71
72 wmac@10180000 {
73 ralink,mtd-eeprom = <&factory 0>;
74 };
75
76 pinctrl {
77 state_default: pinctrl0 {
78 gpio {
79 ralink,group = "i2c", "jtag", "uartf";
80 ralink,function = "gpio";
81 };
82 };
83 };
84
85 gpio-leds {
86 compatible = "gpio-leds";
87
88 status {
89 label = "f7c027:blue:status";
90 gpios = <&gpio0 7 1>;
91 };
92
93 power {
94 label = "f7c027:blue:power";
95 gpios = <&gpio0 9 1>;
96 };
97
98 orange {
99 label = "f7c027:orange:status";
100 gpios = <&gpio0 11 1>;
101 };
102
103 relay {
104 label = "f7c027:device:relay";
105 gpios = <&gpio0 13 0>;
106 };
107 };
108
109 gpio-keys-polled {
110 compatible = "gpio-keys-polled";
111 #address-cells = <1>;
112 #size-cells = <0>;
113 poll-interval = <20>;
114
115 top {
116 label = "top";
117 gpios = <&gpio0 10 1>;
118 linux,code = <0x198>;
119 };
120
121 power {
122 label = "power";
123 gpios = <&gpio0 12 1>;
124 linux,code = <0x100>;
125 };
126
127 sensor {
128 label = "sensor";
129 gpios = <&gpio0 14 1>;
130 linux,code = <0x101>;
131 };
132 };
133 };