summaryrefslogtreecommitdiffstats
path: root/bsps/aarch64/xilinx-zynqmp/fdt/zynqmp.dts
diff options
context:
space:
mode:
authorKinsey Moore <kinsey.moore@oarcorp.com>2022-12-05 17:25:19 -0600
committerJoel Sherrill <joel@rtems.org>2022-12-07 07:38:03 -0600
commit1c189e1aa7555b71d0903064c95797a27094afee (patch)
treebf54e34dd5e61868501a6314020fcfc47b030518 /bsps/aarch64/xilinx-zynqmp/fdt/zynqmp.dts
parenttftpDriver.c: Fix Coverity issues (diff)
downloadrtems-1c189e1aa7555b71d0903064c95797a27094afee.tar.bz2
bsps/zynqmp: Fix and update device trees
Add ref-clock-num identifiers to the device tree to ensure that interfaces use the correct clocks even when some are not used due to unconnected MII busses. This also adjusts the default ZynqMP PHY attachment to RGMII-ID which was the default before device trees were introduced.
Diffstat (limited to 'bsps/aarch64/xilinx-zynqmp/fdt/zynqmp.dts')
-rw-r--r--bsps/aarch64/xilinx-zynqmp/fdt/zynqmp.dts12
1 files changed, 8 insertions, 4 deletions
diff --git a/bsps/aarch64/xilinx-zynqmp/fdt/zynqmp.dts b/bsps/aarch64/xilinx-zynqmp/fdt/zynqmp.dts
index 65c7dcbba8..ec13563072 100644
--- a/bsps/aarch64/xilinx-zynqmp/fdt/zynqmp.dts
+++ b/bsps/aarch64/xilinx-zynqmp/fdt/zynqmp.dts
@@ -61,7 +61,8 @@
interrupt-parent = <0x01>;
interrupts = <0x00 0x39 0x04>;
reg = <0x00 0xff0b0000 0x00 0x1000>;
- phy-mode = "sgmii";
+ phy-mode = "rgmii-id";
+ ref-clock-num = <0>;
};
ethernet@ff0c0000 {
@@ -70,7 +71,8 @@
interrupt-parent = <0x01>;
interrupts = <0x00 0x3b 0x04>;
reg = <0x00 0xff0c0000 0x00 0x1000>;
- phy-mode = "sgmii";
+ phy-mode = "rgmii-id";
+ ref-clock-num = <1>;
};
ethernet@ff0d0000 {
@@ -79,7 +81,8 @@
interrupt-parent = <0x01>;
interrupts = <0x00 0x3d 0x04>;
reg = <0x00 0xff0d0000 0x00 0x1000>;
- phy-mode = "sgmii";
+ phy-mode = "rgmii-id";
+ ref-clock-num = <2>;
};
ethernet@ff0e0000 {
@@ -88,7 +91,8 @@
interrupt-parent = <0x01>;
interrupts = <0x00 0x3f 0x04>;
reg = <0x00 0xff0e0000 0x00 0x1000>;
- phy-mode = "sgmii";
+ phy-mode = "rgmii-id";
+ ref-clock-num = <3>;
};
};
};