OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 4... | Line 4... | |||
4 | |
4 | |
|
5 | / { |
5 | / { |
|
6 | compatible = "phicomm,psg1218b", "phicomm,psg1218", "ralink,mt7620a-soc"; |
6 | compatible = "phicomm,psg1218b", "phicomm,psg1218", "ralink,mt7620a-soc"; |
|
Line 7... | Line -... | |||
7 | model = "Phicomm PSG1218 rev.B"; |
- | ||
8 | |
- | ||
9 | aliases { |
- | ||
10 | led-boot = &led_blue; |
- | ||
11 | led-failsafe = &led_blue; |
- | ||
12 | led-running = &led_blue; |
- | ||
13 | led-upgrade = &led_blue; |
- | ||
14 | }; |
7 | model = "Phicomm PSG1218 rev.B"; |
|
15 | |
8 | |
|
16 | leds { |
9 | gpio-leds { |
|
17 | compatible = "gpio-leds"; |
10 | compatible = "gpio-leds"; |
|
18 | led_blue: blue { |
11 | blue { |
|
19 | label = "psg1218b:blue:status"; |
- | ||
20 | gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; |
12 | label = "psg1218b:blue:status"; |
|
Line 21... | Line 13... | |||
21 | default-state = "on"; |
13 | gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; |
|
22 | }; |
14 | }; |
|
23 | |
15 | |
|
24 | yellow { |
16 | yellow { |
|
Line 25... | Line 17... | |||
25 | label = "psg1218b:yellow:status"; |
17 | label = "psg1218b:yellow:status"; |
|
26 | gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; |
18 | gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; |
|
27 | }; |
19 | }; |
|
28 | |
20 | |
|
29 | red { |
21 | red { |
|
30 | label = "psg1218b:red:status"; |
22 | label = "psg1218b:red:status"; |
|
Line 31... | Line 23... | |||
31 | gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; |
23 | gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; |