diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-06-25 12:29:44 +0300 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-06-25 12:38:32 +0300 |
commit | 2e2be094e62bb61c9e58a115b5d89d5b960eed50 (patch) | |
tree | d0125f089effd824c8b4d80c54ba927ff3a6de85 /recipes-core/udev/files/colibri-imx7/99-toradex.rules | |
parent | e13aa11315c57980816d6a68f9c5216b455ee017 (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/99-toradex.rules')
-rw-r--r-- | recipes-core/udev/files/colibri-imx7/99-toradex.rules | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-core/udev/files/colibri-imx7/99-toradex.rules b/recipes-core/udev/files/colibri-imx7/99-toradex.rules index 77785f6..6ab5fc9 100644 --- a/recipes-core/udev/files/colibri-imx7/99-toradex.rules +++ b/recipes-core/udev/files/colibri-imx7/99-toradex.rules @@ -1,7 +1,7 @@ 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" |