OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /dts-v1/;
2  
3 #include "mt7628an.dtsi"
4  
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7  
8 / {
9 compatible = "hiwifi,hc5661a", "mediatek,mt7628an-soc";
10 model = "HiWiFi HC5661A";
11  
12 chosen {
13 bootargs = "console=ttyS0,115200";
14 };
15  
16 memory@0 {
17 device_type = "memory";
18 reg = <0x0 0x8000000>;
19 };
20  
3 office 21 gpio-leds {
1 office 22 compatible = "gpio-leds";
23  
3 office 24 system {
1 office 25 label = "hc5661a:blue:system";
26 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
27 };
28 internet {
29 label = "hc5661a:blue:internet";
30 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
31 };
32 wlan2g {
33 label = "hc5661a:blue:wlan2g";
34 gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
35 };
36 };
37  
3 office 38 gpio-keys {
1 office 39 compatible = "gpio-keys-polled";
3 office 40 #address-cells = <1>;
41 #size-cells = <0>;
1 office 42 poll-interval = <20>;
43  
44 reset {
45 label = "reset";
46 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
48 };
49 };
50 };
51  
52 &pinctrl {
53 state_default: pinctrl0 {
54 gpio {
55 ralink,group = "i2c", "refclk", "wled_an";
56 ralink,function = "gpio";
57 };
58 };
59 };
60  
61 &spi0 {
62 status = "okay";
63  
64 m25p80@0 {
3 office 65 #address-cells = <1>;
66 #size-cells = <1>;
1 office 67 compatible = "jedec,spi-nor";
68 reg = <0>;
69 linux,modalias = "m25p80", "w25q128";
70 spi-max-frequency = <10000000>;
3 office 71 m25p,chunked-io = <32>;
1 office 72  
3 office 73 partition@0 {
74 label = "u-boot";
75 reg = <0x0 0x30000>;
76 read-only;
77 };
1 office 78  
3 office 79 partition@30000 {
80 label = "hw_panic";
81 reg = <0x30000 0x10000>;
82 read-only;
83 };
1 office 84  
3 office 85 factory: partition@40000 {
86 label = "factory";
87 reg = <0x40000 0x10000>;
88 read-only;
89 };
1 office 90  
3 office 91 partition@50000 {
92 label = "firmware";
93 reg = <0x50000 0xf70000>;
94 };
1 office 95  
3 office 96 partition@fc0000 {
97 label = "oem";
98 reg = <0xfc0000 0x20000>;
99 read-only;
100 };
1 office 101  
3 office 102 bdinfo: partition@fe0000 {
103 label = "bdinfo";
104 reg = <0xfe0000 0x10000>;
105 read-only;
106 };
1 office 107  
3 office 108 partition@ff0000 {
109 label = "backup";
110 reg = <0xff0000 0x10000>;
111 read-only;
1 office 112 };
113 };
114 };
115  
116 &ethernet {
117 mtd-mac-address = <&factory 0x4>;
118 mediatek,portmap = "wllll";
119 };
120  
121 &wmac {
122 status = "okay";
123 };