]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/gnu/dts/mips/DCS-930.dts
Update lldb to trunk r290819 and resolve conflicts.
[FreeBSD/FreeBSD.git] / sys / gnu / dts / mips / DCS-930.dts
1 /dts-v1/;
2
3 #include "rt3050.dtsi"
4
5 / {
6         compatible = "DCS-930", "ralink,rt3050-soc";
7         model = "D-Link DCS-930";
8
9         cfi@1f000000 {
10                 compatible = "cfi-flash";
11                 reg = <0x1f000000 0x400000>;
12                 bank-width = <2>;
13                 device-width = <2>;
14                 #address-cells = <1>;
15                 #size-cells = <1>;
16
17                 partition@0 {
18                         label = "u-boot";
19                         reg = <0x0 0x30000>;
20                         read-only;
21                 };
22
23                 partition@30000 {
24                         label = "u-boot-env";
25                         reg = <0x30000 0x10000>;
26                         read-only;
27                 };
28
29                 factory: partition@40000 {
30                         label = "factory";
31                         reg = <0x40000 0x10000>;
32                         read-only;
33                 };
34
35                 partition@50000 {
36                         label = "kernel";
37                         reg = <0x50000 0x150000>;
38                 };
39
40                 partition@150000 {
41                         label = "rootfs";
42                         reg = <0x150000 0x2b0000>;
43                 };
44
45                 partition {
46                         label = "firmware";
47                         reg = <0x50000 0x3b0000>;
48                 };
49         };
50
51         gpio-leds {
52                 compatible = "gpio-leds";
53
54                 wifi {
55                         label = "dcs-930:red:alert";
56                         gpios = <&gpio0 8 1>;
57                 };
58
59                 power {
60                         label = "dcs-930:green:status";
61                         gpios = <&gpio0 9 1>;
62                 };
63
64                 wps {
65                         label = "dcs-930:blue:wps";
66                         gpios = <&gpio0 13 1>;
67                 };
68         };
69
70         gpio-keys-polled {
71                 compatible = "gpio-keys-polled";
72                 #address-cells = <1>;
73                 #size-cells = <0>;
74                 poll-interval = <20>;
75
76                 wps {
77                         label = "wps";
78                         gpios = <&gpio0 0 1>;
79                         linux,code = <0x101>;
80                 };
81
82                 reset {
83                         label = "reset";
84                         gpios = <&gpio0 10 1>;
85                         linux,code = <0x198>;
86                 };
87         };
88 };
89
90 &pinctrl {
91         state_default: pinctrl0 {
92                 gpio {
93                         ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
94                         ralink,function = "gpio";
95                 };
96         };
97 };
98
99 &ethernet {
100         mtd-mac-address = <&factory 0x4>;
101 };
102
103 &esw {
104         mediatek,portmap = <0x2f>;
105 };
106
107 &wmac {
108         ralink,mtd-eeprom = <&factory 0>;
109 };
110
111 &otg {
112         status = "okay";
113 };