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