From a9219457730f81b842bfc3520f60cbc625f66e1e Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Thu, 7 Nov 2019 17:07:01 +0100 Subject: [PATCH] ramips: rename keys node formerly named button For some devices, the keys node is named "button". Change name to match the rest of the target. Signed-off-by: Adrian Schmutzler --- target/linux/ramips/dts/mt7621_xiaomi_mir3g-v2.dts | 2 +- target/linux/ramips/dts/mt7621_xiaomi_mir3g.dts | 2 +- target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/target/linux/ramips/dts/mt7621_xiaomi_mir3g-v2.dts b/target/linux/ramips/dts/mt7621_xiaomi_mir3g-v2.dts index 58da88a862..757e487bcb 100644 --- a/target/linux/ramips/dts/mt7621_xiaomi_mir3g-v2.dts +++ b/target/linux/ramips/dts/mt7621_xiaomi_mir3g-v2.dts @@ -35,7 +35,7 @@ }; }; - button { + keys { compatible = "gpio-keys"; reset { diff --git a/target/linux/ramips/dts/mt7621_xiaomi_mir3g.dts b/target/linux/ramips/dts/mt7621_xiaomi_mir3g.dts index 5044890d6c..29ac019899 100644 --- a/target/linux/ramips/dts/mt7621_xiaomi_mir3g.dts +++ b/target/linux/ramips/dts/mt7621_xiaomi_mir3g.dts @@ -54,7 +54,7 @@ }; }; - button { + keys { compatible = "gpio-keys"; reset { diff --git a/target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts b/target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts index f36a920b6b..9482889b8a 100644 --- a/target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts +++ b/target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts @@ -60,7 +60,7 @@ }; }; - button { + keys { compatible = "gpio-keys"; reset { -- 2.30.2