]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: fix wrong reset_gpio 20116/head
authorRosen Penev <rosenp@gmail.com>
Mon, 6 Oct 2025 20:42:05 +0000 (13:42 -0700)
committerRobert Marko <robimarko@gmail.com>
Wed, 8 Oct 2025 12:26:25 +0000 (14:26 +0200)
Should be reset-gpio. Also added GPIO_ACTIVE_HIGH for clarity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20116
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-common.dtsi
target/linux/mediatek/files-6.12/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dtsi

index cc53ac953e9406f058037279d487e1387666ae57..2c7d1dc18462be129f9b2acedf91777e1b55de65 100644 (file)
                spi-cpol = <1>;
                channel_count = <1>;
                debug_level = <4>;       /* 1 = TRC, 2 = DBG, 4 = ERR */
-               reset_gpio = <&pio 25 GPIO_ACTIVE_HIGH>;
+               reset-gpios = <&pio 25 GPIO_ACTIVE_HIGH>;
                ig,enable-spi = <1>;     /* 1: Enable, 0: Disable */
        };
 };
index 3c66ac911308be5af0a78a78d037895b9c8ceffd..c01f3dd0e484868e5516d27789f958441b5b5af7 100644 (file)
                spi-cpol = <1>;
                channel_count = <1>;
                debug_level = <4>;       /* 1 = TRC, 2 = DBG, 4 = ERR */
-               reset_gpio = <&pio 7 0>;
+               reset-gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
                ig,enable-spi = <1>;     /* 1: Enable, 0: Disable */
        };
 };