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