xref: /linux/scripts/dtc/include-prefixes/riscv/starfive/jh7110-starfive-visionfive-2.dtsi (revision ac9a37e2d6b6373d657366a365d9e05b32221e3d)
154baba33SEmil Renner Berthing// SPDX-License-Identifier: GPL-2.0 OR MIT
254baba33SEmil Renner Berthing/*
354baba33SEmil Renner Berthing * Copyright (C) 2022 StarFive Technology Co., Ltd.
454baba33SEmil Renner Berthing * Copyright (C) 2022 Emil Renner Berthing <kernel@esmil.dk>
554baba33SEmil Renner Berthing */
654baba33SEmil Renner Berthing
754baba33SEmil Renner Berthing/dts-v1/;
8*ac9a37e2SJisheng Zhang#include "jh7110-common.dtsi"
954baba33SEmil Renner Berthing
1054baba33SEmil Renner Berthing/ {
1154baba33SEmil Renner Berthing	aliases {
120104340aSSamin Guo		ethernet1 = &gmac1;
130104340aSSamin Guo	};
140104340aSSamin Guo};
150104340aSSamin Guo
160104340aSSamin Guo&gmac1 {
170104340aSSamin Guo	phy-handle = <&phy1>;
180104340aSSamin Guo	phy-mode = "rgmii-id";
190104340aSSamin Guo	status = "okay";
200104340aSSamin Guo
210104340aSSamin Guo	mdio {
220104340aSSamin Guo		#address-cells = <1>;
230104340aSSamin Guo		#size-cells = <0>;
240104340aSSamin Guo		compatible = "snps,dwmac-mdio";
250104340aSSamin Guo
260104340aSSamin Guo		phy1: ethernet-phy@1 {
270104340aSSamin Guo			reg = <0>;
280104340aSSamin Guo		};
290104340aSSamin Guo	};
300104340aSSamin Guo};
310104340aSSamin Guo
32b127dbf9SWilliam Qiu&mmc0 {
33b127dbf9SWilliam Qiu	non-removable;
34e2c510d6SMason Huo};
35