ramips: remove Planex CS-QR10 sound device tree node
[openwrt/staging/yousong.git] / target / linux / ramips / dts / CS-QR10.dts
index a55962f19962aebf470c05ad1b2fa6eee7c2a5d2..81d897a0e84dda650bab3cb4dcde4cbb178349f9 100644 (file)
@@ -2,21 +2,12 @@
 
 #include "mt7620a.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "ralink,mt7620a-soc";
        model = "Planex CS-QR10";
 
-       sound {
-               compatible = "mediatek,mt7620-audio-wm8960";
-               model = "mt7620-wm8960";
-               i2s-controller = <&i2s>;
-               audio-routing =
-                       "Ext Spk", "SPK_LP",
-                       "Ext Spk", "SPK_LN",
-                       "Ext Spk", "SPK_RP",
-                       "Ext Spk", "SPK_RN";
-       };
-
        gpio-leds {
                compatible = "gpio-leds";
 
                s1 {
                        label = "reset";
                        gpios = <&gpio1 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
 
                s2 {
                        label = "wps";
                        gpios = <&gpio1 3 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 };
@@ -79,8 +70,7 @@
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
-               reg = <0 0>;
-               linux,modalias = "m25p80", "mx25l6405d";
+               reg = <0>;
                spi-max-frequency = <10000000>;
 
                partition@0 {