xref: /linux/scripts/dtc/include-prefixes/riscv/starfive/jh7110-starfive-visionfive-2.dtsi (revision c34e9ab9a612ee8b18273398ef75c207b01f516d)
154baba33SEmil Renner Berthing// SPDX-License-Identifier: GPL-2.0 OR MIT
254baba33SEmil Renner Berthing/*
354baba33SEmil Renner Berthing * Copyright (C) 2022 StarFive Technology Co., Ltd.
454baba33SEmil Renner Berthing * Copyright (C) 2022 Emil Renner Berthing <kernel@esmil.dk>
554baba33SEmil Renner Berthing */
654baba33SEmil Renner Berthing
754baba33SEmil Renner Berthing/dts-v1/;
8ac9a37e2SJisheng Zhang#include "jh7110-common.dtsi"
954baba33SEmil Renner Berthing
1054baba33SEmil Renner Berthing/ {
1154baba33SEmil Renner Berthing	aliases {
120104340aSSamin Guo		ethernet1 = &gmac1;
130104340aSSamin Guo	};
140104340aSSamin Guo};
150104340aSSamin Guo
165a5001d2SGuodong Xu&gmac0 {
175a5001d2SGuodong Xu	status = "okay";
185a5001d2SGuodong Xu};
195a5001d2SGuodong Xu
200104340aSSamin Guo&gmac1 {
210104340aSSamin Guo	phy-handle = <&phy1>;
220104340aSSamin Guo	phy-mode = "rgmii-id";
230104340aSSamin Guo	status = "okay";
240104340aSSamin Guo
250104340aSSamin Guo	mdio {
260104340aSSamin Guo		#address-cells = <1>;
270104340aSSamin Guo		#size-cells = <0>;
280104340aSSamin Guo		compatible = "snps,dwmac-mdio";
290104340aSSamin Guo
300104340aSSamin Guo		phy1: ethernet-phy@1 {
310104340aSSamin Guo			reg = <0>;
320104340aSSamin Guo		};
330104340aSSamin Guo	};
340104340aSSamin Guo};
350104340aSSamin Guo
365a5001d2SGuodong Xu&i2c0 {
375a5001d2SGuodong Xu	status = "okay";
385a5001d2SGuodong Xu};
395a5001d2SGuodong Xu
40b127dbf9SWilliam Qiu&mmc0 {
41b127dbf9SWilliam Qiu	non-removable;
42e2c510d6SMason Huo};
432904244aSMinda Chen
442904244aSMinda Chen&pcie0 {
452904244aSMinda Chen	status = "okay";
462904244aSMinda Chen};
472904244aSMinda Chen
482904244aSMinda Chen&pcie1 {
492904244aSMinda Chen	status = "okay";
502904244aSMinda Chen};
515a5001d2SGuodong Xu
525a5001d2SGuodong Xu&pwm {
535a5001d2SGuodong Xu	status = "okay";
545a5001d2SGuodong Xu};
555a5001d2SGuodong Xu
565a5001d2SGuodong Xu&pwmdac {
575a5001d2SGuodong Xu	status = "okay";
585a5001d2SGuodong Xu};
595a5001d2SGuodong Xu
605a5001d2SGuodong Xu&spi0 {
615a5001d2SGuodong Xu	status = "okay";
625a5001d2SGuodong Xu};
63*817eac16SGuodong Xu
64*817eac16SGuodong Xu&usb0 {
65*817eac16SGuodong Xu	dr_mode = "peripheral";
66*817eac16SGuodong Xu	status = "okay";
67*817eac16SGuodong Xu};
68