ramips: remove top-level {address,size}-cells properties from .dts files
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / OMNI-EMB-HPM.dts
1 /dts-v1/;
2
3 /include/ "rt3883.dtsi"
4
5 / {
6 compatible = "OMNI-EMB-HPM", "ralink,rt3883-soc";
7 model = "Omnima EMB HPM";
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 = <1>;
19 };
20
21 timer@100 {
22 status = "okay";
23 };
24
25 gpio0: gpio@600 {
26 status = "okay";
27 };
28
29 spi@b00 {
30 status = "okay";
31
32 m25p80@0 {
33 #address-cells = <1>;
34 #size-cells = <1>;
35 compatible = "mx25l6405d";
36 reg = <0 0>;
37 linux,modalias = "m25p80";
38 spi-max-frequency = <25000000>;
39 };
40 };
41 };
42
43 ethernet@10100000 {
44 status = "okay";
45 ralink,phy-mask = <0x10>;
46 phy-mode = "rgmii";
47 };
48
49 wmac@10180000 {
50 status = "okay";
51 };
52
53 ehci@101c0000 {
54 status = "okay";
55 };
56
57 ohci@101c1000 {
58 status = "okay";
59 };
60
61 gpio-keys-polled {
62 compatible = "gpio-keys-polled";
63 #address-cells = <1>;
64 #size-cells = <0>;
65 poll-interval = <100>;
66 reset {
67 label = "reset";
68 gpios = <&gpio0 14 0>;
69 linux,code = <0x198>;
70 };
71 };
72
73 gpio-leds {
74 compatible = "gpio-leds";
75
76 power {
77 label = "emb:orange:power";
78 gpios = <&gpio0 7 1>;
79 };
80 status {
81 label = "emb:green:status";
82 gpios = <&gpio0 21 1>;
83 };
84 eth {
85 label = "emb:green:eth";
86 gpios = <&gpio0 20 1>;
87 };
88 eth2 {
89 label = "emb:red:eth";
90 gpios = <&gpio0 18 1>;
91 };
92 wifi {
93 label = "emb:green:wifi";
94 gpios = <&gpio0 17 1>;
95 };
96 wifi2 {
97 label = "emb:red:wifi";
98 gpios = <&gpio0 19 1>;
99 };
100 };
101
102 gpio_export {
103 compatible = "gpio-export";
104 #size-cells = <0>;
105 /* gpio 12 and 13 handle the OC input */
106 usb0 {
107 gpio-export,name = "usb0";
108 gpio-export,output = <1>;
109 gpios = <&gpio0 2 0>;
110 };
111 usb1 {
112 gpio-export,name = "usb1";
113 gpio-export,output = <1>;
114 gpios = <&gpio0 1 0>;
115 };
116 };
117 };