fix typo pinmmux -> pinmux
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / D105.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 #address-cells = <1>;
7 #size-cells = <1>;
8 compatible = "D105", "ralink,rt3050-soc";
9 model = "Huawei D105";
10
11 memorydetect {
12 ralink,memory = <0x0 0x200000 0x4000000>;
13 };
14
15 chosen {
16 bootargs = "console=ttyS0,57600 mtdparts=1f000000.cfi:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,3776k@0x50000(firmware)";
17 };
18
19 palmbus@10000000 {
20 sysc@0 {
21 ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii";
22 ralink,gpiomux = "jtag";
23 ralink,uartmux = "gpio";
24 ralink,wdtmux = <1>;
25 };
26
27 gpio0: gpio@600 {
28 status = "okay";
29 };
30
31 };
32
33 cfi@1f000000 {
34 compatible = "cfi-flash";
35 reg = <0x1f000000 0x800000>;
36
37 bank-width = <2>;
38 device-width = <2>;
39 #address-cells = <1>;
40 #size-cells = <1>;
41 };
42
43 gpio-leds {
44 compatible = "gpio-leds";
45 power {
46 label = "d105:red:power";
47 gpios = <&gpio0 0 1>;
48 };
49 wps {
50 label = "d105:green:usb";
51 gpios = <&gpio0 13 1>;
52 };
53 };
54
55 gpio-keys-polled {
56 compatible = "gpio-keys-polled";
57 #address-cells = <1>;
58 #size-cells = <0>;
59 poll-interval = <20>;
60 reset {
61 label = "reset";
62 gpios = <&gpio0 10 1>;
63 linux,code = <0x198>;
64 };
65 };
66
67 ethernet@10100000 {
68 status = "okay";
69 };
70
71 esw@10110000 {
72 status = "okay";
73 ralink,portmap = <0x2f>;
74 };
75
76 wmac@10180000 {
77 status = "okay";
78 };
79
80 otg@101c0000 {
81 status = "okay";
82 };
83 };