OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /dts-v1/;
2  
3 #include "mt7620a.dtsi"
4  
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7  
8 / {
9 compatible = "asus,rt-ac51u", "ralink,mt7620a-soc";
10 model = "Asus RT-AC51U";
11  
3 office 12 gpio-leds {
1 office 13 compatible = "gpio-leds";
14  
3 office 15 power {
1 office 16 label = "rt-ac51u:blue:power";
17 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
18 };
19  
20 usb {
21 label = "rt-ac51u:blue:usb";
22 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
23 };
24  
25 wifi {
26 label = "rt-ac51u:blue:wifi";
27 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
28 };
29 };
30  
3 office 31 gpio-keys-polled {
1 office 32 compatible = "gpio-keys-polled";
3 office 33 #address-cells = <1>;
34 #size-cells = <0>;
1 office 35 poll-interval = <20>;
36  
37 reset {
38 label = "reset";
39 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
41 };
42  
43 wps {
44 label = "wps";
45 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_WPS_BUTTON>;
47 };
48 };
49  
50 gpio_export {
51 compatible = "gpio-export";
52 #size-cells = <0>;
53  
54 enable-leds {
55 gpio-export,name = "enable-leds";
56 gpio-export,output = <1>;
57 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
58 };
59 };
60 };
61  
62 &spi0 {
63 status = "okay";
64  
65 m25p80@0 {
3 office 66 #address-cells = <1>;
67 #size-cells = <1>;
1 office 68 compatible = "jedec,spi-nor";
69 reg = <0>;
70 spi-max-frequency = <10000000>;
71  
3 office 72 partition@0 {
73 label = "u-boot";
74 reg = <0x0 0x30000>;
75 read-only;
76 };
1 office 77  
3 office 78 partition@30000 {
79 label = "u-boot-env";
80 reg = <0x30000 0x10000>;
81 read-only;
82 };
1 office 83  
3 office 84 factory: partition@40000 {
85 label = "factory";
86 reg = <0x40000 0x10000>;
87 read-only;
88 };
1 office 89  
3 office 90 partition@50000 {
91 label = "firmware";
92 reg = <0x50000 0xfb0000>;
1 office 93 };
94 };
95 };
96  
97 &ehci {
98 status = "okay";
99 };
100  
101 &ohci {
102 status = "okay";
103 };
104  
105 &gpio3 {
106 status = "okay";
107 };
108  
109 &ethernet {
110 status = "okay";
111 mtd-mac-address = <&factory 0x4>;
112 mediatek,portmap = "wllll";
113 };
114  
115 &wmac {
116 ralink,mtd-eeprom = <&factory 0>;
117 };
118  
119 &pinctrl {
120 state_default: pinctrl0 {
121 gpio {
122 ralink,group = "i2c", "wled", "uartf";
123 ralink,function = "gpio";
124 };
125 };
126 };