Skip to content

Commit 827f4e3

Browse files
committed
arm64: dts: mediatek: mt7987-bpi-r4lite: fix switch polarity
based on this discussion https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/#26682224 mt7531 reset pin is always active-low. change accordingly.
1 parent c5e192c commit 827f4e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/arm64/boot/dts/mediatek/mt7987a-bananapi-bpi-r4-lite.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include "mt7987a.dtsi"
1010
#include <dt-bindings/input/input.h>
1111
#include <dt-bindings/leds/common.h>
12+
#include <dt-bindings/gpio/gpio.h>
1213
#include "mt7987a-bananapi-bpi-r4-lite-mikrobus.dtsi"
1314

1415
/ {
@@ -215,7 +216,7 @@
215216
switch31: switch@31 {
216217
compatible = "mediatek,mt7531";
217218
reg = <31>;
218-
reset-gpios = <&pio 42 0>;
219+
reset-gpios = <&pio 42 GPIO_ACTIVE_LOW>;
219220
status = "okay";
220221
};
221222
};

0 commit comments

Comments
 (0)