]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/gnu/dts/mips/PSR-680W.dts
Update lldb to trunk r290819 and resolve conflicts.
[FreeBSD/FreeBSD.git] / sys / gnu / dts / mips / PSR-680W.dts
1 /dts-v1/;
2
3 #include "rt3050.dtsi"
4
5 / {
6         compatible = "PSR-680W", "ralink,rt3052-soc";
7         model = "Petatel PSR-680W Wireless 3G Router";
8
9         chosen {
10                 bootargs = "console=ttyS0,115200";
11         };
12
13         cfi@1f000000 {
14                 compatible = "cfi-flash";
15                 reg = <0x1f000000 0x800000>;
16                 bank-width = <2>;
17                 device-width = <2>;
18                 #address-cells = <1>;
19                 #size-cells = <1>;
20
21                 partition@0 {
22                         label = "u-boot";
23                         reg = <0x0 0x30000>;
24                         read-only;
25                 };
26
27                 partition@30000 {
28                         label = "u-boot-env";
29                         reg = <0x30000 0x10000>;
30                         read-only;
31                 };
32
33                 factory: partition@40000 {
34                         label = "factory";
35                         reg = <0x40000 0x10000>;
36                         read-only;
37                 };
38
39                 partition@50000 {
40                         label = "firmware";
41                         reg = <0x50000 0x3b0000>;
42                 };
43         };
44
45         gpio-leds {
46                 compatible = "gpio-leds";
47
48                 wan {
49                         label = "psr-680w:red:wan";
50                         gpios = <&gpio0 19 1>;
51                 };
52         };
53
54         gpio-keys-polled {
55                 compatible = "gpio-keys-polled";
56                 #address-cells = <1>;
57                 #size-cells = <0>;
58                 poll-interval = <20>;
59
60                 reset {
61                         label = "reset";
62                         gpios = <&gpio0 0 1>;
63                         linux,code = <0x198>;
64                 };
65         };
66 };
67
68 &pinctrl {
69         state_default: pinctrl0 {
70                 gpio {
71                         ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
72                         ralink,function = "gpio";
73                 };
74         };
75 };
76
77 &ethernet {
78         mtd-mac-address = <&factory 0x4>;
79 };
80
81 &esw {
82         mediatek,portmap = <0x3e>;
83 };
84
85 &wmac {
86         ralink,mtd-eeprom = <&factory 0>;
87 };
88
89 &otg {
90         status = "okay";
91 };