diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-06-25 12:29:44 +0300 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-06-30 10:51:34 +0200 |
commit | 50cd6973a822ff60a74ab12cdf29c4ae61f1b664 (patch) | |
tree | 3a8ddff46771044f88d217a6c7cb2a6c78b7f03c /recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules | |
parent | dd7047b66205305b04cae589a27c0cd66e554305 (diff) |
99-toradex.rules: rename *-ttyX to *-uartX
According to the internal document "Hardware interfaces
standardization", the UART interfaces should be accessed
via device nodes named with the module family and matching
the signal name used in the module datasheet.
Modify udev rules for UART devices accordingly.
Related-to: ELB-2787
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit 2e2be094e62bb61c9e58a115b5d89d5b960eed50)
Diffstat (limited to 'recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules')
-rw-r--r-- | recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules b/recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules index 6820063..2681e77 100644 --- a/recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules +++ b/recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules @@ -1,8 +1,8 @@ ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="30a50000.i2c", SYMLINK+="colibri-i2c" ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="30a20000.i2c", SYMLINK+="colibri-i2c-on-module" -ACTION=="add", ATTRS{iomem_base}=="0x30860000", SYMLINK+="colibri-ttya" -ACTION=="add", ATTRS{iomem_base}=="0x30890000", SYMLINK+="colibri-ttyb" -ACTION=="add", ATTRS{iomem_base}=="0x30880000", SYMLINK+="colibri-ttyc" +ACTION=="add", ATTRS{iomem_base}=="0x30860000", SYMLINK+="colibri-uarta" +ACTION=="add", ATTRS{iomem_base}=="0x30890000", SYMLINK+="colibri-uartb" +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" KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="30b60000.usdhc", SYMLINK+="emmc" |