ramips: remove top-level {address,size}-cells properties from .dts files
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / WL-351.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "WL-351", "ralink,rt3052-soc";
7 model = "Sitecom WL-351 v1 002";
8
9 memorydetect {
10 ralink,memory = <0x0 0x200000 0x4000000>;
11 };
12
13
14 chosen {
15 bootargs = "console=ttyS0,57600 mtdparts=1f000000.cfi:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,3776k@0x50000(firmware)";
16 };
17
18 palmbus@10000000 {
19 sysc@0 {
20 ralink,pinmux = "uartlite", "jtag", "sdram", "rgmii";
21 ralink,gpiomux = "i2c", "spi", "mdio";
22 ralink,uartmux = "gpio";
23 ralink,wdtmux = <1>;
24 };
25
26 gpio0: gpio@600 {
27 status = "okay";
28 };
29
30 };
31
32 cfi@1f000000 {
33 compatible = "cfi-flash";
34 reg = <0x1f000000 0x800000>;
35
36 bank-width = <2>;
37 device-width = <2>;
38 #address-cells = <1>;
39 #size-cells = <1>;
40 };
41
42 ethernet@10100000 {
43 status = "okay";
44 };
45
46 esw@10110000 {
47 status = "okay";
48 ralink,portmap = <0x3f>;
49 ralink,fct2 = <0x0002500c>;
50 /*
51 * ext phy base addr 31, rx/tx clock skew 0,
52 * turbo mii off, rgmi 3.3v off, port 5 polling off
53 * port5: enabled, gige, full-duplex, rx/tx-flow-control
54 * port6: enabled, gige, full-duplex, rx/tx-flow-control
55 */
56 ralink,fpa2 = <0x1f003fff>;
57 };
58
59 wmac@10180000 {
60 status = "okay";
61 };
62
63 otg@101c0000 {
64 status = "okay";
65 };
66
67 gpio-leds {
68 compatible = "gpio-leds";
69 power {
70 label = "wl-351:amber:power";
71 gpio = <&gpio0 8 1>;
72 };
73 unpopulated {
74 label = "wl-351:amber:unpopulated";
75 gpio = <&gpio0 12 1>;
76 };
77 unpopulated2 {
78 label = "wl-351:blue:unpopulated";
79 gpio = <&gpio0 13 1>;
80 };
81 };
82
83 gpio-keys-polled {
84 compatible = "gpio-keys-polled";
85 #address-cells = <1>;
86 #size-cells = <0>;
87 poll-interval = <20>;
88 reset {
89 label = "reset";
90 gpio = <&gpio0 10 1>;
91 linux,code = <0x198>;
92 };
93 wps {
94 label = "wps";
95 gpio = <&gpio0 0 1>;
96 linux,code = <0x211>;
97 };
98 };
99
100 rtl8366rb {
101 compatible = "rtl8367rb";
102 gpio-sda = <&gpio0 1 0>;
103 gpio-sck = <&gpio0 2 0>;
104 };
105 };