From: Karl Palsson Date: Mon, 28 May 2018 12:49:57 +0000 (+0000) Subject: ath79: wdr4300: avoid DTC warnings X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=93ff973c978db1aed3b98fb76bfa4603e4a4c8ea;p=openwrt%2Fstaging%2Fnoltari.git ath79: wdr4300: avoid DTC warnings Use direct button labels to avoid dtc warnings Signed-off-by: Karl Palsson --- diff --git a/target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi b/target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi index e7f24bfe34..9ce06ffbeb 100644 --- a/target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi +++ b/target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi @@ -74,15 +74,13 @@ #size-cells = <0>; poll-interval = <20>; - button@0 { - label = "reset"; + reset { linux,code = ; gpios = <&gpio 16 GPIO_ACTIVE_LOW>; debounce-interval = <60>; }; - button@1 { - label = "wifi"; + wifi { linux,code = ; linux,input-type = ; gpios = <&gpio 17 GPIO_ACTIVE_LOW>;