diff options
author | Lech Perczak <lech.perczak@gmail.com> | 2022-04-18 00:52:32 +0200 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2022-07-11 14:18:40 +0200 |
commit | 703a1cafe0d0bc1bb8e7beb3267dff44235d9a68 (patch) | |
tree | 4a6ac47b7e5a2cbb6bcfa9c59d8aad4035a98ebf /target/linux/imx/patches-5.15/310-ARM-dts-imx7d-pico-pi-set-aliases.patch | |
parent | 4436d7bae8c38eda1cb159e3b1ffd2fd1a553bed (diff) | |
download | upstream-703a1cafe0d0bc1bb8e7beb3267dff44235d9a68.tar.gz upstream-703a1cafe0d0bc1bb8e7beb3267dff44235d9a68.tar.bz2 upstream-703a1cafe0d0bc1bb8e7beb3267dff44235d9a68.zip |
imx: add DT aliases for imx7d-pico-pi
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>
Diffstat (limited to 'target/linux/imx/patches-5.15/310-ARM-dts-imx7d-pico-pi-set-aliases.patch')
-rw-r--r-- | target/linux/imx/patches-5.15/310-ARM-dts-imx7d-pico-pi-set-aliases.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/imx/patches-5.15/310-ARM-dts-imx7d-pico-pi-set-aliases.patch b/target/linux/imx/patches-5.15/310-ARM-dts-imx7d-pico-pi-set-aliases.patch new file mode 100644 index 0000000000..f50199cdfc --- /dev/null +++ b/target/linux/imx/patches-5.15/310-ARM-dts-imx7d-pico-pi-set-aliases.patch @@ -0,0 +1,24 @@ +--- 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>; + }; |