xref: /linux/arch/riscv/boot/dts/starfive/jh7110-milkv-mars.dts (revision f73a058be5d70dd81a43f16b2bbff4b1576a7af8)
1// 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};
31