dts: arm: nxp: lpc55S6X: Added trig bindings for DMA

Added Input/Output trigger mux address's as properties
that can be passed into the DMA driver. This is intended
to send INPUTMUX signals into the DMA.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
diff --git a/boards/arm/lpcxpresso55s69/lpcxpresso55s69.dtsi b/boards/arm/lpcxpresso55s69/lpcxpresso55s69.dtsi
index 11b3263..2868635 100644
--- a/boards/arm/lpcxpresso55s69/lpcxpresso55s69.dtsi
+++ b/boards/arm/lpcxpresso55s69/lpcxpresso55s69.dtsi
@@ -181,6 +181,20 @@
 mikrobus_spi: &hs_lspi {
 };
 
+&dma0 {
+	/*
+	 * The total number of dma channels available is defined by
+	 * FSL_FEATURE_DMA_NUMBER_OF_CHANNELS in the SoC features file.
+	 * Since memory from the heap pool is allocated based on the number
+	 * of DMA channels, set this property to as many channels is needed
+	 * for the platform. Adjust HEAP_MEM_POOL_SIZE in case you need more
+	 * memory.
+	 */
+	dma-channels = <20>;
+	nxp,dma-num-of-otrigs = <4>;
+	status = "okay";
+};
+
 &flexcomm0 {
 	pinctrl-0 = <&pinmux_flexcomm0_usart>;
 	pinctrl-names = "default";
diff --git a/boards/arm/lpcxpresso55s69/lpcxpresso55s69_cpu0.dts b/boards/arm/lpcxpresso55s69/lpcxpresso55s69_cpu0.dts
index 7a8b350..239e0a2 100644
--- a/boards/arm/lpcxpresso55s69/lpcxpresso55s69_cpu0.dts
+++ b/boards/arm/lpcxpresso55s69/lpcxpresso55s69_cpu0.dts
@@ -146,6 +146,13 @@
 	 * memory.
 	 */
 	dma-channels = <20>;
+	nxp,dma-num-of-otrigs = <4>;
+	status = "okay";
+};
+
+&dma1 {
+	dma-channels = <10>;
+	nxp,dma-num-of-otrigs = <4>;
 	status = "okay";
 };
 
diff --git a/dts/arm/nxp/nxp_lpc55S6x_common.dtsi b/dts/arm/nxp/nxp_lpc55S6x_common.dtsi
index f291c16..6f1abfa 100644
--- a/dts/arm/nxp/nxp_lpc55S6x_common.dtsi
+++ b/dts/arm/nxp/nxp_lpc55S6x_common.dtsi
@@ -9,6 +9,7 @@
 #include <zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h>
 #include <zephyr/dt-bindings/gpio/gpio.h>
 #include <zephyr/dt-bindings/i2c/i2c.h>
+#include <zephyr/dt-bindings/inputmux/inputmux_trigger_ports.h>
 #include <arm/armv8-m.dtsi>
 
 / {
@@ -178,6 +179,8 @@
 		compatible = "nxp,lpc-dma";
 		reg = <0x82000 0x1000>;
 		interrupts = <1 0>;
+		nxp,dma-otrig-base-address = <LPC55S69_DMA0_OTRIG_BASE>;
+		nxp,dma-itrig-base-address = <LPC55S69_DMA0_ITRIG_BASE>;
 		status = "disabled";
 		#dma-cells = <1>;
 	};
@@ -186,6 +189,8 @@
 		compatible = "nxp,lpc-dma";
 		reg = <0xa7000 0x1000>;
 		interrupts = <58 0>;
+		nxp,dma-otrig-base-address = <LPC55S69_DMA1_OTRIG_BASE>;
+		nxp,dma-itrig-base-address = <LPC55S69_DMA1_ITRIG_BASE>;
 		status = "disabled";
 		#dma-cells = <1>;
 	};
diff --git a/dts/bindings/dma/nxp,lpc-dma.yaml b/dts/bindings/dma/nxp,lpc-dma.yaml
index dd4fafd..db99007 100644
--- a/dts/bindings/dma/nxp,lpc-dma.yaml
+++ b/dts/bindings/dma/nxp,lpc-dma.yaml
@@ -17,6 +17,18 @@
   dma-channels:
     required: true
 
+  nxp,dma-num-of-otrigs:
+    type: int
+    description: Number of Inputmux connections a DMA channel can receive from
+
+  nxp,dma-otrig-base-address:
+    type: int
+    description: Address used when listening to Inputmux DMA signals
+
+  nxp,dma-itrig-base-address:
+    type: int
+    description: DMA Channel Selection Address used for receiving signals
+
   "#dma-cells":
     type: int
     required: true
diff --git a/include/zephyr/dt-bindings/inputmux/inputmux_trigger_ports.h b/include/zephyr/dt-bindings/inputmux/inputmux_trigger_ports.h
new file mode 100644
index 0000000..b7e249d
--- /dev/null
+++ b/include/zephyr/dt-bindings/inputmux/inputmux_trigger_ports.h
@@ -0,0 +1,14 @@
+/*
+ * Copyright 2023 NXP
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
+#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_INPUTMUX_TRIGGER_PORTS_H_
+#define ZEPHYR_INCLUDE_DT_BINDINGS_INPUTMUX_TRIGGER_PORTS_H_
+
+#define LPC55S69_DMA0_OTRIG_BASE 0x16000000
+#define LPC55S69_DMA0_ITRIG_BASE 0x0E00000F
+#define LPC55S69_DMA1_OTRIG_BASE 0x24000002
+#define LPC55S69_DMA1_ITRIG_BASE 0x20000008
+
+#endif