1// SPDX-License-Identifier: GPL-2.0 OR MIT
2/*
3 * Copyright (C) 2022 StarFive Technology Co., Ltd.
4 * Copyright (C) 2022 Emil Renner Berthing <kernel@esmil.dk>
5 */
6
7/dts-v1/;
8#include "jh7110-starfive-visionfive-2.dtsi"
9
10/ {
11	model = "StarFive VisionFive 2 v1.2A";
12	compatible = "starfive,visionfive-2-v1.2a", "starfive,jh7110";
13};
14
15&gmac1 {
16	phy-mode = "rmii";
17	assigned-clocks = <&syscrg JH7110_SYSCLK_GMAC1_TX>,
18			  <&syscrg JH7110_SYSCLK_GMAC1_RX>;
19	assigned-clock-parents = <&syscrg JH7110_SYSCLK_GMAC1_RMII_RTX>,
20				 <&syscrg JH7110_SYSCLK_GMAC1_RMII_RTX>;
21};
22
23&phy0 {
24	rx-internal-delay-ps = <1900>;
25	tx-internal-delay-ps = <1350>;
26};
27