ramips: rt3352 usbphy fix in dts-file
[openwrt.git] / target / linux / ramips / dts / DIR-860L-B1.dts
index fd1e044..a6add70 100644 (file)
@@ -1,12 +1,13 @@
 /dts-v1/;
 
-/include/ "mt7621.dtsi"
+#include "mt7621.dtsi"
 
 / {
        compatible = "ralink,mt7621-eval-board", "ralink,mt7621-soc";
        model = "D-Link DIR-860L B1";
 
        memory@0 {
+               device_type = "memory";
                reg = <0x0 0x8000000>;
        };
 
@@ -21,7 +22,7 @@
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
-                               compatible = "mx25l12805d";
+                               compatible = "jedec,spi-nor";
                                reg = <0 0>;
                                linux,modalias = "m25p80";
                                spi-max-frequency = <10000000>;
                        mt76@0,0 {
                                reg = <0x0000 0 0 0 0>;
                                device_type = "pci";
-                               mediatek,mtd-eeprom = <&radio 0>;
+                               mediatek,mtd-eeprom = <&radio 0x2000>;
                                mediatek,2ghz = <0>;
                        };
                };
+
                pcie1 {
                        mt76@1,0 {
                                reg = <0x0000 0 0 0 0>;
                                device_type = "pci";
-                               mediatek,mtd-eeprom = <&radio 0x2000>;
+                               mediatek,mtd-eeprom = <&radio 0>;
                                mediatek,5ghz = <0>;
                        };
                };
 
        gpio-leds {
                compatible = "gpio-leds";
+
+               power {
+                       label = "dir-860l-b1:orange:power";
+                       gpios = <&gpio0 13 1>;
+               };
+
+               power2 {
+                       label = "dir-860l-b1:green:power";
+                       gpios = <&gpio0 15 1>;
+               };
+
+               net {
+                       label = "dir-860l-b1:orange:net";
+                       gpios = <&gpio0 14 1>;
+               };
+
+               net2 {
+                       label = "dir-860l-b1:green:net";
+                       gpios = <&gpio0 16 1>;
+               };
        };
 
        gpio-keys-polled {