ramips: add support for belkin F7C027 wemo/homeautomatisation plug
[openwrt.git] / target / linux / ramips / dts / BC2.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         compatible = "BC2", "ralink,rt3052-soc";
7         model = "NexAira BC2";
8
9         palmbus@10000000 {
10                 sysc@0 {
11                         ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii";
12                         ralink,gpiomux = "jtag";
13                         ralink,uartmux = "gpio";
14                         ralink,wdtmux = <1>;
15                 };
16
17                 gpio0: gpio@600 {
18                         status = "okay";
19                 };
20
21         };
22
23         cfi@1f000000 {
24                 compatible = "cfi-flash";
25                 reg = <0x1f000000 0x800000>;
26
27                 bank-width = <2>;
28                 device-width = <2>;
29                 #address-cells = <1>;
30                 #size-cells = <1>;
31
32                 partition@0 {
33                         label = "u-boot";
34                         reg = <0x0 0x30000>;
35                         read-only;
36                 };
37
38                 partition@30000 {
39                         label = "u-boot-env";
40                         reg = <0x30000 0x10000>;
41                         read-only;
42                 };
43
44                 factory: partition@40000 {
45                         label = "factory";
46                         reg = <0x40000 0x10000>;
47                         read-only;
48                 };
49
50                 partition@50000 {
51                         label = "firmware";
52                         reg = <0x50000 0x7b0000>;
53                 };
54         };
55
56         gpio-leds {
57                 compatible = "gpio-leds";
58                 usb {
59                         label = "bc2:blue:usb";
60                         gpios = <&gpio0 20 1>;
61                 };
62         };
63
64         gpio-keys-polled {
65                 compatible = "gpio-keys-polled";
66                 #address-cells = <1>;
67                 #size-cells = <0>;
68                 poll-interval = <20>;
69                 reset {
70                         label = "reset";
71                         gpios = <&gpio0 17 1>;
72                         linux,code = <0x198>;
73                 };
74         };
75
76         ethernet@10100000 {
77                 status = "okay";
78         };
79
80         esw@10110000 {
81                 status = "okay";
82                 ralink,portmap = <0x2f>;
83         };
84
85         wmac@10180000 {
86                 status = "okay";
87         };
88
89         otg@101c0000 {
90                 status = "okay";
91         };
92 };