]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Add ethernet node for zcu1275 revB
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Fri, 12 Oct 2018 11:25:36 +0000 (16:55 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 5 Jan 2021 10:54:44 +0000 (11:54 +0100)
This patch add ethernet node gem1 to zcu1275 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 <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-zcu1275-revB.dts

index b612215f40e7315f3f9e4ac15e8c97db7759a1c1..1de890c30f64a90f6e8e4c2a5484cb69b4c8368d 100644 (file)
@@ -23,6 +23,7 @@
                serial1 = &dcc;
                spi0 = &qspi;
                mmc0 = &sdhci1;
+               ethernet0 = &gem1;
        };
 
        chosen {
        status = "okay";
 };
 
+&gem1 {
+       status = "okay";
+       mdio {
+               #address-cells = <1>;
+               #size-cells = <0>;
+               phy1: ethernet-phy@1 {
+                       reg = <1>; /* KSZ9031RNXIC on AES-FMC-NETW1-G */
+                       rxc-skew-ps = <1800>; /* Skew control of RX_CLK pad output */
+                       txc-skew-ps = <1800>; /* Skew control of GTX_CLK pad input */
+                       txen-skew-ps = <900>; /* Skew control of TX_CTL pad input */
+                       rxdv-skew-ps = <0>; /* Skew control of RX_CTL pad output */
+                       rxd0-skew-ps = <0>; /* Skew control of RXD0 pad output */
+                       rxd1-skew-ps = <0>; /* Skew control of RXD1 pad output */
+                       rxd2-skew-ps = <0>; /* Skew control of RXD2 pad output */
+                       rxd3-skew-ps = <0>; /* Skew control of RXD3 pad output */
+                       txd0-skew-ps = <900>; /* Skew control of TXD0 pad input */
+                       txd1-skew-ps = <900>; /* Skew control of TXD1 pad input */
+                       txd2-skew-ps = <900>; /* Skew control of TXD2 pad input */
+                       txd3-skew-ps = <900>; /* Skew control of TXD3 pad input */
+               };
+       };
+};
+
 &qspi {
        status = "okay";
        flash@0 {