OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | /{ |
8 | /{ |
|
9 | compatible = "kimax,u25awf-h1","ralink,mt7620a-soc"; |
9 | compatible = "kimax,u25awf-h1","ralink,mt7620a-soc"; |
|
Line 10... | Line -... | |||
10 | model = "Kimax U25AWF-H1"; |
- | ||
11 | |
10 | model = "Kimax U25AWF-H1"; |
|
12 | aliases { |
- | ||
13 | led-boot = &led_wifi; |
- | ||
14 | led-failsafe = &led_wifi; |
- | ||
15 | led-running = &led_wifi; |
- | ||
16 | led-upgrade = &led_wifi; |
- | ||
17 | }; |
- | ||
18 | |
11 | |
|
- | 12 | gpio-keys-polled { |
||
- | 13 | compatible = "gpio-keys-polled"; |
||
19 | keys { |
14 | #address-cells = <1>; |
|
Line 20... | Line 15... | |||
20 | compatible = "gpio-keys-polled"; |
15 | #size-cells = <0>; |
|
21 | poll-interval = <20>; |
16 | poll-interval = <20>; |
|
22 | |
17 | |
|
23 | reset { |
18 | reset { |
|
24 | label = "reset"; |
19 | label = "reset"; |
|
25 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
20 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
|
Line 26... | Line 21... | |||
26 | linux,code = <KEY_RESTART>; |
21 | linux,code = <KEY_RESTART>; |
|
27 | }; |
22 | }; |
|
Line 28... | Line 23... | |||
28 | }; |
23 | }; |
|
29 | |
24 | |
|
30 | leds { |
25 | gpio-leds { |
|
31 | compatible = "gpio-leds"; |
26 | compatible = "gpio-leds"; |
|
Line 32... | Line 27... | |||
32 | |
27 | |
|
Line 52... | Line 47... | |||
52 | |
47 | |
|
53 | &spi0 { |
48 | &spi0 { |
|
Line 54... | Line 49... | |||
54 | status = "okay"; |
49 | status = "okay"; |
|
- | 50 | |
||
- | 51 | m25p80@0 { |
||
55 | |
52 | #address-cells = <1>; |
|
56 | m25p80@0 { |
53 | #size-cells = <1>; |
|
57 | compatible = "jedec,spi-nor"; |
54 | compatible = "jedec,spi-nor"; |
|
Line 58... | Line -... | |||
58 | reg = <0>; |
- | ||
59 | spi-max-frequency = <10000000>; |
- | ||
60 | |
- | ||
61 | partitions { |
- | ||
62 | compatible = "fixed-partitions"; |
- | ||
63 | #address-cells = <1>; |
55 | reg = <0>; |
|
64 | #size-cells = <1>; |
56 | spi-max-frequency = <10000000>; |
|
65 | |
57 | |
|
66 | partition@0 { |
58 | partition@0 { |
|
67 | label = "u-boot"; |
59 | label = "u-boot"; |
|
68 | reg = <0x0 0x30000>; |
60 | reg = <0x0 0x30000>; |
|
69 | read-only; |
61 | read-only; |
|
70 | }; |
62 | }; |
|
71 | |
63 | |
|
72 | partition@30000 { |
64 | partition@30000 { |
|
73 | label = "u-boot-env"; |
65 | label = "u-boot-env"; |
|
74 | reg = <0x30000 0x10000>; |
66 | reg = <0x30000 0x10000>; |
|
75 | read-only; |
67 | read-only; |
|
76 | }; |
68 | }; |
|
77 | |
69 | |
|
78 | factory: partition@40000 { |
70 | factory: partition@40000 { |
|
79 | label = "factory"; |
71 | label = "factory"; |
|
80 | reg = <0x40000 0x10000>; |
72 | reg = <0x40000 0x10000>; |
|
81 | read-only; |
73 | read-only; |
|
82 | }; |
- | ||
83 | |
74 | }; |
|
84 | partition@50000 { |
75 | |
|
85 | compatible = "denx,uimage"; |
- | ||
86 | label = "firmware"; |
76 | partition@50000 { |
|
87 | reg = <0x50000 0xfb0000>; |
77 | label = "firmware"; |
|
88 | }; |
78 | reg = <0x50000 0xfb0000>; |
|
Line 89... | Line 79... | |||
89 | }; |
79 | }; |