blob: 9d70f21c86fc6e56e849a0efab63329c87e32e24 [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};