1fac71e4eSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 OR MIT 2fac71e4eSEmmanuel Vadot/* 3fac71e4eSEmmanuel Vadot * Copyright (C) 2022 StarFive Technology Co., Ltd. 4fac71e4eSEmmanuel Vadot * Copyright (C) 2022 Emil Renner Berthing <kernel@esmil.dk> 5fac71e4eSEmmanuel Vadot */ 6fac71e4eSEmmanuel Vadot 7fac71e4eSEmmanuel Vadot/dts-v1/; 8fac71e4eSEmmanuel Vadot#include "jh7110-starfive-visionfive-2.dtsi" 9fac71e4eSEmmanuel Vadot 10fac71e4eSEmmanuel Vadot/ { 11fac71e4eSEmmanuel Vadot model = "StarFive VisionFive 2 v1.2A"; 12fac71e4eSEmmanuel Vadot compatible = "starfive,visionfive-2-v1.2a", "starfive,jh7110"; 13fac71e4eSEmmanuel Vadot}; 14*aa1a8ff2SEmmanuel Vadot 15*aa1a8ff2SEmmanuel Vadot&gmac1 { 16*aa1a8ff2SEmmanuel Vadot phy-mode = "rmii"; 17*aa1a8ff2SEmmanuel Vadot assigned-clocks = <&syscrg JH7110_SYSCLK_GMAC1_TX>, 18*aa1a8ff2SEmmanuel Vadot <&syscrg JH7110_SYSCLK_GMAC1_RX>; 19*aa1a8ff2SEmmanuel Vadot assigned-clock-parents = <&syscrg JH7110_SYSCLK_GMAC1_RMII_RTX>, 20*aa1a8ff2SEmmanuel Vadot <&syscrg JH7110_SYSCLK_GMAC1_RMII_RTX>; 21*aa1a8ff2SEmmanuel Vadot}; 22*aa1a8ff2SEmmanuel Vadot 23*aa1a8ff2SEmmanuel Vadot&phy0 { 24*aa1a8ff2SEmmanuel Vadot rx-internal-delay-ps = <1900>; 25*aa1a8ff2SEmmanuel Vadot tx-internal-delay-ps = <1350>; 26*aa1a8ff2SEmmanuel Vadot}; 27