ramips: remove top-level {address,size}-cells properties from .dts files
[openwrt.git] / target / linux / ramips / dts / RTN56U.dts
1 /dts-v1/;
2
3 /include/ "rt3883.dtsi"
4
5 / {
6         compatible = "RT-N56U", "ralink,rt3883-soc";
7         model = "Asus RT-N56U";
8
9         memorydetect {
10                 ralink,memory = <0x0 0x200000 0x10000000>;
11         };
12
13         palmbus@10000000 {
14                 sysc@0 {
15                         ralink,pinmux = "uartlite", "spi";
16                         ralink,gpiomux = "i2c", "jtag";
17                         ralink,uartmux = "gpio";
18                         ralink,wdtmux = <0>;
19                 };
20
21                 timer@100 {
22                         status = "okay";
23                 };
24
25                 gpio0: gpio@600 {
26                         status = "okay";
27                 };
28
29                 gpio1: gpio@638 {
30                         status = "okay";
31                 };
32         };
33
34         ethernet@10100000 {
35                 status = "okay";
36
37                 ralink,fixed-link = <1000 1 1 1>;
38         };
39
40         wmac@10180000 {
41                 status = "okay";
42                 ralink,2ghz = <0>;
43         };
44
45         ehci@101c0000 {
46                 status = "okay";
47         };
48
49         ohci@101c1000 {
50                 status = "okay";
51         };
52
53         rtl8367 {
54                 compatible = "realtek,rtl8367";
55                 gpio-sda = <&gpio0 1 0>;
56                 gpio-sck = <&gpio0 2 0>;
57                 realtek,extif1 = <1 0 1 1 1 1 1 1 2>;
58         };
59
60         gpio-keys-polled {
61                 compatible = "gpio-keys-polled";
62                 #address-cells = <1>;
63                 #size-cells = <0>;
64                 poll-interval = <100>;
65                 reset {
66                         label = "reset";
67                         gpios = <&gpio0 13 0>;
68                         linux,code = <0x198>;
69                 };
70                 wps {
71                         label = "wps";
72                         gpios = <&gpio1 2 0>;
73                         linux,code = <0x211>;
74                 };
75         };
76
77         gpio-leds {
78                 compatible = "gpio-leds";
79
80                 power {
81                         label = "asus:blue:power";
82                         gpios = <&gpio0 0 1>;
83                 };
84                 lan {
85                         label = "asus:blue:lan";
86                         gpios = <&gpio0 19 1>;
87                 };
88                 wan {
89                         label = "asus:blue:wan";
90                         gpios = <&gpio1 3 1>;
91                 };
92                 usb {
93                         label = "asus:blue:usb";
94                         gpios = <&gpio1 0 1>;
95                 };
96         };
97 };