OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "hiwifi,hc5962", "mediatek,mt7621-soc"; |
9 | compatible = "hiwifi,hc5962", "mediatek,mt7621-soc"; |
|
Line 10... | Line -... | |||
10 | model = "HiWiFi HC5962"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_status; |
- | ||
14 | led-failsafe = &led_status; |
- | ||
15 | led-running = &led_status; |
- | ||
16 | led-upgrade = &led_status; |
- | ||
17 | }; |
10 | model = "HiWiFi HC5962"; |
|
18 | |
11 | |
|
19 | memory@0 { |
12 | memory@0 { |
|
20 | device_type = "memory"; |
13 | device_type = "memory"; |
|
Line 21... | Line 14... | |||
21 | reg = <0x0 0x10000000>; |
14 | reg = <0x0 0x10000000>; |
|
22 | }; |
15 | }; |
|
23 | |
16 | |
|
Line 24... | Line 17... | |||
24 | chosen { |
17 | chosen { |
|
25 | bootargs = "console=ttyS0,115200"; |
18 | bootargs = "console=ttyS0,115200"; |
|
Line 26... | Line 19... | |||
26 | }; |
19 | }; |
|
27 | |
20 | |
|
28 | leds { |
21 | gpio-leds { |
|
29 | compatible = "gpio-leds"; |
22 | compatible = "gpio-leds"; |
|
Line 30... | Line 23... | |||
30 | |
23 | |
|
31 | led_status: status { |
24 | status { |
|
32 | label = "hc5962:white:status"; |
25 | label = "hc5962:white:status"; |
|
33 | gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; |
26 | gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; |
|
34 | }; |
27 | }; |
|
Line 35... | Line 28... | |||
35 | |
28 | |
|
36 | system { |
29 | system { |
|
- | 30 | label = "hc5962:red:system"; |
||
- | 31 | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; |
||
37 | label = "hc5962:red:system"; |
32 | }; |
|
Line 38... | Line 33... | |||
38 | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; |
33 | }; |
|
39 | }; |
34 | |
|
40 | }; |
35 | gpio-keys-polled { |
|
Line 52... | Line 47... | |||
52 | }; |
47 | }; |
|
Line 53... | Line 48... | |||
53 | |
48 | |
|
54 | &nand { |
49 | &nand { |
|
Line 55... | Line -... | |||
55 | status = "okay"; |
- | ||
56 | |
- | ||
57 | partitions { |
- | ||
58 | compatible = "fixed-partitions"; |
- | ||
59 | #address-cells = <1>; |
- | ||
60 | #size-cells = <1>; |
50 | status = "okay"; |
|
61 | |
51 | |
|
62 | partition@0 { |
52 | partition@0 { |
|
63 | label = "u-boot"; |
53 | label = "u-boot"; |
|
64 | reg = <0x0 0x80000>; |
54 | reg = <0x0 0x80000>; |
|
Line 65... | Line 55... | |||
65 | read-only; |
55 | read-only; |
|
66 | }; |
56 | }; |
|
67 | |
57 | |
|
68 | partition@80000 { |
58 | partition@80000 { |
|
69 | label = "debug"; |
59 | label = "debug"; |
|
Line 70... | Line 60... | |||
70 | reg = <0x80000 0x80000>; |
60 | reg = <0x80000 0x80000>; |
|
71 | read-only; |
61 | read-only; |
|
72 | }; |
62 | }; |
|
73 | |
63 | |
|
74 | factory: partition@100000 { |
64 | factory: partition@100000 { |
|
Line 75... | Line 65... | |||
75 | label = "factory"; |
65 | label = "factory"; |
|
76 | reg = <0x100000 0x40000>; |
66 | reg = <0x100000 0x40000>; |
|
77 | read-only; |
67 | read-only; |
|
78 | }; |
68 | }; |
|
Line 79... | Line 69... | |||
79 | |
69 | |
|
80 | partition@140000 { |
70 | partition@140000 { |
|
81 | label = "kernel"; |
71 | label = "kernel"; |
|
82 | reg = <0x140000 0x200000>; |
72 | reg = <0x140000 0x200000>; |
|
Line 83... | Line 73... | |||
83 | }; |
73 | }; |
|
84 | |
74 | |
|
85 | partition@340000 { |
75 | partition@340000 { |
|
86 | label = "ubi"; |
76 | label = "ubi"; |
|
87 | reg = <0x340000 0x1E00000>; |
77 | reg = <0x340000 0x1E00000>; |
|
Line 88... | Line 78... | |||
88 | }; |
78 | }; |
|
89 | |
79 | |
|
90 | partition@2140000 { |
80 | partition@2140000 { |
|
91 | label = "hw_panic"; |
81 | label = "hw_panic"; |
|
92 | reg = <0x2140000 0x80000>; |
82 | reg = <0x2140000 0x80000>; |
|
Line 93... | Line 83... | |||
93 | read-only; |
83 | read-only; |
|
94 | }; |
84 | }; |
|
95 | |
85 | |
|
96 | partition@21c0000 { |
86 | partition@21c0000 { |
|
97 | label = "bdinfo"; |
87 | label = "bdinfo"; |
|
Line 98... | Line 88... | |||
98 | reg = <0x21c0000 0x80000>; |
88 | reg = <0x21c0000 0x80000>; |
|
99 | read-only; |
89 | read-only; |
|
100 | }; |
90 | }; |
|
101 | |
91 | |
|
Line 102... | Line 92... | |||
102 | partition@2240000 { |
92 | partition@2240000 { |
|
103 | label = "backup"; |
93 | label = "backup"; |
|
104 | reg = <0x2240000 0x80000>; |
94 | reg = <0x2240000 0x80000>; |
|
105 | read-only; |
95 | read-only; |
|
Line 106... | Line 96... | |||
106 | }; |
96 | }; |
|
107 | |
97 | |
|
108 | partition@22c0000 { |
98 | partition@22c0000 { |
|
109 | label = "overly"; |
99 | label = "overly"; |
|
Line 110... | Line 100... | |||
110 | reg = <0x22c0000 0x1000000>; |
100 | reg = <0x22c0000 0x1000000>; |
|
111 | }; |
101 | }; |
|
112 | |
102 | |
|
113 | partition@32c0000 { |
- | ||
114 | label = "firmware_backup"; |
103 | partition@32c0000 { |
|
115 | reg = <0x32c0000 0x2000000>; |
104 | label = "firmware_backup"; |
|
Line 116... | Line 105... | |||
116 | }; |
105 | reg = <0x32c0000 0x2000000>; |
|
117 | |
106 | }; |
|
118 | partition@52c0000 { |
- | ||
Line 119... | Line 107... | |||
119 | label = "oem"; |
107 | |
|
120 | reg = <0x52c0000 0x200000>; |
108 | partition@52c0000 { |
|
121 | }; |
109 | label = "oem"; |
|
- | 110 | reg = <0x52c0000 0x200000>; |
||
122 | |
111 | }; |
|
123 | partition@54c0000 { |
112 | |
|
- | 113 | partition@54c0000 { |
||
124 | label = "opt"; |
114 | label = "opt"; |
|
125 | reg = <0x54c0000 0x2ac0000>; |
- | ||
Line 126... | Line 115... | |||
126 | }; |
115 | reg = <0x54c0000 0x2ac0000>; |
|
127 | }; |
116 | }; |
|
128 | }; |
117 | }; |
|
- | 118 | |
||
129 | |
119 | &pcie { |
|
130 | &pcie { |
120 | status = "okay"; |
|
- | 121 | |
||
131 | status = "okay"; |
122 | pcie0 { |
|
132 | }; |
123 | mt76@0,0 { |
|
Line 133... | Line 124... | |||
133 | |
124 | reg = <0x0000 0 0 0 0>; |
|
134 | &pcie0 { |
125 | device_type = "pci"; |