xref: /linux/scripts/dtc/include-prefixes/riscv/starfive/jh7110-starfive-visionfive-2.dtsi (revision 5a5001d27065126d815eb54e12744b08322e3d31)
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&gmac0 {
17	status = "okay";
18};
19
20&gmac1 {
21	phy-handle = <&phy1>;
22	phy-mode = "rgmii-id";
23	status = "okay";
24
25	mdio {
26		#address-cells = <1>;
27		#size-cells = <0>;
28		compatible = "snps,dwmac-mdio";
29
30		phy1: ethernet-phy@1 {
31			reg = <0>;
32		};
33	};
34};
35
36&i2c0 {
37	status = "okay";
38};
39
40&mmc0 {
41	non-removable;
42};
43
44&pcie0 {
45	status = "okay";
46};
47
48&pcie1 {
49	status = "okay";
50};
51
52&pwm {
53	status = "okay";
54};
55
56&pwmdac {
57	status = "okay";
58};
59
60&spi0 {
61	status = "okay";
62};
63