Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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/; |
Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame^] | 8 | #include "jh7110-common.dtsi" |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 9 | |
| 10 | / { |
| 11 | aliases { |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 12 | ethernet1 = &gmac1; |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 32 | &mmc0 { |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 33 | non-removable; |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 34 | }; |