Skip to content

Commit 34a640a

Browse files
committed
dts: zynq7000: remove legacy MDIO properties, add MDIO nodes
Remove all instances of DT properties relating to the legacy MDIO/PHY support. Add the new MDIO nodes for GEM0 and GEM1. Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
1 parent 4dc4dc1 commit 34a640a

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

dts/arm/xilinx/zynq7000.dtsi

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@
5858
<GIC_SPI 23 IRQ_TYPE_LEVEL
5959
IRQ_DEFAULT_PRIORITY>;
6060
interrupt-names = "irq_0", "irq_1";
61-
mdio-phy-address = <XLNX_GEM_PHY_AUTO_DETECT>;
62-
phy-poll-interval = <1000>;
63-
link-speed = <XLNX_GEM_LINK_SPEED_100MBIT>;
6461
amba-ahb-dbus-width = <XLNX_GEM_AMBA_AHB_DBUS_WIDTH_32BIT>;
6562
amba-ahb-burst-length = <XLNX_GEM_AMBA_AHB_BURST_SINGLE>;
6663
hw-rx-buffer-size = <XLNX_GEM_HW_RX_BUFFER_SIZE_8KB>;
@@ -72,7 +69,13 @@
7269
tx-buffer-size = <512>;
7370
discard-rx-fcs;
7471
unicast-hash;
75-
full-duplex;
72+
};
73+
74+
gem0_mdio: gem0_mdio {
75+
compatible = "xlnx,gem-mdio";
76+
status = "disabled";
77+
#address-cells = <1>;
78+
#size-cells = <0>;
7679
};
7780

7881
gem1: ethernet@e000c000 {
@@ -85,9 +88,6 @@
8588
<GIC_SPI 46 IRQ_TYPE_LEVEL
8689
IRQ_DEFAULT_PRIORITY>;
8790
interrupt-names = "irq_0", "irq_1";
88-
mdio-phy-address = <XLNX_GEM_PHY_AUTO_DETECT>;
89-
phy-poll-interval = <1000>;
90-
link-speed = <XLNX_GEM_LINK_SPEED_100MBIT>;
9191
amba-ahb-dbus-width = <XLNX_GEM_AMBA_AHB_DBUS_WIDTH_32BIT>;
9292
amba-ahb-burst-length = <XLNX_GEM_AMBA_AHB_BURST_SINGLE>;
9393
hw-rx-buffer-size = <XLNX_GEM_HW_RX_BUFFER_SIZE_8KB>;
@@ -99,7 +99,13 @@
9999
tx-buffer-size = <512>;
100100
discard-rx-fcs;
101101
unicast-hash;
102-
full-duplex;
102+
};
103+
104+
gem1_mdio: gem1_mdio {
105+
compatible = "xlnx,gem-mdio";
106+
status = "disabled";
107+
#address-cells = <1>;
108+
#size-cells = <0>;
103109
};
104110

105111
uart0: uart@e0000000 {

0 commit comments

Comments
 (0)