diff options
author | Ming Liu <ming.liu@toradex.com> | 2022-05-10 16:40:16 +0200 |
---|---|---|
committer | Ming Liu <ming.liu@toradex.com> | 2022-06-15 13:37:25 +0200 |
commit | f3ffdd3ac06567500fbe6937755b61b501242ac6 (patch) | |
tree | 69c873cffc3936e91735d4a6a5c19d139a764340 /recipes-core/udev/files/colibri-imx6ull-emmc/99-toradex.rules | |
parent | 25e4cd16014587b9268f1af43e383a96d414ed26 (diff) |
udev-toradex-rules: update udev rules for kernels after 5.4
```
commit a6d094403cd6 ("ARM: dts: imx: Change usdhc node name on i.MX6/i.MX7 SoCs")
commit bffe02ccca5b ("ARM: dts: imx: make wdog node name generic")
```
in kernel source has changed the `usdhc`, `watchdog` node names, adapt
the udev rules to match both the old and new naming scheme.
Related-to: ELB-4373
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Diffstat (limited to 'recipes-core/udev/files/colibri-imx6ull-emmc/99-toradex.rules')
-rw-r--r-- | recipes-core/udev/files/colibri-imx6ull-emmc/99-toradex.rules | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-core/udev/files/colibri-imx6ull-emmc/99-toradex.rules b/recipes-core/udev/files/colibri-imx6ull-emmc/99-toradex.rules index 651050a..40f9444 100644 --- a/recipes-core/udev/files/colibri-imx6ull-emmc/99-toradex.rules +++ b/recipes-core/udev/files/colibri-imx6ull-emmc/99-toradex.rules @@ -4,10 +4,16 @@ ACTION=="add", ATTRS{iomem_base}=="0x2020000", SYMLINK+="colibri-uarta" ACTION=="add", ATTRS{iomem_base}=="0x21E8000", SYMLINK+="colibri-uartb" ACTION=="add", ATTRS{iomem_base}=="0x21F4000", SYMLINK+="colibri-uartc" ACTION=="add", KERNELS=="20bc000.wdog", SYMLINK+="colibri-watchdog" +ACTION=="add", KERNELS=="20bc000.watchdog", SYMLINK+="colibri-watchdog" ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="2008000.*spi", SYMLINK+="colibri-spi-cs%n" KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="2194000.usdhc", SYMLINK+="emmc" +KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="2194000.mmc", SYMLINK+="emmc" KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="2194000.usdhc", SYMLINK+="emmc-boot%n" +KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="2194000.mmc", SYMLINK+="emmc-boot%n" KERNEL=="mmcblk[0-9]p[0-9]", ENV{DEVTYPE}=="partition", KERNELS=="2194000.usdhc", SYMLINK+="emmc-part%n" +KERNEL=="mmcblk[0-9]p[0-9]", ENV{DEVTYPE}=="partition", KERNELS=="2194000.mmc", SYMLINK+="emmc-part%n" SUBSYSTEM=="iio", KERNELS=="iio:device0", RUN+="/etc/udev/scripts/toradex-adc.sh" ACTION=="add|change", KERNEL=="mmcblk[0-9]", KERNELS=="2190000.usdhc", SYMLINK+="colibri-sd" +ACTION=="add|change", KERNEL=="mmcblk[0-9]", KERNELS=="2190000.mmc", SYMLINK+="colibri-sd" ACTION=="add|change", KERNEL=="mmcblk[0-9]p[0-9]*", KERNELS=="2190000.usdhc", SYMLINK+="colibri-sd-part%n" +ACTION=="add|change", KERNEL=="mmcblk[0-9]p[0-9]*", KERNELS=="2190000.mmc", SYMLINK+="colibri-sd-part%n" |