summaryrefslogtreecommitdiff
path: root/overlays/verdin-am62_mezzanine_can.dts
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/verdin-am62_mezzanine_can.dts')
-rw-r--r--overlays/verdin-am62_mezzanine_can.dts30
1 files changed, 30 insertions, 0 deletions
diff --git a/overlays/verdin-am62_mezzanine_can.dts b/overlays/verdin-am62_mezzanine_can.dts
new file mode 100644
index 0000000..4c71caf
--- /dev/null
+++ b/overlays/verdin-am62_mezzanine_can.dts
@@ -0,0 +1,30 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Copyright 2024 Toradex
+ */
+
+// Verdin AM62 Mezzanine CAN
+
+/dts-v1/;
+/plugin/;
+
+#include "k3-pinctrl.h"
+
+/ {
+ compatible = "toradex,verdin-am62";
+};
+
+&mcu_pmx0 {
+ pinctrl_mcu_mcan1: mcu-mcan1-default-pins {
+ pinctrl-single,pins = <
+ AM62X_MCU_IOPAD(0x0040, PIN_INPUT, 0) /* (D4) MCU_MCAN1_RX */ /* SODIMM 116 */
+ AM62X_MCU_IOPAD(0x003c, PIN_OUTPUT, 0) /* (E5) MCU_MCAN1_TX */ /* SODIMM 128 */
+ >;
+ };
+};
+
+&mcu_mcan1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_mcu_mcan1>;
+ status = "okay";
+};