ath79: convert devices to interrupt-driven gpio-keys
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9561_avm_fritz4020.dts
index 9d548353efdc45c1ea98e8db2df3fb7405477fcf..5a850c7064066fd7c82f03a4ebc99c6ce4fbe07f 100644 (file)
@@ -26,8 +26,8 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               gpio-sck = <&gpio 20 GPIO_ACTIVE_HIGH>;
-               gpio-mosi = <&gpio 19 GPIO_ACTIVE_HIGH>;
+               sck-gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
+               mosi-gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
                num-chipselects = <0>;
 
                led_gpio: led_gpio@0 {
@@ -36,7 +36,6 @@
                        gpio-controller;
                        #gpio-cells = <2>;
                        registers-number = <1>;
-                       lines-initial-states = /bits/ 8 <0xff>;
                        spi-max-frequency = <10000000>;
 
                        gpio_latch_bit {
@@ -85,8 +84,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                wps_button {
                        label = "WPS button";