OpenWrt – Blame information for rev 1

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 = "zte,q7", "ralink,mt7620a-soc";
10 model = "ZTE Q7";
11  
12 aliases {
13 led-boot = &led_status_blue;
14 led-failsafe = &led_status_blue;
15 led-running = &led_status_blue;
16 led-upgrade = &led_status_blue;
17 };
18  
19 leds {
20 compatible = "gpio-leds";
21  
22 statred {
23 label = "zte-q7:red:status";
24 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
25 };
26  
27 led_status_blue: statblue {
28 label = "zte-q7:blue:status";
29 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
30 };
31 };
32  
33 keys {
34 compatible = "gpio-keys-polled";
35 poll-interval = <20>;
36  
37 reset {
38 label = "reset";
39 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
41 };
42 };
43 };
44  
45 &gpio0 {
46 status = "okay";
47 };
48  
49 &gpio1 {
50 status = "okay";
51 };
52  
53 &spi0 {
54 status = "okay";
55  
56 m25p80@0 {
57 compatible = "jedec,spi-nor";
58 reg = <0>;
59 spi-max-frequency = <10000000>;
60  
61 partitions {
62 compatible = "fixed-partitions";
63 #address-cells = <1>;
64 #size-cells = <1>;
65  
66 partition@0 {
67 label = "u-boot";
68 reg = <0x0 0x30000>;
69 read-only;
70 };
71  
72 partition@30000 {
73 label = "u-boot-env";
74 reg = <0x30000 0x10000>;
75 read-only;
76 };
77  
78 factory: partition@40000 {
79 label = "factory";
80 reg = <0x40000 0x10000>;
81 read-only;
82 };
83  
84 partition@50000 {
85 compatible = "denx,uimage";
86 label = "firmware";
87 reg = <0x50000 0x7b0000>;
88 };
89 };
90 };
91 };
92  
93 &pinctrl {
94 state_default: pinctrl0 {
95 gpio {
96 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled";
97 ralink,function = "gpio";
98 };
99 };
100 };
101  
102 &ethernet {
103 mtd-mac-address = <&factory 0x4>;
104 mediatek,portmap = "wllll";
105 };
106  
107 &wmac {
108 ralink,mtd-eeprom = <&factory 0>;
109 };
110  
111 &sdhci {
112 status = "okay";
113 };
114  
115 &ehci {
116 status = "okay";
117 };
118  
119 &ohci {
120 status = "okay";
121 };
122  
123 &gsw {
124 mediatek,port4 = "ephy";
125 };