ramips: use rfkill for wps button on wlan only boards
[oweals/openwrt.git] / target / linux / ramips / dts / VOCORE.dtsi
index ff031fab41bac9e1bc109e39de2a10349df902ef..bb8a458831fb3bb419b98c6d82feab80c459d85f 100644 (file)
@@ -1,58 +1,9 @@
-/include/ "rt5350.dtsi"
+#include "rt5350.dtsi"
 
 / {
        compatible = "VoCore", "ralink,rt5350-soc";
        model = "VoCore";
 
-       palmbus@10000000 {
-               gpio1: gpio@660 {
-                       status = "okay";
-               };
-
-               i2c@900 {
-                       status = "okay";
-               };
-
-               spi@b00 {
-                       status = "okay";
-
-                       spidev@1 {
-                               compatible = "linux,spidev";
-                               spi-max-frequency = <10000000>;
-                               reg = <1>;
-                       };
-               };
-       };
-
-       pinctrl {
-               state_default: pinctrl0 {
-                       gpio {
-                               ralink,group = "jtag", "uartf", "led";
-                               ralink,function = "gpio";
-                       };
-               };
-       };
-
-       ethernet@10100000 {
-               mtd-mac-address = <&factory 0x4>;
-       };
-
-       esw@10110000 {
-               ralink,portmap = <0x17>;
-       };
-
-       wmac@10180000 {
-               ralink,mtd-eeprom = <&factory 0>;
-       };
-
-       ehci@101c0000 {
-               status = "okay";
-       };
-
-       ohci@101c1000 {
-               status = "okay";
-       };
-
        gpio-export {
                compatible = "gpio-export";
                #size-cells = <0>;
                };
        };
 };
+
+&gpio1 {
+       status = "okay";
+};
+
+&i2c {
+       status = "okay";
+};
+
+&pinctrl {
+       state_default: pinctrl0 {
+               gpio {
+                       ralink,group = "jtag", "uartf", "led";
+                       ralink,function = "gpio";
+               };
+       };
+};
+
+&ethernet {
+       mtd-mac-address = <&factory 0x4>;
+};
+
+&esw {
+       mediatek,portmap = <0x11>;
+       mediatek,portdisable = <0x2e>;
+};
+
+&wmac {
+       ralink,mtd-eeprom = <&factory 0>;
+};
+
+&ehci {
+       status = "okay";
+};
+
+&ohci {
+       status = "okay";
+};
+
+&spi1 {
+       status = "okay";
+
+       spidev@0 {
+               compatible = "linux,spidev";
+               spi-max-frequency = <10000000>;
+               reg = <0>;
+       };
+};