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