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/colibri-imx6/99-toradex.rules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'recipes-core/udev/files/colibri-imx6/99-toradex.rules') diff --git a/recipes-core/udev/files/colibri-imx6/99-toradex.rules b/recipes-core/udev/files/colibri-imx6/99-toradex.rules index 06c1945..a1c4ac2 100644 --- a/recipes-core/udev/files/colibri-imx6/99-toradex.rules +++ b/recipes-core/udev/files/colibri-imx6/99-toradex.rules @@ -1,9 +1,9 @@ ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="21a8000.i2c", SYMLINK+="colibri-i2c" ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="i2c@0", SYMLINK+="colibri-i2c-ddc" ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="21a4000.i2c", SYMLINK+="colibri-i2c-on-module" -ACTION=="add", ATTRS{iomem_base}=="0x2020000", SYMLINK+="colibri-ttya" -ACTION=="add", ATTRS{iomem_base}=="0x21E8000", SYMLINK+="colibri-ttyb" -ACTION=="add", ATTRS{iomem_base}=="0x21EC000", SYMLINK+="colibri-ttyc" +ACTION=="add", ATTRS{iomem_base}=="0x2020000", SYMLINK+="colibri-uarta" +ACTION=="add", ATTRS{iomem_base}=="0x21E8000", SYMLINK+="colibri-uartb" +ACTION=="add", ATTRS{iomem_base}=="0x21EC000", SYMLINK+="colibri-uartc" ACTION=="add", KERNELS=="20bc000.wdog", SYMLINK+="colibri-watchdog" ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="2014000.*spi", SYMLINK+="colibri-spi-cs%n" KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="2198000.usdhc", SYMLINK+="emmc" -- cgit v1.2.3