]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/gnu/dts/mips/DIR-600-B2.dts
Upgrade to OpenSSH 7.9p1.
[FreeBSD/FreeBSD.git] / sys / gnu / dts / mips / DIR-600-B2.dts
1 /dts-v1/;
2
3 #include "rt3050.dtsi"
4
5 / {
6         compatible = "DIR-600-B2", "ralink,rt3050-soc";
7         model = "D-Link DIR-600 B2";
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                 devdata: partition@30000 {
24                         label = "devdata";
25                         reg = <0x30000 0x10000>;
26                         read-only;
27                 };
28
29                 partition@40000 {
30                         label = "devconf";
31                         reg = <0x40000 0x10000>;
32                         read-only;
33                 };
34
35                 partition@50000 {
36                         label = "firmware";
37                         reg = <0x50000 0x3b0000>;
38                 };
39         };
40
41         gpio-keys-polled {
42                 compatible = "gpio-keys-polled";
43                 #address-cells = <1>;
44                 #size-cells = <0>;
45                 poll-interval = <20>;
46
47                 reset {
48                         label = "reset";
49                         gpios = <&gpio0 10 1>;
50                         linux,code = <0x198>;
51                 };
52
53                 wps {
54                         label = "wps";
55                         gpios = <&gpio0 0 1>;
56                         linux,code = <0x211>;
57                 };
58         };
59
60         gpio-leds {
61                 compatible = "gpio-leds";
62
63                 status {
64                         label = "dir-600-b2:amber:status";
65                         gpios = <&gpio0 8 1>;
66                 };
67
68                 status2 {
69                         label = "dir-600-b2:green:status";
70                         gpios = <&gpio0 9 1>;
71                 };
72
73                 wan {
74                         label = "dir-600-b2:amber:wan";
75                         gpios = <&gpio0 14 1>;
76                 };
77
78                 wan2 {
79                         label = "dir-600-b2:green:wan";
80                         gpios = <&gpio0 12 1>;
81                 };
82
83                 wps {
84                         label = "dir-600-b2:blue:wps";
85                         gpios = <&gpio0 13 1>;
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 &esw {
100         mediatek,portmap = <0x2f>;
101 };
102
103 &wmac {
104         ralink,mtd-eeprom = <&devdata 0x4000>;
105 };