Skip to content

Commit 61ca40b

Browse files
committed
arch: arm: add reference zynq-zc706-adv7511-adin1300-dual.dts
This change adds the example device-tree for the dual ADIN1300 reference board. On the ZC706, the PHYs need to be configured in RGMII-ID to work. The reference design has a GMII2RGMII converter, which sits in-between the PHY & MAC. This converter IP/HDL needs the `gmii2rgmii` driver to be instantiated to do the work. In order to properly work (with the ADIN PHY), this PR is also required: #556 The PR fixes some memory corruption caused by the `gmii2rgmii` when operating with the ADIN PHY driver. A common `adi-adin1300-dual.dtsi` has been split to be re-used in order boards (like ZedBoard or ZC702) should the need arise to support them. Signed-off-by: Alexandru Ardelean <[email protected]> (cherry picked from commit 3c3cc1f)
1 parent ef50e25 commit 61ca40b

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
&gem0 {
2+
status = "okay";
3+
phy-mode = "rgmii-id";
4+
phy-handle = <&ethernet_gem0_phy1>;
5+
6+
ethernet_gem0_phy1: ethernet-phy@1 {
7+
reg = <1>;
8+
};
9+
10+
gmiitorgmii_gem0_phy1: gmiitorgmii@8 {
11+
compatible = "xlnx,gmii-to-rgmii-1.0";
12+
reg = <8>;
13+
phy-handle = <&ethernet_gem0_phy1>;
14+
};
15+
};
16+
17+
&gem1 {
18+
status = "okay";
19+
phy-mode = "rgmii-id";
20+
phy-handle = <&ethernet_gem1_phy2>;
21+
22+
ethernet_gem1_phy2: ethernet-phy@2 {
23+
reg = <2>;
24+
};
25+
26+
gmiitorgmii_gem1_phy2: gmiitorgmii@8 {
27+
compatible = "xlnx,gmii-to-rgmii-1.0";
28+
reg = <8>;
29+
phy-handle = <&ethernet_gem1_phy2>;
30+
};
31+
};
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/dts-v1/;
2+
3+
/include/ "zynq-zc706.dtsi"
4+
/include/ "zynq-zc706-adv7511.dtsi"
5+
/include/ "adi-adin1300-dual.dtsi"

0 commit comments

Comments
 (0)