diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-06-25 12:29:44 +0300 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-06-30 10:51:34 +0200 |
commit | 50cd6973a822ff60a74ab12cdf29c4ae61f1b664 (patch) | |
tree | 3a8ddff46771044f88d217a6c7cb2a6c78b7f03c /recipes-core/udev/files | |
parent | dd7047b66205305b04cae589a27c0cd66e554305 (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')
9 files changed, 30 insertions, 30 deletions
diff --git a/recipes-core/udev/files/apalis-imx6/99-toradex.rules b/recipes-core/udev/files/apalis-imx6/99-toradex.rules index 992f9e4..fac1101 100644 --- a/recipes-core/udev/files/apalis-imx6/99-toradex.rules +++ b/recipes-core/udev/files/apalis-imx6/99-toradex.rules @@ -2,10 +2,10 @@ ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="21a0000.i2c", SYMLINK+="apali ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="i2c@0", SYMLINK+="apalis-i2c2" ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="21a8000.i2c", SYMLINK+="apalis-i2c3" ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="21a4000.i2c", SYMLINK+="apalis-i2c-on-module" -ACTION=="add", ATTRS{iomem_base}=="0x2020000", SYMLINK+="apalis-tty1" -ACTION=="add", ATTRS{iomem_base}=="0x21E8000", SYMLINK+="apalis-tty2" -ACTION=="add", ATTRS{iomem_base}=="0x21F0000", SYMLINK+="apalis-tty3" -ACTION=="add", ATTRS{iomem_base}=="0x21F4000", SYMLINK+="apalis-tty4" +ACTION=="add", ATTRS{iomem_base}=="0x2020000", SYMLINK+="apalis-uart1" +ACTION=="add", ATTRS{iomem_base}=="0x21E8000", SYMLINK+="apalis-uart2" +ACTION=="add", ATTRS{iomem_base}=="0x21F0000", SYMLINK+="apalis-uart3" +ACTION=="add", ATTRS{iomem_base}=="0x21F4000", SYMLINK+="apalis-uart4" ACTION=="add", KERNELS=="20bc000.wdog", SYMLINK+="apalis-watchdog" ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="2008000.*spi", SYMLINK+="apalis-spi1-cs%n" ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="200c000.*spi", SYMLINK+="apalis-spi2-cs%n" diff --git a/recipes-core/udev/files/apalis-imx8/99-toradex.rules b/recipes-core/udev/files/apalis-imx8/99-toradex.rules index 09b0770..2c62b6c 100644 --- a/recipes-core/udev/files/apalis-imx8/99-toradex.rules +++ b/recipes-core/udev/files/apalis-imx8/99-toradex.rules @@ -1,10 +1,10 @@ ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="5a820000.i2c", SYMLINK+="apalis-i2c1" ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="5a830000.i2c", SYMLINK+="apalis-i2c3" ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="5a810000.i2c", SYMLINK+="apalis-i2c-on-module" -ACTION=="add", ATTRS{iomem_base}=="0x5A070010", SYMLINK+="apalis-tty1" -ACTION=="add", ATTRS{iomem_base}=="0x5A090010", SYMLINK+="apalis-tty2" -ACTION=="add", ATTRS{iomem_base}=="0x5A060010", SYMLINK+="apalis-tty3" -ACTION=="add", ATTRS{iomem_base}=="0x5A080010", SYMLINK+="apalis-tty4" +ACTION=="add", ATTRS{iomem_base}=="0x5A070010", SYMLINK+="apalis-uart1" +ACTION=="add", ATTRS{iomem_base}=="0x5A090010", SYMLINK+="apalis-uart2" +ACTION=="add", ATTRS{iomem_base}=="0x5A060010", SYMLINK+="apalis-uart3" +ACTION=="add", ATTRS{iomem_base}=="0x5A080010", SYMLINK+="apalis-uart4" ACTION=="add", KERNELS=="watchdog", SYMLINK+="apalis-watchdog" ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="5a000000.lpspi", SYMLINK+="apalis-spi1-cs%n" ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="5a020000.lpspi", SYMLINK+="apalis-spi2-cs%n" diff --git a/recipes-core/udev/files/apalis-imx8x/99-toradex.rules b/recipes-core/udev/files/apalis-imx8x/99-toradex.rules index b4ba7fc..8b29437 100644 --- a/recipes-core/udev/files/apalis-imx8x/99-toradex.rules +++ b/recipes-core/udev/files/apalis-imx8x/99-toradex.rules @@ -2,10 +2,10 @@ ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="5a810000.i2c", SYMLINK+="apal ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="56246000.i2c", SYMLINK+="apalis-i2c2" ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="5a830000.i2c", SYMLINK+="apalis-i2c3" ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="5a800000.i2c", SYMLINK+="apalis-i2c-on-module" -ACTION=="add", ATTRS{iomem_base}=="0x5A070010", SYMLINK+="apalis-tty1" -ACTION=="add", ATTRS{iomem_base}=="0x5A060010", SYMLINK+="apalis-tty2" -ACTION=="add", ATTRS{iomem_base}=="0x5A080010", SYMLINK+="apalis-tty3" -ACTION=="add", ATTRS{iomem_base}=="0x5A090010", SYMLINK+="apalis-tty4" +ACTION=="add", ATTRS{iomem_base}=="0x5A070010", SYMLINK+="apalis-uart1" +ACTION=="add", ATTRS{iomem_base}=="0x5A060010", SYMLINK+="apalis-uart2" +ACTION=="add", ATTRS{iomem_base}=="0x5A080010", SYMLINK+="apalis-uart3" +ACTION=="add", ATTRS{iomem_base}=="0x5A090010", SYMLINK+="apalis-uart4" ACTION=="add", KERNELS=="watchdog", SYMLINK+="apalis-watchdog" ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="5a000000.lpspi", SYMLINK+="apalis-spi1-cs%n" ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="5a020000.lpspi", SYMLINK+="apalis-spi2-cs%n" 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" diff --git a/recipes-core/udev/files/colibri-imx6ull/99-toradex.rules b/recipes-core/udev/files/colibri-imx6ull/99-toradex.rules index e0c84f9..1240752 100644 --- a/recipes-core/udev/files/colibri-imx6ull/99-toradex.rules +++ b/recipes-core/udev/files/colibri-imx6ull/99-toradex.rules @@ -1,7 +1,7 @@ ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="21a0000.i2c", SYMLINK+="colibri-i2c" 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}=="0x21F4000", 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}=="0x21F4000", SYMLINK+="colibri-uartc" ACTION=="add", KERNELS=="20bc000.wdog", SYMLINK+="colibri-watchdog" ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="2008000.*spi", SYMLINK+="colibri-spi-cs%n" 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" 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" 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" 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" |