summaryrefslogtreecommitdiff
path: root/recipes-core
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
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')
-rw-r--r--recipes-core/udev/files/apalis-imx8/99-toradex.rules2
-rw-r--r--recipes-core/udev/files/colibri-imx8x/99-toradex.rules2
2 files changed, 2 insertions, 2 deletions
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"