summaryrefslogtreecommitdiff
path: root/recipes-core/udev/files/colibri-imx8x/99-toradex.rules
diff options
context:
space:
mode:
authorFrancesco Dolcini <francesco.dolcini@toradex.com>2023-02-08 11:54:32 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2023-02-27 10:05:12 +0100
commitc74a4f2fbd5d61218d8d44219f26e813902174ef (patch)
tree43ce28e7d4890cdac598166eb0c90d6bd5481e23 /recipes-core/udev/files/colibri-imx8x/99-toradex.rules
parent02a2b36e2f2051da831dacd82191d691170171cd (diff)
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 <francesco.dolcini@toradex.com> (cherry picked from commit f25adb4833f65606f39f181a162aaa8ce14d9681)
Diffstat (limited to 'recipes-core/udev/files/colibri-imx8x/99-toradex.rules')
-rw-r--r--recipes-core/udev/files/colibri-imx8x/99-toradex.rules2
1 files changed, 1 insertions, 1 deletions
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"