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