summaryrefslogtreecommitdiff
path: root/recipes-core/udev/files/colibri-imx6ull
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2020-04-27 11:15:29 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2020-06-01 11:40:39 +0200
commite418b11a5f78569b906d21f563e4e89f0a0f44be (patch)
tree98aa935e11321bbb59c604c514f94b930dd09c57 /recipes-core/udev/files/colibri-imx6ull
parentc58086c5d7a54501b1b189855ce6634684b61483 (diff)
recipes-core: udev: add rules for symlinking spi devices
This commit adds rules to udev so apalis/colibri or verdin spi devices are symlinked consistently. Related-to: ELB-2380, ELB-2598 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit bd072a5fc62dd7f29a94d682de2346257344ea35)
Diffstat (limited to 'recipes-core/udev/files/colibri-imx6ull')
-rw-r--r--recipes-core/udev/files/colibri-imx6ull/99-toradex.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-core/udev/files/colibri-imx6ull/99-toradex.rules b/recipes-core/udev/files/colibri-imx6ull/99-toradex.rules
index 7fbfb6d..a5f1619 100644
--- a/recipes-core/udev/files/colibri-imx6ull/99-toradex.rules
+++ b/recipes-core/udev/files/colibri-imx6ull/99-toradex.rules
@@ -4,3 +4,4 @@ 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", KERNELS=="20bc000.wdog", SYMLINK+="colibri-watchdog"
+ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="2008000.ecspi", SYMLINK+="colibri-spi-cs%n"