]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/gnu/dts/mips/AWAPN2403.dts
Update lldb to trunk r290819 and resolve conflicts.
[FreeBSD/FreeBSD.git] / sys / gnu / dts / mips / AWAPN2403.dts
1 /dts-v1/;
2
3 #include "rt3050.dtsi"
4
5 / {
6         compatible = "AWAPN2403", "ralink,rt3052-soc";
7         model = "AsiaRF AWAPN2403";
8
9         gpio-leds {
10                 compatible = "gpio-leds";
11
12                 link {
13                         label = "awapn2403:green:wps";
14                         gpios = <&gpio0 14 1>;
15                 };
16         };
17
18         gpio-keys-polled {
19                 compatible = "gpio-keys-polled";
20                 #address-cells = <1>;
21                 #size-cells = <0>;
22                 poll-interval = <20>;
23
24                 reset {
25                         label = "reset";
26                         gpios = <&gpio0 0 1>;
27                         linux,code = <0x198>;
28                 };
29         };
30 };
31
32 &spi0 {
33         status = "okay";
34
35         m25p80@0 {
36                 #address-cells = <1>;
37                 #size-cells = <1>;
38                 compatible = "jedec,spi-nor";
39                 reg = <0>;
40                 linux,modalias = "m25p80", "mx25l3205d";
41                 spi-max-frequency = <10000000>;
42
43                 partition@0 {
44                         label = "u-boot";
45                         reg = <0x0 0x30000>;
46                         read-only;
47                 };
48
49                 partition@30000 {
50                         label = "u-boot-env";
51                         reg = <0x30000 0x10000>;
52                         read-only;
53                 };
54
55                 factory: partition@40000 {
56                         label = "factory";
57                         reg = <0x40000 0x10000>;
58                         read-only;
59                 };
60
61                 partition@50000 {
62                         label = "firmware";
63                         reg = <0x50000 0x3b0000>;
64                 };
65         };
66 };
67
68 &pinctrl {
69         state_default: pinctrl0 {
70                 gpio {
71                         ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
72                         ralink,function = "gpio";
73                 };
74         };
75 };
76
77 &esw {
78         mediatek,portmap = <0x3e>;
79 };
80
81 &wmac {
82         ralink,mtd-eeprom = <&factory 0>;
83 };