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 = "dlink,dir-810l", "ralink,mt7620a-soc";
10 model = "D-Link DIR-810L";
11  
3 office 12 gpio-keys-polled {
1 office 13 compatible = "gpio-keys-polled";
3 office 14 #address-cells = <1>;
15 #size-cells = <0>;
1 office 16 poll-interval = <20>;
17  
18 reset {
19 label = "reset";
20 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
21 linux,code = <BTN_0>;
22 };
23  
24 wps {
25 label = "wps";
26 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
27 linux,code = <BTN_0>;
28 };
29 };
30  
3 office 31 gpio-leds {
1 office 32 compatible = "gpio-leds";
33  
3 office 34 power {
1 office 35 label = "dir-810l:green:power";
36 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
37 };
38  
39 wan {
40 label = "dir-810l:orange:wan";
41 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
42 };
43  
3 office 44 status {
1 office 45 label = "dir-810l:orange:power";
46 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
47 };
48 };
49 };
50  
51 &spi0 {
52 status = "okay";
53  
54 m25p80@0 {
3 office 55 #address-cells = <1>;
56 #size-cells = <1>;
1 office 57 compatible = "jedec,spi-nor";
58 reg = <0>;
59 spi-max-frequency = <10000000>;
60  
3 office 61 partition@0 {
62 label = "u-boot";
63 reg = <0x0 0x30000>;
64 read-only;
65 };
1 office 66  
3 office 67 partition@30000 {
68 label = "u-boot-env";
69 reg = <0x30000 0x10000>;
70 read-only;
71 };
1 office 72  
3 office 73 factory: partition@40000 {
74 label = "factory";
75 reg = <0x40000 0x10000>;
76 read-only;
77 };
1 office 78  
3 office 79 factory5g: partition@50000 {
80 label = "factory5g";
81 reg = <0x50000 0x10000>;
82 read-only;
83 };
1 office 84  
3 office 85 partition@60000 {
86 label = "Wolf_Config";
87 reg = <0x60000 0x10000>;
88 read-only;
89 };
1 office 90  
3 office 91 partition@70000 {
92 label = "MyDlink";
93 reg = <0x70000 0x80000>;
94 read-only;
95 };
1 office 96  
3 office 97 partition@e0000 {
98 label = "Jffs2";
99 reg = <0xe0000 0x80000>;
100 read-only;
101 };
1 office 102  
3 office 103 partition@170000 {
104 label = "firmware";
105 reg = <0x170000 0x690000>;
1 office 106 };
107 };
108 };
109  
110 &pinctrl {
111 state_default: pinctrl0 {
112 gpio {
113 ralink,group = "mdio", "rgmii1", "i2c", "wled", "uartf";
114 ralink,function = "gpio";
115 };
116 };
117 };
118  
119 &ethernet {
120 mtd-mac-address = <&factory 0x28>;
121 mediatek,portmap = "llllw";
122 };
123  
124 &gsw {
125 mediatek,port4 = "ephy";
126 pinctrl-names = "default";
127 pinctrl-0 = <&ephy_pins>;
128 };
129  
130 &pcie {
131 status = "okay";
132 };
133  
134 &wmac {
135 ralink,mtd-eeprom = <&factory 0>;
136 };