1// SPDX-License-Identifier: GPL-2.0 OR MIT
2/*
3 * Copyright (C) 2022 StarFive Technology Co., Ltd.
4 * Copyright (C) 2022 Emil Renner Berthing <kernel@esmil.dk>
5 */
6
7/dts-v1/;
8#include "jh7110-common.dtsi"
9
10/ {
11	aliases {
12		ethernet1 = &gmac1;
13	};
14};
15
16&gmac1 {
17	phy-handle = <&phy1>;
18	phy-mode = "rgmii-id";
19	status = "okay";
20
21	mdio {
22		#address-cells = <1>;
23		#size-cells = <0>;
24		compatible = "snps,dwmac-mdio";
25
26		phy1: ethernet-phy@1 {
27			reg = <0>;
28		};
29	};
30};
31
32&mmc0 {
33	non-removable;
34};
35
36&pcie0 {
37	status = "okay";
38};
39
40&pcie1 {
41	status = "okay";
42};
43