From: Siva Durga Prasad Paladugu <[email protected]>

This patch add ethernet node gem1 to zc1275 RevB.
GMII to RGMII converter sits between MAC and external
phy connected over GMII to MAC and RGMMI to external phy.

Signed-off-by: Siva Durga Prasad Paladugu <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
---

 arch/arm/dts/zynqmp-zc1275-revB.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/dts/zynqmp-zc1275-revB.dts 
b/arch/arm/dts/zynqmp-zc1275-revB.dts
index e84b2da164cc..027ff83562f8 100644
--- a/arch/arm/dts/zynqmp-zc1275-revB.dts
+++ b/arch/arm/dts/zynqmp-zc1275-revB.dts
@@ -22,6 +22,7 @@
                serial1 = &dcc;
                spi0 = &qspi;
                mmc0 = &sdhci1;
+               ethernet0 = &gem1;
        };
 
        chosen {
@@ -39,6 +40,20 @@
        status = "okay";
 };
 
+&gem1 {
+       status = "okay";
+       phy-mode = "gmii";
+       phy-handle = <&gmiitorgmii>;
+       phy: ethernet-phy@0 {
+               reg = <0x0>;
+       };
+       gmiitorgmii: gmiitorgmii@8 {
+               compatible = "xlnx,gmii-to-rgmii-1.0";
+               reg = <8>;
+               phy-handle = <&phy>;
+       };
+};
+
 &qspi {
        status = "okay";
        flash@0 {
-- 
1.9.1

_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to