From 934f2f4030420bfd537a80e8359de0a235765394 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Thu, 19 Oct 2023 16:21:39 +0800 Subject: [PATCH] mediatek: fix button type for abt asr3000 Signed-off-by: Tianling Shen --- .../dts/mt7981b-abt-asr3000-ubootmod.dts | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/target/linux/mediatek/dts/mt7981b-abt-asr3000-ubootmod.dts b/target/linux/mediatek/dts/mt7981b-abt-asr3000-ubootmod.dts index 605721f2d0..4dbcf9eaac 100644 --- a/target/linux/mediatek/dts/mt7981b-abt-asr3000-ubootmod.dts +++ b/target/linux/mediatek/dts/mt7981b-abt-asr3000-ubootmod.dts @@ -14,9 +14,9 @@ compatible = "abt,asr3000-ubootmod", "mediatek,mt7981"; aliases { - led-boot = &wps_led; - led-failsafe = &wps_led; - led-upgrade = &wps_led; + led-boot = &mesh_led; + led-failsafe = &mesh_led; + led-upgrade = &mesh_led; serial0 = &uart0; label-mac-device = &gmac1; }; @@ -38,9 +38,10 @@ gpios = <&pio 1 GPIO_ACTIVE_LOW>; }; - button-wps { - label = "wps"; - linux,code = ; + button-mesh { + label = "mesh"; + linux,code = ; + linux,input-type = ; gpios = <&pio 0 GPIO_ACTIVE_HIGH>; }; }; @@ -58,8 +59,8 @@ gpios = <&pio 8 GPIO_ACTIVE_LOW>; }; - wps_led: led-2 { - label = "green:wps"; + mesh_led: led-2 { + label = "green:mesh"; gpios = <&pio 15 GPIO_ACTIVE_LOW>; };