blob: 18f38fc790a4d1b7d53910473e7f0f488e504a56 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// 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/;
Tom Rini762f85b2024-07-20 11:15:10 -06008#include "jh7110-common.dtsi"
Tom Rini53633a82024-02-29 12:33:36 -05009
10/ {
11 aliases {
Tom Rini53633a82024-02-29 12:33:36 -050012 ethernet1 = &gmac1;
Tom Rini53633a82024-02-29 12:33:36 -050013 };
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
Tom Rini53633a82024-02-29 12:33:36 -050032&mmc0 {
Tom Rini53633a82024-02-29 12:33:36 -050033 non-removable;
Tom Rini53633a82024-02-29 12:33:36 -050034};
Tom Rini6b642ac2024-10-01 12:20:28 -060035
36&pcie0 {
37 status = "okay";
38};
39
40&pcie1 {
41 status = "okay";
42};