43d9c022bc7858201e426c13dac8fbbe41984b0f
[openwrt.git] / target / linux / ramips / dts / BC2.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         #address-cells = <1>;
7         #size-cells = <1>;
8         compatible = "BC2", "ralink,rt3052-soc";
9         model = "NexAira BC2";
10
11         memorydetect {
12                 ralink,memory = <0x0 0x200000 0x4000000>;
13         };
14
15         chosen {
16                 bootargs = "console=ttyS0,57600 mtdparts=1f000000.cfi:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,7872k@0x50000(firmware)";
17         };
18
19         palmbus@10000000 {
20                 sysc@0 {
21                         ralink,pinmmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii";
22                         ralink,gpiommux = "jtag";
23                         ralink,uartmux = "gpio";
24                         ralink,wdtmux = <1>;
25                 };
26
27                 gpio0: gpio@600 {
28                         status = "okay";
29                 };
30
31         };
32
33         cfi@1f000000 {
34                 compatible = "cfi-flash";
35                 reg = <0x1f000000 0x800000>;
36
37                 bank-width = <2>;
38                 device-width = <2>;
39                 #address-cells = <1>;
40                 #size-cells = <1>;
41         };
42
43         gpio-leds {
44                 compatible = "gpio-leds";
45                 usb {
46                         label = "bc2:blue:usb";
47                         gpios = <&gpio0 20 1>;
48                 };
49         };
50
51         gpio-keys-polled {
52                 compatible = "gpio-keys-polled";
53                 #address-cells = <1>;
54                 #size-cells = <0>;
55                 poll-interval = <20>;
56                 reset {
57                         label = "reset";
58                         gpios = <&gpio0 17 1>;
59                         linux,code = <0x198>;
60                 };
61         };
62
63         ethernet@10100000 {
64                 status = "okay";
65         };
66
67         esw@10110000 {
68                 status = "okay";
69                 ralink,portmap = <0x2f>;
70         };
71
72         wmac@10180000 {
73                 status = "okay";
74         };
75
76         otg@101c0000 {
77                 status = "okay";
78         };
79 };