lantiq: fix avm fritz box mac addresses
[openwrt/staging/florian.git] / target / linux / lantiq / dts / FRITZ7360SL.dts
index e54b0e27abd97ac570e64f49aeb8e215180d8942..31a9527b796b7c4c39bdd93aad066655c2382a33 100644 (file)
@@ -8,7 +8,7 @@
        model = "FRITZ7360SL - 1&1 HomeServer";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "console=ttyLTQ0,115200";
        };
 
        aliases {
@@ -17,7 +17,6 @@
                led-running = &power_green;
 
                led-internet = &info_green;
-               led-dsl = &power_green;
                led-wifi = &wifi;
        };
 
@@ -74,7 +73,7 @@
                                };
                                phy-rst {
                                        lantiq,pins = "io37", "io44";
-                                       lantiq,pull = <2>;
+                                       lantiq,pull = <0>;
                                        lantiq,open-drain;
                                        lantiq,output = <1>;
                                };
                #address-cells = <1>;
                #size-cells = <0>;
                reg = <0>;
-               mac-address = [ 00 11 22 33 44 55 ];
+               mtd-mac-address = <&urlader 0xa91>;
+               mtd-mac-address-increment = <(-2)>;
                lantiq,switch;
 
                ethernet@0 {
                        reg = <0>;
                        phy-mode = "rmii";
                        phy-handle = <&phy0>;
-                       // gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
                ethernet@1 {
                        compatible = "lantiq,xrx200-pdi-port";
                        reg = <1>;
                        phy-mode = "rmii";
                        phy-handle = <&phy1>;
-                       // gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
                ethernet@2 {
                        compatible = "lantiq,xrx200-pdi-port";
                compatible = "lantiq,xrx200-mdio";
                phy0: ethernet-phy@0 {
                        reg = <0x00>;
-                       compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
+                       compatible = "ethernet-phy-id004d.d076", "ethernet-phy-ieee802.3-c22";
+                       reset-gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
                phy1: ethernet-phy@1 {
                        reg = <0x01>;
-                       compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
+                       compatible = "ethernet-phy-id004d.d076", "ethernet-phy-ieee802.3-c22";
+                       reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
                phy11: ethernet-phy@11 {
                        reg = <0x11>;