f9e271dd7c8c59327c1b836a32645798b6b77884
[openwrt/staging/wigyori.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 palmbus@10000000 {
14 sysc@0 {
15 ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii";
16 ralink,gpiomux = "jtag";
17 ralink,uartmux = "gpio";
18 ralink,wdtmux = <1>;
19 };
20
21 gpio0: gpio@600 {
22 status = "okay";
23 };
24
25 };
26
27 cfi@1f000000 {
28 compatible = "cfi-flash";
29 reg = <0x1f000000 0x800000>;
30
31 bank-width = <2>;
32 device-width = <2>;
33 #address-cells = <1>;
34 #size-cells = <1>;
35
36 partition@0 {
37 label = "u-boot";
38 reg = <0x0 0x30000>;
39 read-only;
40 };
41
42 partition@30000 {
43 label = "u-boot-env";
44 reg = <0x30000 0x10000>;
45 read-only;
46 };
47
48 factory: partition@40000 {
49 label = "factory";
50 reg = <0x40000 0x10000>;
51 read-only;
52 };
53
54 partition@50000 {
55 label = "firmware";
56 reg = <0x50000 0x3b0000>;
57 };
58 };
59
60 gpio-leds {
61 compatible = "gpio-leds";
62 power {
63 label = "d105:red:power";
64 gpios = <&gpio0 0 1>;
65 };
66 wps {
67 label = "d105:green:usb";
68 gpios = <&gpio0 13 1>;
69 };
70 };
71
72 gpio-keys-polled {
73 compatible = "gpio-keys-polled";
74 #address-cells = <1>;
75 #size-cells = <0>;
76 poll-interval = <20>;
77 reset {
78 label = "reset";
79 gpios = <&gpio0 10 1>;
80 linux,code = <0x198>;
81 };
82 };
83
84 ethernet@10100000 {
85 status = "okay";
86 };
87
88 esw@10110000 {
89 status = "okay";
90 ralink,portmap = <0x2f>;
91 };
92
93 wmac@10180000 {
94 status = "okay";
95 };
96
97 otg@101c0000 {
98 status = "okay";
99 };
100 };