arm64: dts: imx8: use defines for interrupts

Replace hard-coded interrupt flags with standard defines for
readability.  No changes in resulting DTBs.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Krzysztof Kozlowski
2024-06-05 17:30:20 +02:00
committed by Shawn Guo
parent 645e59e613
commit 1d8a9f043a
2 changed files with 2 additions and 2 deletions

View File

@@ -400,7 +400,7 @@ ptn5110: tcpc@50 {
pinctrl-0 = <&pinctrl_typec1>;
reg = <0x50>;
interrupt-parent = <&gpio2>;
interrupts = <11 8>;
interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
status = "okay";
typec1_con: connector {

View File

@@ -193,7 +193,7 @@ light-sensor@44 {
compatible = "isil,isl29023";
reg = <0x44>;
interrupt-parent = <&lsio_gpio4>;
interrupts = <11 2>;
interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
};
pressure-sensor@60 {