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 = "kimax,u25awf-h1","ralink,mt7620a-soc";
10 model = "Kimax U25AWF-H1";
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 13 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_RESTART>;
22 };
23 };
24  
3 office 25 gpio-leds {
1 office 26 compatible = "gpio-leds";
27  
3 office 28 wifi {
1 office 29 label = "u25awf:red:wifi";
30 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
31 };
32  
33 lan {
34 label = "u25awf:green:lan";
35 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
36 };
37 };
38 };
39  
40 &gpio2 {
41 status = "okay";
42 };
43  
44 &gpio3 {
45 status = "okay";
46 };
47  
48 &spi0 {
49 status = "okay";
50  
51 m25p80@0 {
3 office 52 #address-cells = <1>;
53 #size-cells = <1>;
1 office 54 compatible = "jedec,spi-nor";
55 reg = <0>;
56 spi-max-frequency = <10000000>;
57  
3 office 58 partition@0 {
59 label = "u-boot";
60 reg = <0x0 0x30000>;
61 read-only;
62 };
1 office 63  
3 office 64 partition@30000 {
65 label = "u-boot-env";
66 reg = <0x30000 0x10000>;
67 read-only;
68 };
1 office 69  
3 office 70 factory: partition@40000 {
71 label = "factory";
72 reg = <0x40000 0x10000>;
73 read-only;
74 };
1 office 75  
3 office 76 partition@50000 {
77 label = "firmware";
78 reg = <0x50000 0xfb0000>;
1 office 79 };
80 };
81 };
82  
83 &ehci {
84 status = "okay";
85 };
86  
87 &ohci {
88 status = "okay";
89 };
90  
91 &ethernet {
92 mtd-mac-address = <&factory 0x4>;
93 };
94  
95 &wmac {
96 ralink,mtd-eeprom = <&factory 0>;
97 };
98  
99 &pinctrl {
100 state_default: pinctrl0 {
101 default {
102 ralink,group = "uartf", "ephy", "wled";
103 ralink,function = "gpio";
104 };
105 };
106 };