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 status = "okay"; 19}; 20 21&i2c0 { 22 status = "okay"; 23}; 24 25&pcie0 { 26 status = "okay"; 27}; 28 29&pcie1 { 30 status = "okay"; 31}; 32 33&phy0 { 34 motorcomm,tx-clk-adj-enabled; 35 motorcomm,tx-clk-10-inverted; 36 motorcomm,tx-clk-100-inverted; 37 motorcomm,tx-clk-1000-inverted; 38 motorcomm,rx-clk-drv-microamp = <3970>; 39 motorcomm,rx-data-drv-microamp = <2910>; 40 rx-internal-delay-ps = <1500>; 41 tx-internal-delay-ps = <1500>; 42}; 43 44&pwm { 45 status = "okay"; 46}; 47 48&pwmdac { 49 status = "okay"; 50}; 51 52&spi0 { 53 status = "okay"; 54}; 55 56&usb0 { 57 dr_mode = "peripheral"; 58 status = "okay"; 59}; 60