From f5af6cd7e39e0eee75cca7f89ac81b5601267794 Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Sat, 15 May 2021 12:31:17 +0200 Subject: recipes-core: udev: add hardware stable symlinks for sd-card Signed-off-by: Philippe Schenker --- recipes-core/udev/files/colibri-imx7/99-toradex.rules | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-core/udev/files/colibri-imx7') diff --git a/recipes-core/udev/files/colibri-imx7/99-toradex.rules b/recipes-core/udev/files/colibri-imx7/99-toradex.rules index c0f8f23..2371a91 100644 --- a/recipes-core/udev/files/colibri-imx7/99-toradex.rules +++ b/recipes-core/udev/files/colibri-imx7/99-toradex.rules @@ -6,3 +6,5 @@ ACTION=="add", ATTRS{iomem_base}=="0x30880000", SYMLINK+="colibri-uartc" ACTION=="add", KERNEL=="watchdog", DRIVERS=="rn5t618-wdt", SYMLINK+="colibri-watchdog" ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="30840000.*spi", SYMLINK+="colibri-spi-cs%n" SUBSYSTEM=="iio", KERNELS=="iio:device0", RUN+="/etc/udev/scripts/toradex-adc.sh" +ACTION=="add|change", KERNEL=="mmcblk[0-9]", KERNELS=="30b40000.usdhc", SYMLINK+="colibri-sd" +ACTION=="add|change", KERNEL=="mmcblk[0-9]p[0-9]*", KERNELS=="30b40000.usdhc", SYMLINK+="colibri-sd-p$attr{partition}" -- cgit v1.2.3