blob: fa0eac78e0ba6ed55a458c6c231ae7cc8e6f928a [file] [log] [blame]
Tom Rini762f85b2024-07-20 11:15:10 -06001// SPDX-License-Identifier: GPL-2.0 OR MIT
2/*
3 * Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org>
4 */
5
6/dts-v1/;
7#include "jh7110-common.dtsi"
8
9/ {
10 model = "Milk-V Mars";
11 compatible = "milkv,mars", "starfive,jh7110";
12};
13
14&gmac0 {
15 starfive,tx-use-rgmii-clk;
16 assigned-clocks = <&aoncrg JH7110_AONCLK_GMAC0_TX>;
17 assigned-clock-parents = <&aoncrg JH7110_AONCLK_GMAC0_RMII_RTX>;
18};
19
20
21&phy0 {
22 motorcomm,tx-clk-adj-enabled;
23 motorcomm,tx-clk-10-inverted;
24 motorcomm,tx-clk-100-inverted;
25 motorcomm,tx-clk-1000-inverted;
26 motorcomm,rx-clk-drv-microamp = <3970>;
27 motorcomm,rx-data-drv-microamp = <2910>;
28 rx-internal-delay-ps = <1500>;
29 tx-internal-delay-ps = <1500>;
30};