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