mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
703a1cafe0
Add OpenWrt specific aliases for system LED and label MAC device, also set default serial console. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
25 lines
592 B
Diff
25 lines
592 B
Diff
--- a/arch/arm/boot/dts/imx7d-pico-pi.dts
|
|
+++ b/arch/arm/boot/dts/imx7d-pico-pi.dts
|
|
@@ -8,12 +8,20 @@
|
|
model = "TechNexion PICO-IMX7D Board and PI baseboard";
|
|
compatible = "technexion,imx7d-pico-pi", "fsl,imx7d";
|
|
|
|
+ aliases {
|
|
+ led-boot = &led_system;
|
|
+ led-failsafe = &led_system;
|
|
+ led-running = &led_system;
|
|
+ led-upgrade = &led_system;
|
|
+ label-mac-device = &fec1;
|
|
+ };
|
|
+
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_gpio_leds>;
|
|
|
|
- led {
|
|
+ led_system: led {
|
|
label = "gpio-led";
|
|
gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>;
|
|
};
|