From c74a4f2fbd5d61218d8d44219f26e813902174ef Mon Sep 17 00:00:00 2001 From: Francesco Dolcini Date: Wed, 8 Feb 2023 11:54:32 +0100 Subject: udev-toradex-rules: fix (apalis|colibri)-imx8* watchdog rule Fix udev rule to create the /dev/$som-watchdog-som symlink, imx8 watchdog is on the SCU. Related-to: ELB-5039 Fixes: 9f9fa5d6c8ed ("udev-toradex-rules: Add additional watchdog symlink") Signed-off-by: Francesco Dolcini (cherry picked from commit f25adb4833f65606f39f181a162aaa8ce14d9681) --- recipes-core/udev/files/apalis-imx8/99-toradex.rules | 2 +- recipes-core/udev/files/colibri-imx8x/99-toradex.rules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes-core') diff --git a/recipes-core/udev/files/apalis-imx8/99-toradex.rules b/recipes-core/udev/files/apalis-imx8/99-toradex.rules index c463b21..566f57d 100644 --- a/recipes-core/udev/files/apalis-imx8/99-toradex.rules +++ b/recipes-core/udev/files/apalis-imx8/99-toradex.rules @@ -6,7 +6,7 @@ ACTION=="add|change", ATTRS{iomem_base}=="0x5A090010", SYMLINK+="apalis-uart2" ACTION=="add|change", ATTRS{iomem_base}=="0x5A060010", SYMLINK+="apalis-uart3" ACTION=="add|change", ATTRS{iomem_base}=="0x5A080010", SYMLINK+="apalis-uart4" ACTION=="add|change", KERNELS=="watchdog", SYMLINK+="apalis-watchdog" -ACTION=="add|change", SUBSYSTEM=="watchdog", KERNELS=="soc*", SYMLINK+="apalis-watchdog-soc" +ACTION=="add|change", SUBSYSTEM=="watchdog", KERNELS=="scu*", SYMLINK+="apalis-watchdog-soc" ACTION=="add|change", SUBSYSTEM=="spidev", KERNELS=="5a000000.spi", SYMLINK+="apalis-spi1-cs%n" ACTION=="add|change", SUBSYSTEM=="spidev", KERNELS=="5a020000.spi", SYMLINK+="apalis-spi2-cs%n" KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="5b010000.mmc", SYMLINK+="emmc" diff --git a/recipes-core/udev/files/colibri-imx8x/99-toradex.rules b/recipes-core/udev/files/colibri-imx8x/99-toradex.rules index e83649b..b7afa14 100644 --- a/recipes-core/udev/files/colibri-imx8x/99-toradex.rules +++ b/recipes-core/udev/files/colibri-imx8x/99-toradex.rules @@ -4,7 +4,7 @@ ACTION=="add|change", ATTRS{iomem_base}=="0x5A090010", SYMLINK+="colibri-uarta" ACTION=="add|change", ATTRS{iomem_base}=="0x5A060010", SYMLINK+="colibri-uartb" ACTION=="add|change", ATTRS{iomem_base}=="0x5A080010", SYMLINK+="colibri-uartc" ACTION=="add|change", KERNELS=="watchdog", SYMLINK+="colibri-watchdog" -ACTION=="add|change", SUBSYSTEM=="watchdog", KERNELS=="soc*", SYMLINK+="colibri-watchdog-soc" +ACTION=="add|change", SUBSYSTEM=="watchdog", KERNELS=="scu*", SYMLINK+="colibri-watchdog-soc" ACTION=="add|change", SUBSYSTEM=="spidev", KERNELS=="5a020000.spi", SYMLINK+="colibri-spi-cs%n" KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="5b010000.mmc", SYMLINK+="emmc" KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="5b010000.mmc", SYMLINK+="emmc-boot%n" -- cgit v1.2.3