]> Pileus Git - ~andy/linux/blobdiff - arch/arm/boot/dts/orion5x.dtsi
ARM: orion5x: add gigabit ethernet and mvmdio device tree nodes
[~andy/linux] / arch / arm / boot / dts / orion5x.dtsi
index 892c64e3f1e1dd697d08f2c58bf6377f05104c2d..6fe45d590745016fedf5dc1769e9e815f7e6c450 100644 (file)
                        interrupts = <28>;
                        status = "okay";
                };
+
+               mdio: mdio-bus@72004 {
+                       compatible = "marvell,orion-mdio";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x72004 0x84>;
+                       interrupts = <22>;
+                       status = "disabled";
+
+                       /* add phy nodes in board file */
+               };
+
+               eth: ethernet-controller@72000 {
+                       compatible = "marvell,orion-eth";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x72000 0x4000>;
+                       marvell,tx-checksum-limit = <1600>;
+                       status = "disabled";
+
+                       ethernet-port@0 {
+                               device_type = "network";
+                               compatible = "marvell,orion-eth-port";
+                               reg = <0>;
+                               /* overwrite MAC address in bootloader */
+                               local-mac-address = [00 00 00 00 00 00];
+                               /* set phy-handle property in board file */
+                       };
+               };
        };
 };