OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "hiwifi,hc5661a", "mediatek,mt7628an-soc"; |
9 | compatible = "hiwifi,hc5661a", "mediatek,mt7628an-soc"; |
|
Line 10... | Line -... | |||
10 | model = "HiWiFi HC5661A"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_system; |
- | ||
14 | led-failsafe = &led_system; |
- | ||
15 | led-running = &led_system; |
- | ||
16 | led-upgrade = &led_system; |
- | ||
17 | }; |
10 | model = "HiWiFi HC5661A"; |
|
18 | |
11 | |
|
19 | chosen { |
12 | chosen { |
|
Line 20... | Line 13... | |||
20 | bootargs = "console=ttyS0,115200"; |
13 | bootargs = "console=ttyS0,115200"; |
|
21 | }; |
14 | }; |
|
22 | |
15 | |
|
23 | memory@0 { |
16 | memory@0 { |
|
Line 24... | Line 17... | |||
24 | device_type = "memory"; |
17 | device_type = "memory"; |
|
25 | reg = <0x0 0x8000000>; |
18 | reg = <0x0 0x8000000>; |
|
Line 26... | Line 19... | |||
26 | }; |
19 | }; |
|
27 | |
20 | |
|
28 | leds { |
21 | gpio-leds { |
|
29 | compatible = "gpio-leds"; |
22 | compatible = "gpio-leds"; |
|
30 | |
23 | |
|
31 | led_system: system { |
24 | system { |
|
Line 40... | Line 33... | |||
40 | label = "hc5661a:blue:wlan2g"; |
33 | label = "hc5661a:blue:wlan2g"; |
|
41 | gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>; |
34 | gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>; |
|
42 | }; |
35 | }; |
|
43 | }; |
36 | }; |
|
Line 44... | Line 37... | |||
44 | |
37 | |
|
45 | keys { |
38 | gpio-keys { |
|
- | 39 | compatible = "gpio-keys-polled"; |
||
- | 40 | #address-cells = <1>; |
||
46 | compatible = "gpio-keys-polled"; |
41 | #size-cells = <0>; |
|
Line 47... | Line 42... | |||
47 | poll-interval = <20>; |
42 | poll-interval = <20>; |
|
48 | |
43 | |
|
49 | reset { |
44 | reset { |
|
Line 65... | Line 60... | |||
65 | |
60 | |
|
66 | &spi0 { |
61 | &spi0 { |
|
Line 67... | Line 62... | |||
67 | status = "okay"; |
62 | status = "okay"; |
|
- | 63 | |
||
- | 64 | m25p80@0 { |
||
68 | |
65 | #address-cells = <1>; |
|
69 | m25p80@0 { |
66 | #size-cells = <1>; |
|
70 | compatible = "jedec,spi-nor"; |
67 | compatible = "jedec,spi-nor"; |
|
71 | reg = <0>; |
68 | reg = <0>; |
|
- | 69 | linux,modalias = "m25p80", "w25q128"; |
||
- | 70 | spi-max-frequency = <10000000>; |
||
- | 71 | m25p,chunked-io = <32>; |
||
- | 72 | |
||
- | 73 | partition@0 { |
||
- | 74 | label = "u-boot"; |
||
- | 75 | reg = <0x0 0x30000>; |
||
- | 76 | read-only; |
||
- | 77 | }; |
||
- | 78 | |
||
- | 79 | partition@30000 { |
||
- | 80 | label = "hw_panic"; |
||
- | 81 | reg = <0x30000 0x10000>; |
||
- | 82 | read-only; |
||
- | 83 | }; |
||
- | 84 | |
||
- | 85 | factory: partition@40000 { |
||
- | 86 | label = "factory"; |
||
- | 87 | reg = <0x40000 0x10000>; |
||
- | 88 | read-only; |
||
- | 89 | }; |
||
- | 90 | |
||
- | 91 | partition@50000 { |
||
- | 92 | label = "firmware"; |
||
- | 93 | reg = <0x50000 0xf70000>; |
||
- | 94 | }; |
||
- | 95 | |
||
- | 96 | partition@fc0000 { |
||
- | 97 | label = "oem"; |
||
- | 98 | reg = <0xfc0000 0x20000>; |
||
- | 99 | read-only; |
||
- | 100 | }; |
||
- | 101 | |
||
- | 102 | bdinfo: partition@fe0000 { |
||
- | 103 | label = "bdinfo"; |
||
- | 104 | reg = <0xfe0000 0x10000>; |
||
Line 72... | Line -... | |||
72 | linux,modalias = "m25p80", "w25q128"; |
- | ||
73 | spi-max-frequency = <10000000>; |
- | ||
74 | |
- | ||
75 | partitions { |
- | ||
76 | compatible = "fixed-partitions"; |
- | ||
77 | #address-cells = <1>; |
- | ||
78 | #size-cells = <1>; |
- | ||
79 | |
- | ||
80 | partition@0 { |
- | ||
81 | label = "u-boot"; |
- | ||
82 | reg = <0x0 0x30000>; |
- | ||
83 | read-only; |
- | ||
84 | }; |
- | ||
85 | |
- | ||
86 | partition@30000 { |
- | ||
87 | label = "hw_panic"; |
- | ||
88 | reg = <0x30000 0x10000>; |
- | ||
89 | read-only; |
- | ||
90 | }; |
- | ||
91 | |
- | ||
92 | factory: partition@40000 { |
- | ||
93 | label = "factory"; |
- | ||
94 | reg = <0x40000 0x10000>; |
- | ||
95 | read-only; |
- | ||
96 | }; |
- | ||
97 | |
- | ||
98 | partition@50000 { |
- | ||
99 | compatible = "denx,uimage"; |
- | ||
100 | label = "firmware"; |
- | ||
101 | reg = <0x50000 0xf70000>; |
- | ||
102 | }; |
- | ||
103 | |
- | ||
104 | partition@fc0000 { |
- | ||
105 | label = "oem"; |
- | ||
106 | reg = <0xfc0000 0x20000>; |
- | ||
107 | read-only; |
- | ||
108 | }; |
- | ||
109 | |
- | ||
110 | bdinfo: partition@fe0000 { |
- | ||
111 | label = "bdinfo"; |
- | ||
112 | reg = <0xfe0000 0x10000>; |
- | ||
113 | read-only; |
105 | read-only; |
|
114 | }; |
106 | }; |
|
115 | |
107 | |
|
116 | partition@ff0000 { |
108 | partition@ff0000 { |
|
117 | label = "backup"; |
- | ||
118 | reg = <0xff0000 0x10000>; |
109 | label = "backup"; |
|
119 | read-only; |
110 | reg = <0xff0000 0x10000>; |
|
120 | }; |
111 | read-only; |
|
Line 121... | Line 112... | |||
121 | }; |
112 | }; |