ARM: dts: rockchip: correct interrupt flags on rk3188 boards
GPIO_ACTIVE_x flags are not correct in the context of interrupt flags. These are simple defines so they could be used in DTS but they will not have the same meaning: 1. GPIO_ACTIVE_HIGH = 0 = IRQ_TYPE_NONE 2. GPIO_ACTIVE_LOW = 1 = IRQ_TYPE_EDGE_RISING Correct the interrupt flags without affecting the code: ACTIVE_HIGH => IRQ_TYPE_NONE Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20200917185211.5483-1-krzk@kernel.org Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
parent
3123109284
commit
7e5a7e39d7
@ -7,6 +7,7 @@
|
||||
/dts-v1/;
|
||||
#include <dt-bindings/i2c/i2c.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include "rk3188.dtsi"
|
||||
|
||||
/ {
|
||||
@ -485,7 +486,7 @@
|
||||
reg = <1>;
|
||||
compatible = "brcm,bcm4329-fmac";
|
||||
interrupt-parent = <&gpio3>;
|
||||
interrupts = <RK_PD2 GPIO_ACTIVE_HIGH>;
|
||||
interrupts = <RK_PD2 IRQ_TYPE_NONE>;
|
||||
interrupt-names = "host-wake";
|
||||
brcm,drive-strength = <5>;
|
||||
pinctrl-names = "default";
|
||||
|
Loading…
Reference in New Issue
Block a user