diff options
Diffstat (limited to 'target/linux/ath79')
-rw-r--r-- | target/linux/ath79/dts/qca9563_tplink_tl-wpa8630.dtsi | 12 | ||||
-rw-r--r-- | target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.dtsi | 9 |
2 files changed, 11 insertions, 10 deletions
diff --git a/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630.dtsi b/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630.dtsi index 1f16f9a617..14602a1c24 100644 --- a/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630.dtsi +++ b/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630.dtsi @@ -25,7 +25,7 @@ leds { label = "LED control button"; - linux,code = <BTN_0>; + linux,code = <KEY_LIGHTS_TOGGLE>; gpios = <&gpio 6 GPIO_ACTIVE_LOW>; debounce-interval = <60>; }; @@ -70,6 +70,16 @@ linux,default-trigger = "phy0tpt"; }; }; + + gpio-export { + compatible = "gpio-export"; + + led_control { + gpio-export,name = "tp-link:led:control"; + gpio-export,output = <0>; + gpios = <&gpio 14 GPIO_ACTIVE_LOW>; + }; + }; }; &spi { 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 2389fe9734..2d3128e037 100644 --- a/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.dtsi +++ b/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.dtsi @@ -6,15 +6,6 @@ aliases { label-mac-device = ð0; }; - - gpio-export { - compatible = "gpio-export"; - - led_control { - gpio-export,name = "tp-link:led:control"; - gpios = <&gpio 14 GPIO_ACTIVE_HIGH>; - }; - }; }; &partitions { |