summaryrefslogtreecommitdiff
path: root/recipes-core/udev/files/colibri-imx8x/99-toradex.rules
diff options
context:
space:
mode:
authorFrancesco Dolcini <francesco.dolcini@toradex.com>2022-12-14 16:29:10 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2023-02-27 10:05:12 +0100
commit439aeb8be9046cd392999f0ff3fcad8187e95321 (patch)
tree1bfc75ec8e571b6f6e509ae7faaf63342e163554 /recipes-core/udev/files/colibri-imx8x/99-toradex.rules
parentbb6bfe9f2321daabeaa4b5261b5556a0cf3291c9 (diff)
udev-toradex-rules: Add additional watchdog symlink
${family}-watchdog-som -> SoM watchdog, e.g. pmic ${family}-watchdog-soc -> SoC watchdog Related-to: ELB-5039 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> (cherry picked from commit 9f9fa5d6c8ed679f75566476099ac76baac54602)
Diffstat (limited to 'recipes-core/udev/files/colibri-imx8x/99-toradex.rules')
-rw-r--r--recipes-core/udev/files/colibri-imx8x/99-toradex.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-core/udev/files/colibri-imx8x/99-toradex.rules b/recipes-core/udev/files/colibri-imx8x/99-toradex.rules
index bf46e39..e83649b 100644
--- a/recipes-core/udev/files/colibri-imx8x/99-toradex.rules
+++ b/recipes-core/udev/files/colibri-imx8x/99-toradex.rules
@@ -4,6 +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=="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"