From 2e2be094e62bb61c9e58a115b5d89d5b960eed50 Mon Sep 17 00:00:00 2001 From: Oleksandr Suvorov Date: Thu, 25 Jun 2020 12:29:44 +0300 Subject: 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 --- recipes-core/udev/files/verdin-imx8mm/99-toradex.rules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'recipes-core/udev/files/verdin-imx8mm/99-toradex.rules') diff --git a/recipes-core/udev/files/verdin-imx8mm/99-toradex.rules b/recipes-core/udev/files/verdin-imx8mm/99-toradex.rules index 35e4761..736d9d8 100644 --- a/recipes-core/udev/files/verdin-imx8mm/99-toradex.rules +++ b/recipes-core/udev/files/verdin-imx8mm/99-toradex.rules @@ -2,9 +2,9 @@ ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="30a50000.i2c", SYMLINK+="verd ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="30a30000.i2c", SYMLINK+="verdin-i2c2" ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="30a40000.i2c", SYMLINK+="verdin-i2c4" ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="30a20000.i2c", SYMLINK+="verdin-i2c-on-module" -ACTION=="add", ATTRS{iomem_base}=="0x30890000", SYMLINK+="verdin-tty1" -ACTION=="add", ATTRS{iomem_base}=="0x30880000", SYMLINK+="verdin-tty2" -ACTION=="add", ATTRS{iomem_base}=="0x30860000", SYMLINK+="verdin-tty3" +ACTION=="add", ATTRS{iomem_base}=="0x30890000", SYMLINK+="verdin-uart1" +ACTION=="add", ATTRS{iomem_base}=="0x30880000", SYMLINK+="verdin-uart2" +ACTION=="add", ATTRS{iomem_base}=="0x30860000", SYMLINK+="verdin-uart3" ACTION=="add", KERNELS=="watchdog", SYMLINK+="verdin-watchdog" ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="30830000.ecspi", SYMLINK+="verdin-spi-cs%n" KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="30b40000.mmc", SYMLINK+="emmc" -- cgit v1.2.3