summaryrefslogtreecommitdiff
path: root/recipes-core/udev/files/colibri-imx8x
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-06-25 12:29:44 +0300
committerMax Krummenacher <max.krummenacher@toradex.com>2020-06-30 10:51:34 +0200
commit50cd6973a822ff60a74ab12cdf29c4ae61f1b664 (patch)
tree3a8ddff46771044f88d217a6c7cb2a6c78b7f03c /recipes-core/udev/files/colibri-imx8x
parentdd7047b66205305b04cae589a27c0cd66e554305 (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-imx8x')
-rw-r--r--recipes-core/udev/files/colibri-imx8x/99-toradex.rules6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-core/udev/files/colibri-imx8x/99-toradex.rules b/recipes-core/udev/files/colibri-imx8x/99-toradex.rules
index fea5b81..b2ac268 100644
--- a/recipes-core/udev/files/colibri-imx8x/99-toradex.rules
+++ b/recipes-core/udev/files/colibri-imx8x/99-toradex.rules
@@ -1,8 +1,8 @@
ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="5a810000.i2c", SYMLINK+="colibri-i2c"
ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="5a800000.i2c", SYMLINK+="colibri-i2c-on-module"
-ACTION=="add", ATTRS{iomem_base}=="0x5A090010", SYMLINK+="colibri-ttya"
-ACTION=="add", ATTRS{iomem_base}=="0x5A060010", SYMLINK+="colibri-ttyb"
-ACTION=="add", ATTRS{iomem_base}=="0x5A080010", SYMLINK+="colibri-ttyc"
+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"
KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="5b010000.usdhc", SYMLINK+="emmc"