This patch adds DT node to enable BGMAC driver on Stingray
Signed-off-by: Abhishek Shah <abhishek.shah@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Oza Oza <oza.oza@broadcom.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
              <0x00000008 0x80000000 0x1 0x80000000>; /* 6G @ 34G */
 };
 
+&mdio_mux_iproc {
+       mdio@10 {
+               gphy0: eth-phy@10 {
+                       reg = <0x10>;
+               };
+       };
+};
+
 &uart1 {
        status = "okay";
 };
        };
 };
 
+&enet {
+       phy-mode = "rgmii-id";
+       phy-handle = <&gphy0>;
+       status = "okay";
+};
+
 &nand {
        status = "ok";
        nandcs@0 {
 
        model = "Stingray Combo SVK (BCM958742K)";
 };
 
+&gphy0 {
+       enet-phy-lane-swap;
+};
+
 &uart2 {
        status = "okay";
 };
 
        compatible = "brcm,bcm958742t", "brcm,stingray";
        model = "Stingray SST100 (BCM958742T)";
 };
+
+&gphy0 {
+       enet-phy-lane-swap;
+};
 
                        iommus = <&smmu 0x6000 0x0000>;
                };
 
+               enet: ethernet@00340000{
+                       compatible = "brcm,amac";
+                       reg = <0x00340000 0x1000>;
+                       reg-names = "amac_base";
+                       dma-coherent;
+                       interrupts = <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>;
+                       status= "disabled";
+               };
+
                nand: nand@00360000 {
                        compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
                        reg = <0x00360000 0x600>,