OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /dts-v1/;
2  
3 #include "mt7620n.dtsi"
4  
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7  
8 / {
9 compatible = "buffalo,wmr-300", "ralink,mt7620n-soc";
10 model = "Buffalo WMR-300";
11  
3 office 12 gpio-leds {
1 office 13 compatible = "gpio-leds";
14  
15 aoss1 {
16 label = "wmr-300:red:aoss";
17 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
18 };
19  
20 aoss2 {
21 label = "wmr-300:green:aoss";
22 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
23 };
24  
3 office 25 power {
1 office 26 label = "wmr-300:green:status";
27 gpios = <&gpio2 4 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 aoss {
44 label = "aoss";
45 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_WPS_BUTTON>;
47 };
48 };
49 };
50  
51 &gpio2 {
52 status = "okay";
53 };
54  
55 &spi0 {
56 status = "okay";
57  
58 m25p80@0 {
3 office 59 #address-cells = <1>;
60 #size-cells = <1>;
1 office 61 compatible = "jedec,spi-nor";
62 reg = <0>;
63 spi-max-frequency = <10000000>;
64  
3 office 65 partition@0 {
66 label = "u-boot";
67 reg = <0x0 0x30000>;
68 read-only;
69 };
1 office 70  
3 office 71 partition@30000 {
72 label = "u-boot-env";
73 reg = <0x30000 0x10000>;
74 read-only;
75 };
1 office 76  
3 office 77 factory: partition@40000 {
78 label = "factory";
79 reg = <0x40000 0x10000>;
80 read-only;
81 };
1 office 82  
3 office 83 partition@50000 {
84 label = "firmware";
85 reg = <0x50000 0x7b0000>;
1 office 86 };
87 };
88 };
89  
90 &ethernet {
91 mtd-mac-address = <&factory 0x4>;
92 mediatek,portmap = "wllll";
93 };
94  
95 &wmac {
96 ralink,mtd-eeprom = <&factory 0>;
97 };
98  
99 &pinctrl {
100 state_default: pinctrl0 {
101 default {
102 ralink,group = "i2c", "ephy";
103 ralink,function = "gpio";
104 };
105 };
106 };