summaryrefslogtreecommitdiff
path: root/overlays/colibri-imx6-eval_spidev_overlay.dts
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-12-30 20:23:16 +0200
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-01-13 19:38:51 +0200
commit981102d0fa8e74a4723d511d607ded8302b01fd4 (patch)
treeae195857bd83c632fd5d9bc2f79f12e230d1167d /overlays/colibri-imx6-eval_spidev_overlay.dts
parent106305bdf4bd30758ac077bdfaa8e1619c014a33 (diff)
overlays: colibri-imx6: add spidev overlay
The spidev device remains disabled in the main devicetree for Colibri Eval board. Add the overlay to enable it and disable on-board mcp2515 CAN controller, that uses the same spi port. Related-to: ELB-3401 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'overlays/colibri-imx6-eval_spidev_overlay.dts')
-rw-r--r--overlays/colibri-imx6-eval_spidev_overlay.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/overlays/colibri-imx6-eval_spidev_overlay.dts b/overlays/colibri-imx6-eval_spidev_overlay.dts
new file mode 100644
index 0000000..b905c1b
--- /dev/null
+++ b/overlays/colibri-imx6-eval_spidev_overlay.dts
@@ -0,0 +1,22 @@
+// SPI generic spidev device for Colibri iMX6DL.
+
+/dts-v1/;
+/plugin/;
+
+/ {
+ compatible = "toradex,colibri_imx6dl-eval-v3",
+ "toradex,colibri-imx6dl-eval-v3";
+};
+
+&ecspi4 {
+ status = "okay";
+};
+
+&mcp251x0 {
+ status = "disabled";
+};
+
+&spidev0 {
+ status = "okay";
+};
+