ramips: drop not existing groups from pinmux
[openwrt/openwrt.git] / target / linux / ramips / dts / WT1520.dtsi
index b2ce18dad67e2866195da8ec10b89e06c1c12e03..1a383876a31643d13c6f5640e90dd6421875fbce 100644 (file)
@@ -1,48 +1,49 @@
 #include "rt5350.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
 / {
-       compatible = "NEXXWT1520", "ralink,rt5350-soc";
-       model = "Nexx WT1520";
+       compatible = "nexx,wt1520", "ralink,rt5350-soc";
 
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x2000000>;
        };
 
-       chosen {
-               bootargs = "console=ttyS1,57600";
-       };
+       gpio-keys-polled {
+               compatible = "gpio-keys-polled";
+               poll-interval = <20>;
 
-       palmbus@10000000 {
-               uart@500 {
-                       pinctrl-names = "default";
-                       pinctrl-0 = <&uartf_pins>;
-                       status = "okay";
+               reset {
+                       label = "reset";
+                       gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
+                       linux,code = <KEY_RESTART>;
                };
        };
+};
 
-       pinctrl {
-               state_default: pinctrl0 {
-                       gpio {
-                               ralink,group = "jtag";
-                               ralink,function = "gpio";
-                       };
+&pinctrl {
+       state_default: pinctrl0 {
+               gpio {
+                       ralink,group = "jtag", "uartf";
+                       ralink,function = "gpio";
                };
        };
+};
 
-       ethernet@10100000 {
-               mtd-mac-address = <&factory 0x4>;
-       };
+&ethernet {
+       mtd-mac-address = <&factory 0x4>;
+};
 
-       wmac@10180000 {
-               ralink,mtd-eeprom = <&factory 0>;
-       };
+&wmac {
+       ralink,mtd-eeprom = <&factory 0>;
+};
 
-       ehci@101c0000 {
-               status = "okay";
-       };
+&ehci {
+       status = "okay";
+};
 
-       ohci@101c1000 {
-               status = "okay";
-       };
+&ohci {
+       status = "okay";
 };