OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /dts-v1/;
2  
3 #include "rt3883.dtsi"
4  
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7  
8 / {
9 compatible = "trendnet,tew-691gr", "ralink,rt3883-soc";
10 model = "TRENDnet TEW-691GR";
11  
12 nor-flash@1c000000 {
13 compatible = "cfi-flash";
14 reg = <0x1c000000 0x800000>;
15 bank-width = <2>;
3 office 16 #address-cells = <1>;
17 #size-cells = <1>;
1 office 18  
3 office 19 partition@0 {
20 reg = <0x0 0x0030000>;
21 label = "u-boot";
22 read-only;
23 };
1 office 24  
3 office 25 partition@30000 {
26 reg = <0x00030000 0x00010000>;
27 label = "u-boot-env";
28 read-only;
29 };
1 office 30  
3 office 31 factory: partition@40000 {
32 reg = <0x00040000 0x00010000>;
33 label = "factory";
34 read-only;
35 };
1 office 36  
3 office 37 partition@50000 {
38 reg = <0x00050000 0x007b0000>;
39 label = "firmware";
1 office 40 };
41 };
42  
3 office 43 gpio-keys-polled {
1 office 44 compatible = "gpio-keys-polled";
3 office 45 #address-cells = <1>;
46 #size-cells = <0>;
1 office 47 poll-interval = <100>;
48  
49 reset {
50 label = "reset";
51 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_RESTART>;
53 };
54  
55 wps {
56 label = "wps";
57 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_WPS_BUTTON>;
59 };
60  
61 rfkill {
62 label = "rfkill";
63 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
64 linux,code = <KEY_RFKILL>;
65 };
66 };
67  
3 office 68 gpio-leds {
1 office 69 compatible = "gpio-leds";
70  
3 office 71 wps {
1 office 72 label = "tew-691gr:green:wps";
73 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
74 };
75 };
76 };
77  
78 &gpio1 {
79 status = "okay";
80 };
81  
82 &pinctrl {
83 state_default: pinctrl0 {
84 gpio {
85 ralink,group = "spi", "i2c", "jtag", "uartf";
86 ralink,function = "gpio";
87 };
88 };
89 };
90  
91 &ethernet {
92 mtd-mac-address = <&factory 0x4>;
93  
94 port@0 {
95 phy-handle = <&phy0>;
96 phy-mode = "rgmii";
97 };
98  
99 mdio-bus {
100 status = "okay";
101  
102 phy0: ethernet-phy@0 {
103 reg = <0>;
104 phy-mode = "rgmii";
105 };
106 };
107 };
108  
109 &wmac {
110 status = "okay";
111 ralink,mtd-eeprom = <&factory 0x0>;
112 ralink,5ghz = <0>;
113 mtd-mac-address = <&factory 0x4>;
114 mtd-mac-address-increment = <1>;
115 };