OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 3... | Line 3... | |||
3 | #include <dt-bindings/gpio/gpio.h> |
3 | #include <dt-bindings/gpio/gpio.h> |
|
Line 4... | Line 4... | |||
4 | |
4 | |
|
5 | / { |
5 | / { |
|
Line 6... | Line -... | |||
6 | compatible = "vocore,vocore", "ralink,rt5350-soc"; |
- | ||
7 | |
- | ||
8 | aliases { |
- | ||
9 | led-boot = &led_status; |
- | ||
10 | led-failsafe = &led_status; |
- | ||
11 | led-running = &led_status; |
- | ||
12 | led-upgrade = &led_status; |
- | ||
13 | }; |
6 | compatible = "vocore,vocore", "ralink,rt5350-soc"; |
|
14 | |
7 | |
|
15 | gpio-export { |
8 | gpio-export { |
|
Line 16... | Line 9... | |||
16 | compatible = "gpio-export"; |
9 | compatible = "gpio-export"; |
|
Line 136... | Line 129... | |||
136 | gpio-export,direction_may_change = <1>; |
129 | gpio-export,direction_may_change = <1>; |
|
137 | gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; |
130 | gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; |
|
138 | }; |
131 | }; |
|
139 | }; |
132 | }; |
|
Line 140... | Line 133... | |||
140 | |
133 | |
|
141 | leds { |
134 | gpio-leds { |
|
Line 142... | Line 135... | |||
142 | compatible = "gpio-leds"; |
135 | compatible = "gpio-leds"; |
|
143 | |
136 | |
|
144 | led_status: status { |
137 | status { |
|
145 | /* UARTF_RXD */ |
138 | /* UARTF_RXD */ |
|
146 | label = "vocore:green:status"; |
139 | label = "vocore:green:status"; |