From 7eb447641fdeb01f4e02179af35df953b74ee035 Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Fri, 25 Sep 2020 12:53:58 +0200 Subject: udev: use spi naming from new 5.4 kernel In 5.4 kernel the naming changed from lpspi to spi. Address this in all i.MX8 udev rules Signed-off-by: Philippe Schenker --- recipes-core/udev/files/colibri-imx8x/99-toradex.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-core/udev/files/colibri-imx8x') diff --git a/recipes-core/udev/files/colibri-imx8x/99-toradex.rules b/recipes-core/udev/files/colibri-imx8x/99-toradex.rules index e06fb5a..9a4a87e 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", ATTRS{iomem_base}=="0x5A090010", SYMLINK+="colibri-uarta" ACTION=="add", ATTRS{iomem_base}=="0x5A060010", SYMLINK+="colibri-uartb" ACTION=="add", ATTRS{iomem_base}=="0x5A080010", SYMLINK+="colibri-uartc" ACTION=="add", KERNELS=="watchdog", SYMLINK+="colibri-watchdog" -ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="5a020000.lpspi", SYMLINK+="colibri-spi-cs%n" +ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="5a020000.spi", SYMLINK+="colibri-spi-cs%n" KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="5b010000.usdhc", SYMLINK+="emmc" KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="5b010000.usdhc", SYMLINK+="emmc-boot%n" KERNEL=="mmcblk[0-9]p[0-9]", ENV{DEVTYPE}=="partition", KERNELS=="5b010000.usdhc", SYMLINK+="emmc-part%n" -- cgit v1.2.3