From: Frieder Schrempf Date: Fri, 20 Feb 2026 10:36:19 +0000 (+0100) Subject: arm64: dts: imx8mp-kontron: Use GPIO/IRQ defines in DL devicetree X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=93190b6eab824454223e355477d7ef621d1d8dae;p=thirdparty%2Fkernel%2Fstable.git arm64: dts: imx8mp-kontron: Use GPIO/IRQ defines in DL devicetree To make the code more readable, use the macros for the GPIO and IRQ settings. Signed-off-by: Frieder Schrempf Reviewed-by: Frank Li Reviewed-by: Daniel Baluta Signed-off-by: Frank Li --- diff --git a/arch/arm64/boot/dts/freescale/imx8mp-kontron-dl.dtso b/arch/arm64/boot/dts/freescale/imx8mp-kontron-dl.dtso index 7131e9a499ae..41a2bb74f156 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-kontron-dl.dtso +++ b/arch/arm64/boot/dts/freescale/imx8mp-kontron-dl.dtso @@ -7,6 +7,7 @@ /plugin/; #include +#include #include "imx8mp-pinfunc.h" &{/} { @@ -80,11 +81,11 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_touch>; interrupt-parent = <&gpio1>; - interrupts = <6 8>; - irq-gpios = <&gpio1 6 0>; + interrupts = <6 IRQ_TYPE_LEVEL_LOW>; + irq-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; AVDD28-supply = <®_vcc_panel>; VDDIO-supply = <®_vcc_panel>; - reset-gpios = <&gpio1 7 0>; + reset-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; }; };