OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 #include "mt7620a.dtsi"
2  
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5  
6 / {
7 compatible = "hiwifi,hc5x61", "ralink,mt7620a-soc";
8  
9 chosen {
10 bootargs = "console=ttyS0,115200";
11 };
12  
3 office 13 gpio-keys-polled {
1 office 14 compatible = "gpio-keys-polled";
3 office 15 #address-cells = <1>;
16 #size-cells = <0>;
1 office 17 poll-interval = <20>;
18  
19 reset {
20 label = "reset";
21 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_RESTART>;
23 };
24 };
25  
26 gpio_export {
27 compatible = "gpio-export";
28 #size-cells = <0>;
29  
30 usbpower {
31 gpio-export,name = "usbpower";
32 gpio-export,output = <1>;
33 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
34 };
35 };
36 };
37  
38 &sysc {
39 ralink,gpiomux = "i2c", "jtag";
40 ralink,uartmux = "gpio";
41 ralink,wdtmux = <1>;
42 };
43  
44 &gpio0 {
45 status = "okay";
46 };
47  
48 &gpio2 {
49 status = "okay";
50 };
51  
52 &gpio3 {
53 status = "okay";
54 };
55  
56 &spi0 {
57 status = "okay";
58  
59 m25p80@0 {
3 office 60 #address-cells = <1>;
61 #size-cells = <1>;
1 office 62 compatible = "jedec,spi-nor";
63 reg = <0>;
64 spi-max-frequency = <10000000>;
65  
3 office 66 partition@0 {
67 label = "u-boot";
68 reg = <0x0 0x30000>;
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 };
1 office 81  
3 office 82 partition@50000 {
83 label = "firmware";
84 reg = <0x50000 0xf80000>;
85 };
1 office 86  
3 office 87 partition@fd0000 {
88 label = "hwf_config";
89 reg = <0xfd0000 0x10000>;
90 };
1 office 91  
3 office 92 bdinfo: partition@fe0000 {
93 label = "bdinfo";
94 reg = <0xfe0000 0x10000>;
95 };
1 office 96  
3 office 97 partition@ff0000 {
98 label = "backup";
99 reg = <0xff0000 0x10000>;
1 office 100 };
101 };
102 };
103  
3 office 104 &ehci {
105 status = "okay";
106 };
107  
108 &ohci {
109 status = "okay";
110 };
111  
1 office 112 &ethernet {
113 pinctrl-names = "default";
114 pinctrl-0 = <&ephy_pins>;
115 mtd-mac-address = <&factory 0x4>;
116 mediatek,portmap = "wllll";
117 };
118  
119 &sdhci {
120 status = "okay";
121 };
122  
123 &wmac {
124 ralink,mtd-eeprom = <&factory 0>;
125 pinctrl-names = "default";
126 pinctrl-0 = <&pa_pins>;
127 };
128  
3 office 129 &pcie {
130 status = "okay";
131 };
132  
1 office 133 &pinctrl {
134 state_default: pinctrl0 {
135 gpio {
3 office 136 ralink,group = "uartf", "wled", "nd_sd";
1 office 137 ralink,function = "gpio";
138 };
139 };
140 };