summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2020-09-25 12:53:58 +0200
committerPhilippe Schenker <philippe.schenker@toradex.com>2020-09-25 12:55:38 +0200
commitae14aa79cf31f36abf2293526bd3325c250afcb4 (patch)
treecf5b49a87aa1404e001fd4524b9707979bc6eb56
parent563609662848648d75bea70f5ed7c79e22604bfd (diff)
udev: use spi naming from new 5.4 kernelHEADmaster
In 5.4 kernel the naming changed from lpspi to spi. Address this in all i.MX8 udev rules Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
-rw-r--r--recipes-core/udev/files/apalis-imx8/99-toradex.rules4
-rw-r--r--recipes-core/udev/files/apalis-imx8x/99-toradex.rules4
-rw-r--r--recipes-core/udev/files/colibri-imx8x/99-toradex.rules2
3 files changed, 5 insertions, 5 deletions
diff --git a/recipes-core/udev/files/apalis-imx8/99-toradex.rules b/recipes-core/udev/files/apalis-imx8/99-toradex.rules
index 994fce7..0d833e8 100644
--- a/recipes-core/udev/files/apalis-imx8/99-toradex.rules
+++ b/recipes-core/udev/files/apalis-imx8/99-toradex.rules
@@ -6,8 +6,8 @@ ACTION=="add", ATTRS{iomem_base}=="0x5A090010", SYMLINK+="apalis-uart2"
ACTION=="add", ATTRS{iomem_base}=="0x5A060010", SYMLINK+="apalis-uart3"
ACTION=="add", ATTRS{iomem_base}=="0x5A080010", SYMLINK+="apalis-uart4"
ACTION=="add", KERNELS=="watchdog", SYMLINK+="apalis-watchdog"
-ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="5a000000.lpspi", SYMLINK+="apalis-spi1-cs%n"
-ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="5a020000.lpspi", SYMLINK+="apalis-spi2-cs%n"
+ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="5a000000.spi", SYMLINK+="apalis-spi1-cs%n"
+ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="5a020000.spi", SYMLINK+="apalis-spi2-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"
diff --git a/recipes-core/udev/files/apalis-imx8x/99-toradex.rules b/recipes-core/udev/files/apalis-imx8x/99-toradex.rules
index 8f19f51..2c29a0e 100644
--- a/recipes-core/udev/files/apalis-imx8x/99-toradex.rules
+++ b/recipes-core/udev/files/apalis-imx8x/99-toradex.rules
@@ -7,8 +7,8 @@ ACTION=="add", ATTRS{iomem_base}=="0x5A060010", SYMLINK+="apalis-uart2"
ACTION=="add", ATTRS{iomem_base}=="0x5A080010", SYMLINK+="apalis-uart3"
ACTION=="add", ATTRS{iomem_base}=="0x5A090010", SYMLINK+="apalis-uart4"
ACTION=="add", KERNELS=="watchdog", SYMLINK+="apalis-watchdog"
-ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="5a000000.lpspi", SYMLINK+="apalis-spi1-cs%n"
-ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="5a020000.lpspi", SYMLINK+="apalis-spi2-cs%n"
+ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="5a000000.spi", SYMLINK+="apalis-spi1-cs%n"
+ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="5a020000.spi", SYMLINK+="apalis-spi2-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"
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"