rpcd: iwinfo plugin fixes
[openwrt.git] / target / linux / ramips / dts / OY-0001.dts
index 48b7099..facd8d0 100644 (file)
@@ -1,14 +1,14 @@
 /dts-v1/;
 
-/include/ "mt7620a.dtsi"
+#include "mt7620a.dtsi"
 
 / {
        compatible = "ralink,mt7620a-soc";
        model = "OY-0001";
 
-        chosen {
-                bootargs = "console=ttyS0,115200";
-        };
+       chosen {
+               bootargs = "console=ttyS0,115200";
+       };
 
        palmbus@10000000 {
                gpio2: gpio@660 {
@@ -25,7 +25,7 @@
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
-                               compatible = "w25q128";
+                               compatible = "jedec,spi-nor";
                                reg = <0 0>;
                                linux,modalias = "m25p80", "w25q128";
                                spi-max-frequency = <10000000>;
        ethernet@10100000 {
                pinctrl-names = "default";
                pinctrl-0 = <&ephy_pins>;
-
-               ralink,port-map = "llllw";
+               mediatek,portmap = "llllw";
        };
 
        gsw@10110000 {
-               ralink,port4 = "ephy";
+               mediatek,port4 = "ephy";
        };
 
        wmac@10180000 {
 
        gpio-leds {
                compatible = "gpio-leds";
+
                powerled {
-                       label = "oy:green:power";
+                       label = "oy-0001:green:power";
                        gpios = <&gpio0 9 1>;
                };
+
                wifiled {
-                       label = "oy:green:wifi";
+                       label = "oy-0001:green:wifi";
                        gpios = <&gpio3 0 1>;
                };
        };
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                s1 {
                        label = "reset";
                        gpios = <&gpio0 1 1>;