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