diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-06-22 17:52:11 +0300 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-06-30 10:51:34 +0200 |
commit | c1bffcb19137bdbe17c9a3258cca4948edccd4b8 (patch) | |
tree | 420439121f924444ed6d55c732dbfc6a94e8e181 /recipes-core/udev/files | |
parent | 758eb5c09107bdcbb3362b636cdf418e471d18fa (diff) |
99-toradex.rules: fix (ec)spi rule
There are 2 different names for spi use by downstream and upstream
kernel. Fix the udev rules to match both variants.
Related-to: ELB-2784
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit 9109e68f1b0a8cb9228e7ff39bc41b5d0f209cbf)
Diffstat (limited to 'recipes-core/udev/files')
-rw-r--r-- | recipes-core/udev/files/apalis-imx6/99-toradex.rules | 4 | ||||
-rw-r--r-- | recipes-core/udev/files/colibri-imx6ull/99-toradex.rules | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/recipes-core/udev/files/apalis-imx6/99-toradex.rules b/recipes-core/udev/files/apalis-imx6/99-toradex.rules index ee467a4..992f9e4 100644 --- a/recipes-core/udev/files/apalis-imx6/99-toradex.rules +++ b/recipes-core/udev/files/apalis-imx6/99-toradex.rules @@ -7,8 +7,8 @@ ACTION=="add", ATTRS{iomem_base}=="0x21E8000", SYMLINK+="apalis-tty2" ACTION=="add", ATTRS{iomem_base}=="0x21F0000", SYMLINK+="apalis-tty3" ACTION=="add", ATTRS{iomem_base}=="0x21F4000", SYMLINK+="apalis-tty4" ACTION=="add", KERNELS=="20bc000.wdog", SYMLINK+="apalis-watchdog" -ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="2008000.ecspi", SYMLINK+="apalis-spi1-cs%n" -ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="200c000.ecspi", SYMLINK+="apalis-spi2-cs%n" +ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="2008000.*spi", SYMLINK+="apalis-spi1-cs%n" +ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="200c000.*spi", SYMLINK+="apalis-spi2-cs%n" KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="2198000.usdhc", SYMLINK+="emmc" KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="2198000.usdhc", SYMLINK+="emmc-boot%n" KERNEL=="mmcblk[0-9]p[0-9]", ENV{DEVTYPE}=="partition", KERNELS=="2198000.usdhc", SYMLINK+="emmc-part%n" diff --git a/recipes-core/udev/files/colibri-imx6ull/99-toradex.rules b/recipes-core/udev/files/colibri-imx6ull/99-toradex.rules index a5f1619..e0c84f9 100644 --- a/recipes-core/udev/files/colibri-imx6ull/99-toradex.rules +++ b/recipes-core/udev/files/colibri-imx6ull/99-toradex.rules @@ -4,4 +4,4 @@ ACTION=="add", ATTRS{iomem_base}=="0x2020000", SYMLINK+="colibri-ttya" ACTION=="add", ATTRS{iomem_base}=="0x21E8000", SYMLINK+="colibri-ttyb" ACTION=="add", ATTRS{iomem_base}=="0x21F4000", SYMLINK+="colibri-ttyc" ACTION=="add", KERNELS=="20bc000.wdog", SYMLINK+="colibri-watchdog" -ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="2008000.ecspi", SYMLINK+="colibri-spi-cs%n" +ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="2008000.*spi", SYMLINK+="colibri-spi-cs%n" |