]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/gnu/dts/mips/MR-102N.dts
Update expat to 2.2.6
[FreeBSD/FreeBSD.git] / sys / gnu / dts / mips / MR-102N.dts
1 /dts-v1/;
2
3 #include "rt3050.dtsi"
4
5 / {
6         compatible = "MR-102N", "ralink,rt3052-soc";
7         model = "AXIMCom MR-102N";
8
9         cfi@1f000000 {
10                 compatible = "cfi-flash";
11                 reg = <0x1f000000 0x800000>;
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 = "firmware";
37                         reg = <0x50000 0x790000>;
38                 };
39
40                 partition@7e0000 {
41                         label = "nvram";
42                         reg = <0x7e0000 0x10000>;
43                 };
44
45                 partition@7f0000 {
46                         label = "nvram_backup";
47                         reg = <0x7f0000 0x10000>;
48                 };
49         };
50
51         gpio-leds {
52                 compatible = "gpio-leds";
53
54                 usb {
55                         label = "mr-102n:green:usb";
56                         gpios = <&gpio0 8 1>;
57                 };
58
59                 status {
60                         label = "mr-102n:amber:status";
61                         gpios = <&gpio0 9 1>;
62                 };
63
64                 wlan {
65                         label = "mr-102n:green:wlan";
66                         gpios = <&gpio0 11 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                 reset {
77                         label = "reset";
78                         gpios = <&gpio0 13 1>;
79                         linux,code = <0x198>;
80                 };
81
82                 wps {
83                         label = "wps";
84                         gpios = <&gpio0 18 1>;
85                         linux,code = <0x211>;
86                 };
87         };
88 };
89
90 &pinctrl {
91         state_default: pinctrl0 {
92                 gpio {
93                         ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
94                         ralink,function = "gpio";
95                 };
96         };
97 };
98
99 &ethernet {
100         mtd-mac-address = <&factory 0x4>;
101 };
102
103 &esw {
104         status = "okay";
105         #mediatek,portmap = <0x3e>;
106         mediatek,portmap = <0x2f>;
107 };
108
109 &wmac {
110         ralink,mtd-eeprom = <&factory 0>;
111 };
112
113
114 &otg {
115         status = "okay";
116 };