xref: /freebsd-src/sys/contrib/device-tree/src/riscv/starfive/jh7110-milkv-mars.dts (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
17d0873ebSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 OR MIT
27d0873ebSEmmanuel Vadot/*
37d0873ebSEmmanuel Vadot * Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org>
47d0873ebSEmmanuel Vadot */
57d0873ebSEmmanuel Vadot
67d0873ebSEmmanuel Vadot/dts-v1/;
77d0873ebSEmmanuel Vadot#include "jh7110-common.dtsi"
87d0873ebSEmmanuel Vadot
97d0873ebSEmmanuel Vadot/ {
107d0873ebSEmmanuel Vadot	model = "Milk-V Mars";
117d0873ebSEmmanuel Vadot	compatible = "milkv,mars", "starfive,jh7110";
127d0873ebSEmmanuel Vadot};
137d0873ebSEmmanuel Vadot
147d0873ebSEmmanuel Vadot&gmac0 {
157d0873ebSEmmanuel Vadot	starfive,tx-use-rgmii-clk;
167d0873ebSEmmanuel Vadot	assigned-clocks = <&aoncrg JH7110_AONCLK_GMAC0_TX>;
177d0873ebSEmmanuel Vadot	assigned-clock-parents = <&aoncrg JH7110_AONCLK_GMAC0_RMII_RTX>;
187d0873ebSEmmanuel Vadot};
197d0873ebSEmmanuel Vadot
20*0e8011faSEmmanuel Vadot&pcie0 {
21*0e8011faSEmmanuel Vadot	status = "okay";
22*0e8011faSEmmanuel Vadot};
23*0e8011faSEmmanuel Vadot
24*0e8011faSEmmanuel Vadot&pcie1 {
25*0e8011faSEmmanuel Vadot	status = "okay";
26*0e8011faSEmmanuel Vadot};
277d0873ebSEmmanuel Vadot
287d0873ebSEmmanuel Vadot&phy0 {
297d0873ebSEmmanuel Vadot	motorcomm,tx-clk-adj-enabled;
307d0873ebSEmmanuel Vadot	motorcomm,tx-clk-10-inverted;
317d0873ebSEmmanuel Vadot	motorcomm,tx-clk-100-inverted;
327d0873ebSEmmanuel Vadot	motorcomm,tx-clk-1000-inverted;
337d0873ebSEmmanuel Vadot	motorcomm,rx-clk-drv-microamp = <3970>;
347d0873ebSEmmanuel Vadot	motorcomm,rx-data-drv-microamp = <2910>;
357d0873ebSEmmanuel Vadot	rx-internal-delay-ps = <1500>;
367d0873ebSEmmanuel Vadot	tx-internal-delay-ps = <1500>;
377d0873ebSEmmanuel Vadot};
38