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 = "aigale,ai-br100", "ralink,mt7620a-soc";
10 model = "Aigale Ai-BR100";
11  
3 office 12 gpio-leds {
1 office 13 compatible = "gpio-leds";
14  
15 wan {
16 label = "ai-br100:blue:wan";
17 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
18 };
19  
3 office 20 wlan {
1 office 21 label = "ai-br100:blue:wlan";
22 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
23 };
24 };
25  
3 office 26 gpio-keys-polled {
1 office 27 compatible = "gpio-keys-polled";
3 office 28 #address-cells = <1>;
29 #size-cells = <0>;
1 office 30 poll-interval = <20>;
31  
32 reset {
33 label = "reset";
34 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
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 0>;
56 spi-max-frequency = <10000000>;
57  
3 office 58 partition@0 {
59 label = "u-boot";
60 reg = <0x0 0x20000>;
61 read-only;
62 };
1 office 63  
3 office 64 partition@20000 {
65 label = "u-boot-env";
66 reg = <0x20000 0x10000>;
67 read-only;
68 };
1 office 69  
3 office 70 factory: partition@30000 {
71 label = "factory";
72 reg = <0x30000 0x10000>;
73 read-only;
74 };
1 office 75  
3 office 76 partition@40000 {
77 label = "firmware";
78 reg = <0x40000 0x7c0000>;
1 office 79 };
80 };
81 };
82  
83 &ehci {
84 status = "okay";
85 };
86  
87 &ohci {
88 status = "okay";
89 };
90  
91 &pinctrl {
92 state_default: pinctrl0 {
93 gpio {
94 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled", "nd_sd";
95 ralink,function = "gpio";
96 };
97 };
98 };
99  
100 &ethernet {
101 mtd-mac-address = <&factory 0x4>;
102 mediatek,portmap = "llllw";
103 };
104  
105 &wmac {
106 ralink,mtd-eeprom = <&factory 0>;
107 };