aboutsummaryrefslogtreecommitdiff
path: root/dts/upstream/src/riscv/starfive/jh7110-starfive-visionfive-2.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'dts/upstream/src/riscv/starfive/jh7110-starfive-visionfive-2.dtsi')
-rw-r--r--dts/upstream/src/riscv/starfive/jh7110-starfive-visionfive-2.dtsi34
1 files changed, 34 insertions, 0 deletions
diff --git a/dts/upstream/src/riscv/starfive/jh7110-starfive-visionfive-2.dtsi b/dts/upstream/src/riscv/starfive/jh7110-starfive-visionfive-2.dtsi
new file mode 100644
index 00000000000..9d70f21c86f
--- /dev/null
+++ b/dts/upstream/src/riscv/starfive/jh7110-starfive-visionfive-2.dtsi
@@ -0,0 +1,34 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
+/*
+ * Copyright (C) 2022 StarFive Technology Co., Ltd.
+ * Copyright (C) 2022 Emil Renner Berthing <kernel@esmil.dk>
+ */
+
+/dts-v1/;
+#include "jh7110-common.dtsi"
+
+/ {
+ aliases {
+ ethernet1 = &gmac1;
+ };
+};
+
+&gmac1 {
+ phy-handle = <&phy1>;
+ phy-mode = "rgmii-id";
+ status = "okay";
+
+ mdio {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "snps,dwmac-mdio";
+
+ phy1: ethernet-phy@1 {
+ reg = <0>;
+ };
+ };
+};
+
+&mmc0 {
+ non-removable;
+};