summaryrefslogtreecommitdiff
path: root/recipes-core/udev/eudev/mtcdt/mtcdt-atmel-serial.rules
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-11-08 12:32:50 -0600
committerAndrii Pientsov <andrii.pientsov@globallogic.com>2021-11-17 16:01:20 +0200
commit2a2c1bfc8961f2e18c3e6bea931ee3ca18017744 (patch)
treeca75d96d4dd3f1790162ab0485cb4f678db86eb0 /recipes-core/udev/eudev/mtcdt/mtcdt-atmel-serial.rules
parenta6b9cbf045b249635f234fcd7da370cb83a6e152 (diff)
downloadmeta-mlinux-atmel-2a2c1bfc8961f2e18c3e6bea931ee3ca18017744.tar.gz
meta-mlinux-atmel-2a2c1bfc8961f2e18c3e6bea931ee3ca18017744.tar.bz2
meta-mlinux-atmel-2a2c1bfc8961f2e18c3e6bea931ee3ca18017744.zip
Remove FTDI USB, and add Atmel Serial
Diffstat (limited to 'recipes-core/udev/eudev/mtcdt/mtcdt-atmel-serial.rules')
-rw-r--r--recipes-core/udev/eudev/mtcdt/mtcdt-atmel-serial.rules12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-core/udev/eudev/mtcdt/mtcdt-atmel-serial.rules b/recipes-core/udev/eudev/mtcdt/mtcdt-atmel-serial.rules
new file mode 100644
index 0000000..741e533
--- /dev/null
+++ b/recipes-core/udev/eudev/mtcdt/mtcdt-atmel-serial.rules
@@ -0,0 +1,12 @@
+# Rules for Atmel Serial on MTCDT-0.2
+# These devices will not be present without
+# loading an overlay.
+ACTION=="remove", GOTO="mlinux_end"
+SUBSYSTEM!="tty", GOTO="mlinux_end"
+
+# Accessory Ports
+ATTRS{iomem_base}=="0xF8040000", SYMLINK+="gps0"
+ATTRS{iomem_base}=="0xF8020000", SYMLINK+="ttyAP1"
+ATTRS{iomem_base}=="0xF8028000", SYMLINK+="ttyAP2"
+
+LABEL="mlinux_end"