]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/gnu/dts/mips/UR-336UN.dts
Upgrade our copies of clang, llvm, lldb and compiler-rt to r311606 from
[FreeBSD/FreeBSD.git] / sys / gnu / dts / mips / UR-336UN.dts
1 /dts-v1/;
2
3 #include "rt3050.dtsi"
4
5 / {
6         compatible = "UR-336UN", "ralink,rt3052-soc";
7         model = "UPVEL UR-336UN";
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
18         gpio-leds {
19                 compatible = "gpio-leds";
20
21                 3g {
22                         label = "ur-336un:green:3g";
23                         gpios = <&gpio0 9 1>;
24                 };
25
26                 gateway {
27                         label = "ur-336un:green:gateway";
28                         gpios = <&gpio0 11 1>;
29                 };
30
31                 ap {
32                         label = "ur-336un:green:ap";
33                         gpios = <&gpio0 12 1>;
34                 };
35
36                 wps {
37                         label = "ur-336un:green:wps";
38                         gpios = <&gpio0 14 1>;
39                 };
40
41                 station {
42                         label = "ur-336un:green:station";
43                         gpios = <&gpio0 13 1>;
44                 };
45         };
46
47         gpio-keys-polled {
48                 compatible = "gpio-keys-polled";
49                 #address-cells = <1>;
50                 #size-cells = <0>;
51                 poll-interval = <20>;
52
53                 reset_wps {
54                         label = "reset_wps";
55                         gpios = <&gpio0 10 1>;
56                         linux,code = <0x198>;
57                 };
58
59                 mode {
60                         label = "mode";
61                         gpios = <&gpio0 7 1>;
62                         linux,code = <0x32>;
63                 };
64         };
65 };
66
67 &pinctrl {
68         state_default: pinctrl0 {
69                 gpio {
70                         ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
71                         ralink,function = "gpio";
72                 };
73         };
74 };
75
76 /* FIXME: no partitions defined */
77 /*&ethernet {
78         mtd-mac-address = <&factory 0x4004>;
79 };
80 */
81 &esw {
82         mediatek,portmap = <0x2f>;
83 };
84
85 /* FIXME: no partitions defined */
86 /*&wmac {
87         ralink,mtd-eeprom = <&factory 0>;
88 };
89 */
90 &otg {
91         status = "okay";
92 };