OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "zbtlink,zbt-wa05", "ralink,mt7620n-soc"; |
9 | compatible = "zbtlink,zbt-wa05", "ralink,mt7620n-soc"; |
|
Line 10... | Line -... | |||
10 | model = "Zbtlink ZBT-WA05"; |
- | ||
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_power; |
- | ||
14 | led-failsafe = &led_power; |
- | ||
15 | led-running = &led_power; |
- | ||
16 | led-upgrade = &led_power; |
- | ||
17 | }; |
10 | model = "Zbtlink ZBT-WA05"; |
|
18 | |
11 | |
|
19 | chosen { |
12 | chosen { |
|
Line 20... | Line 13... | |||
20 | bootargs = "console=ttyS0,115200"; |
13 | bootargs = "console=ttyS0,115200"; |
|
21 | }; |
14 | }; |
|
Line 22... | Line 15... | |||
22 | |
15 | |
|
23 | leds { |
16 | gpio-leds { |
|
24 | compatible = "gpio-leds"; |
17 | compatible = "gpio-leds"; |
|
25 | |
18 | |
|
Line 26... | Line 19... | |||
26 | led_power: power { |
19 | power { |
|
27 | label = "zbt-wa05:blue:power"; |
20 | label = "zbt-wa05:blue:power"; |
|
28 | gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; |
21 | gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; |
|
29 | }; |
- | ||
30 | |
- | ||
31 | usb { |
22 | }; |
|
Line 32... | Line 23... | |||
32 | label = "zbt-wa05:blue:usb"; |
23 | |
|
33 | gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; |
24 | usb { |
|
34 | trigger-sources = <&ohci_port1>, <&ehci_port1>; |
25 | label = "zbt-wa05:blue:usb"; |
|
35 | linux,default-trigger = "usbport"; |
26 | gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; |
|
36 | }; |
27 | }; |
|
Line 37... | Line 28... | |||
37 | |
28 | |
|
38 | air { |
29 | air { |
|
- | 30 | label = "zbt-wa05:blue:air"; |
||
- | 31 | gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; |
||
39 | label = "zbt-wa05:blue:air"; |
32 | }; |
|
Line 40... | Line 33... | |||
40 | gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; |
33 | }; |
|
41 | }; |
34 | |
|
42 | }; |
35 | gpio-keys-polled { |
|
Line 67... | Line 60... | |||
67 | |
60 | |
|
68 | &spi0 { |
61 | &spi0 { |
|
Line 69... | Line 62... | |||
69 | status = "okay"; |
62 | status = "okay"; |
|
- | 63 | |
||
- | 64 | en25q64@0 { |
||
70 | |
65 | #address-cells = <1>; |
|
71 | en25q64@0 { |
66 | #size-cells = <1>; |
|
72 | compatible = "jedec,spi-nor"; |
67 | compatible = "jedec,spi-nor"; |
|
Line 73... | Line -... | |||
73 | reg = <0>; |
- | ||
74 | spi-max-frequency = <10000000>; |
- | ||
75 | |
- | ||
76 | partitions { |
- | ||
77 | compatible = "fixed-partitions"; |
- | ||
78 | #address-cells = <1>; |
68 | reg = <0>; |
|
79 | #size-cells = <1>; |
69 | spi-max-frequency = <10000000>; |
|
80 | |
70 | |
|
81 | partition@0 { |
71 | partition@0 { |
|
82 | label = "u-boot"; |
72 | label = "u-boot"; |
|
83 | reg = <0x0 0x30000>; |
73 | reg = <0x0 0x30000>; |
|
84 | read-only; |
74 | read-only; |
|
85 | }; |
75 | }; |
|
86 | |
76 | |
|
87 | partition@30000 { |
77 | partition@30000 { |
|
88 | label = "u-boot-env"; |
78 | label = "u-boot-env"; |
|
89 | reg = <0x30000 0x10000>; |
79 | reg = <0x30000 0x10000>; |
|
90 | read-only; |
80 | read-only; |
|
91 | }; |
81 | }; |
|
92 | |
82 | |
|
93 | factory: partition@40000 { |
83 | factory: partition@40000 { |
|
94 | label = "factory"; |
84 | label = "factory"; |
|
95 | reg = <0x40000 0x10000>; |
85 | reg = <0x40000 0x10000>; |
|
96 | read-only; |
86 | read-only; |
|
97 | }; |
- | ||
98 | |
87 | }; |
|
99 | partition@50000 { |
88 | |
|
100 | compatible = "denx,uimage"; |
- | ||
101 | label = "firmware"; |
89 | partition@50000 { |
|
102 | reg = <0x50000 0x760000>; |
90 | label = "firmware"; |
|
103 | }; |
91 | reg = <0x50000 0x760000>; |
|
Line 104... | Line 92... | |||
104 | }; |
92 | }; |