OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | 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 | |||
3 | office | 21 | gpio-leds { |
1 | office | 22 | compatible = "gpio-leds"; |
23 | |||
3 | office | 24 | status { |
1 | office | 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 | |||
3 | office | 35 | gpio-keys-polled { |
1 | office | 36 | compatible = "gpio-keys-polled"; |
3 | office | 37 | #address-cells = <1>; |
38 | #size-cells = <0>; |
||
1 | office | 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 | |||
3 | office | 52 | partition@0 { |
53 | label = "u-boot"; |
||
54 | reg = <0x0 0x80000>; |
||
55 | read-only; |
||
56 | }; |
||
1 | office | 57 | |
3 | office | 58 | partition@80000 { |
59 | label = "debug"; |
||
60 | reg = <0x80000 0x80000>; |
||
61 | read-only; |
||
62 | }; |
||
1 | office | 63 | |
3 | office | 64 | factory: partition@100000 { |
65 | label = "factory"; |
||
66 | reg = <0x100000 0x40000>; |
||
67 | read-only; |
||
68 | }; |
||
1 | office | 69 | |
3 | office | 70 | partition@140000 { |
71 | label = "kernel"; |
||
72 | reg = <0x140000 0x200000>; |
||
73 | }; |
||
1 | office | 74 | |
3 | office | 75 | partition@340000 { |
76 | label = "ubi"; |
||
77 | reg = <0x340000 0x1E00000>; |
||
78 | }; |
||
1 | office | 79 | |
3 | office | 80 | partition@2140000 { |
81 | label = "hw_panic"; |
||
82 | reg = <0x2140000 0x80000>; |
||
83 | read-only; |
||
84 | }; |
||
1 | office | 85 | |
3 | office | 86 | partition@21c0000 { |
87 | label = "bdinfo"; |
||
88 | reg = <0x21c0000 0x80000>; |
||
89 | read-only; |
||
90 | }; |
||
1 | office | 91 | |
3 | office | 92 | partition@2240000 { |
93 | label = "backup"; |
||
94 | reg = <0x2240000 0x80000>; |
||
95 | read-only; |
||
96 | }; |
||
1 | office | 97 | |
3 | office | 98 | partition@22c0000 { |
99 | label = "overly"; |
||
100 | reg = <0x22c0000 0x1000000>; |
||
101 | }; |
||
1 | office | 102 | |
3 | office | 103 | partition@32c0000 { |
104 | label = "firmware_backup"; |
||
105 | reg = <0x32c0000 0x2000000>; |
||
106 | }; |
||
1 | office | 107 | |
3 | office | 108 | partition@52c0000 { |
109 | label = "oem"; |
||
110 | reg = <0x52c0000 0x200000>; |
||
111 | }; |
||
1 | office | 112 | |
3 | office | 113 | partition@54c0000 { |
114 | label = "opt"; |
||
115 | reg = <0x54c0000 0x2ac0000>; |
||
1 | office | 116 | }; |
117 | }; |
||
118 | |||
119 | &pcie { |
||
120 | status = "okay"; |
||
121 | |||
3 | office | 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 | }; |
||
1 | office | 129 | }; |
130 | |||
3 | office | 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 | }; |
||
1 | office | 138 | }; |
139 | }; |
||
140 | |||
141 | &pinctrl { |
||
142 | state_default: pinctrl0 { |
||
143 | gpio { |
||
144 | ralink,group = "uart3", "jtag"; |
||
145 | ralink,function = "gpio"; |
||
146 | }; |
||
147 | }; |
||
148 | }; |