blob: 205a13d8c8b148339791a28de2ebf8fd3d393a22 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// 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};