1 // SPDX-License-Identifier: GPL-2.0 OR MIT 2 /* 3 * Copyright (C) 2021 StarFive Technology Co., Ltd. 4 * Copyright (C) 2021 Emil Renner Berthing <kernel@esmil.dk> 5 */ 6 7 /dts-v1/; 8 #include "jh7100-common.dtsi" 9 10 / { 11 model = "StarFive VisionFive V1"; 12 compatible = "starfive,visionfive-v1", "starfive,jh7100"; 13 14 gpio-restart { 15 compatible = "gpio-restart"; 16 gpios = <&gpio 63 GPIO_ACTIVE_HIGH>; 17 priority = <224>; 18 }; 19 }; 20 21 &gmac { 22 phy-handle = <&phy>; 23 }; 24 25 /* 26 * The board uses a Motorcomm YT8521 PHY supporting RGMII-ID, but requires 27 * manual adjustment of the RX internal delay to work properly. The default 28 * RX delay provided by the driver (1.95ns) is too high, but applying a 50% 29 * reduction seems to mitigate the issue. 30 * 31 * It is worth noting the adjustment is not necessary on BeagleV Starlight SBC, 32 * which uses a Microchip PHY. Hence, most likely the Motorcomm PHY is the one 33 * responsible for the misbehaviour, not the GMAC. 34 */ 35 &mdio { 36 phy: ethernet-phy@0 { 37 reg = <0>; 38 rx-internal-delay-ps = <900>; 39 }; 40 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.