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 <frieder.schrempf@kontron.de>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
This commit is contained in:
Frieder Schrempf 2026-02-20 11:36:19 +01:00 committed by Frank Li
parent d2ce84eecf
commit 93190b6eab

View File

@ -7,6 +7,7 @@
/plugin/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include "imx8mp-pinfunc.h"
&{/} {
@ -80,11 +81,11 @@ touchscreen@5d {
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 = <&reg_vcc_panel>;
VDDIO-supply = <&reg_vcc_panel>;
reset-gpios = <&gpio1 7 0>;
reset-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
};
};