summaryrefslogtreecommitdiff
path: root/recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-06-25 12:29:44 +0300
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-06-25 12:38:32 +0300
commit2e2be094e62bb61c9e58a115b5d89d5b960eed50 (patch)
treed0125f089effd824c8b4d80c54ba927ff3a6de85 /recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules
parente13aa11315c57980816d6a68f9c5216b455ee017 (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>
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.rules6
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"