ramips: D-Link DIR-810L: make led naming consistent with other boards
[openwrt/openwrt.git] / target / linux / ramips / dts / DIR-810L.dts
index 193771b5a6807464c88ee53895dae198ef764513..dd0d39c562af1b6dc84e4ea9582f90a5990ff630 100644 (file)
@@ -7,20 +7,9 @@
        model = "D-Link DIR-810L";
 
        palmbus@10000000 {
-               sysc@0 {
-                       ralink,pinmux = "spi", "uartlite", "ephy";
-                       ralink,gpiomux = "jtag", "mdio", "rgmii1", "rgmii1", "i2c", "wled";
-                       ralink,uartmux = "gpio";
-                       ralink,wdtmux = <1>;
-               };
-
-               gpio0: gpio@600 {
-                       status = "okay";
-               };
-
                spi@b00 {
                        status = "okay";
-               
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
                };
        };
 
+       pinctrl {
+               state_default: pinctrl0 {
+                       gpio {
+                               ralink,group = "mdio", "rgmii1", "i2c", "wled", "uartf";
+                               ralink,function = "gpio";
+                       };
+               };
+       };
+
        ethernet@10100000 {
-               status = "okay";
+               mtd-mac-address = <&factory 0x28>;
+               ralink,port-map = "llllw";
        };
 
        gsw@10110000 {
-               status = "okay";
                ralink,port4 = "ephy";
+
+               pinctrl-names = "default";
+               pinctrl-0 = <&ephy_pins>;
        };
 
        pcie@10140000 {
                status = "okay";
        };
 
+       wmac@10180000 {
+               ralink,mtd-eeprom = <&factory 0>;
+       };
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
        gpio-leds {
                compatible = "gpio-leds";
                power {
-                       label = "dlink:green:power";
+                       label = "d-link:green:power";
                        gpios = <&gpio0 9 0>;
                };
-               internet {
-                       label = "asus:yellow:internet";
+               wan {
+                       label = "d-link:orange:wan";
                        gpios = <&gpio0 12 0>;
                };
                status {
-                       label = "asus:internet:status";
+                       label = "d-link:orange:power";
                        gpios = <&gpio0 13 0>;
                };
        };