diff options
3 files changed, 8 insertions, 19 deletions
diff --git a/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630-v1.dts b/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630-v1.dts index 8912e2fc7c..0dd14896f0 100644 --- a/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630-v1.dts +++ b/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630-v1.dts @@ -12,15 +12,6 @@ }; }; -&keys { - wifi { - label = "WiFi button"; - linux,code = <KEY_RFKILL>; - gpios = <&gpio 8 GPIO_ACTIVE_LOW>; - debounce-interval = <60>; - }; -}; - &partitions { uboot: partition@0 { label = "u-boot"; diff --git a/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630.dtsi b/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630.dtsi index 68b455c66a..1f16f9a617 100644 --- a/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630.dtsi +++ b/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630.dtsi @@ -13,7 +13,7 @@ led-upgrade = &led_power; }; - keys: keys { + keys { compatible = "gpio-keys"; reset { @@ -36,6 +36,13 @@ gpios = <&gpio 7 GPIO_ACTIVE_LOW>; debounce-interval = <60>; }; + + wifi { + label = "WiFi button"; + linux,code = <KEY_RFKILL>; + gpios = <&gpio 8 GPIO_ACTIVE_LOW>; + debounce-interval = <60>; + }; }; leds { diff --git a/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.dtsi b/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.dtsi index 97eeb45d65..2389fe9734 100644 --- a/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.dtsi +++ b/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.dtsi @@ -17,15 +17,6 @@ }; }; -&keys { - wps { - label = "WPS button"; - linux,code = <KEY_WPS_BUTTON>; - gpios = <&gpio 8 GPIO_ACTIVE_LOW>; - debounce-interval = <60>; - }; -}; - &partitions { partition@0 { label = "factory-uboot"; |