mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 20:22:08 +02:00
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:
parent
d2ce84eecf
commit
93190b6eab
|
|
@ -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 = <®_vcc_panel>;
|
||||
VDDIO-supply = <®_vcc_panel>;
|
||||
reset-gpios = <&gpio1 7 0>;
|
||||
reset-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user