OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "mt7621.dtsi" |
||
4 | |||
5 | #include <dt-bindings/gpio/gpio.h> |
||
6 | #include <dt-bindings/input/input.h> |
||
7 | |||
8 | / { |
||
9 | compatible = "hiwifi,hc5962", "mediatek,mt7621-soc"; |
||
10 | model = "HiWiFi HC5962"; |
||
11 | |||
12 | memory@0 { |
||
13 | device_type = "memory"; |
||
14 | reg = <0x0 0x10000000>; |
||
15 | }; |
||
16 | |||
17 | chosen { |
||
18 | bootargs = "console=ttyS0,115200"; |
||
19 | }; |
||
20 | |||
21 | gpio-leds { |
||
22 | compatible = "gpio-leds"; |
||
23 | |||
24 | status { |
||
25 | label = "hc5962:white:status"; |
||
26 | gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; |
||
27 | }; |
||
28 | |||
29 | system { |
||
30 | label = "hc5962:red:system"; |
||
31 | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; |
||
32 | }; |
||
33 | }; |
||
34 | |||
35 | gpio-keys-polled { |
||
36 | compatible = "gpio-keys-polled"; |
||
37 | #address-cells = <1>; |
||
38 | #size-cells = <0>; |
||
39 | poll-interval = <20>; |
||
40 | |||
41 | reset { |
||
42 | label = "reset"; |
||
43 | gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>; |
||
44 | linux,code = <KEY_RESTART>; |
||
45 | }; |
||
46 | }; |
||
47 | }; |
||
48 | |||
49 | &nand { |
||
50 | status = "okay"; |
||
51 | |||
52 | partition@0 { |
||
53 | label = "u-boot"; |
||
54 | reg = <0x0 0x80000>; |
||
55 | read-only; |
||
56 | }; |
||
57 | |||
58 | partition@80000 { |
||
59 | label = "debug"; |
||
60 | reg = <0x80000 0x80000>; |
||
61 | read-only; |
||
62 | }; |
||
63 | |||
64 | factory: partition@100000 { |
||
65 | label = "factory"; |
||
66 | reg = <0x100000 0x40000>; |
||
67 | read-only; |
||
68 | }; |
||
69 | |||
70 | partition@140000 { |
||
71 | label = "kernel"; |
||
72 | reg = <0x140000 0x200000>; |
||
73 | }; |
||
74 | |||
75 | partition@340000 { |
||
76 | label = "ubi"; |
||
77 | reg = <0x340000 0x1E00000>; |
||
78 | }; |
||
79 | |||
80 | partition@2140000 { |
||
81 | label = "hw_panic"; |
||
82 | reg = <0x2140000 0x80000>; |
||
83 | read-only; |
||
84 | }; |
||
85 | |||
86 | partition@21c0000 { |
||
87 | label = "bdinfo"; |
||
88 | reg = <0x21c0000 0x80000>; |
||
89 | read-only; |
||
90 | }; |
||
91 | |||
92 | partition@2240000 { |
||
93 | label = "backup"; |
||
94 | reg = <0x2240000 0x80000>; |
||
95 | read-only; |
||
96 | }; |
||
97 | |||
98 | partition@22c0000 { |
||
99 | label = "overly"; |
||
100 | reg = <0x22c0000 0x1000000>; |
||
101 | }; |
||
102 | |||
103 | partition@32c0000 { |
||
104 | label = "firmware_backup"; |
||
105 | reg = <0x32c0000 0x2000000>; |
||
106 | }; |
||
107 | |||
108 | partition@52c0000 { |
||
109 | label = "oem"; |
||
110 | reg = <0x52c0000 0x200000>; |
||
111 | }; |
||
112 | |||
113 | partition@54c0000 { |
||
114 | label = "opt"; |
||
115 | reg = <0x54c0000 0x2ac0000>; |
||
116 | }; |
||
117 | }; |
||
118 | |||
119 | &pcie { |
||
120 | status = "okay"; |
||
121 | |||
122 | pcie0 { |
||
123 | mt76@0,0 { |
||
124 | reg = <0x0000 0 0 0 0>; |
||
125 | device_type = "pci"; |
||
126 | mediatek,mtd-eeprom = <&factory 0x0000>; |
||
127 | ieee80211-freq-limit = <2400000 2500000>; |
||
128 | }; |
||
129 | }; |
||
130 | |||
131 | pcie1 { |
||
132 | mt76@1,0 { |
||
133 | reg = <0x0000 0 0 0 0>; |
||
134 | device_type = "pci"; |
||
135 | mediatek,mtd-eeprom = <&factory 0x8000>; |
||
136 | ieee80211-freq-limit = <5000000 6000000>; |
||
137 | }; |
||
138 | }; |
||
139 | }; |
||
140 | |||
141 | &pinctrl { |
||
142 | state_default: pinctrl0 { |
||
143 | gpio { |
||
144 | ralink,group = "uart3", "jtag"; |
||
145 | ralink,function = "gpio"; |
||
146 | }; |
||
147 | }; |
||
148 | }; |