summaryrefslogtreecommitdiff
path: root/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts
blob: 18eb3d58005ebdd807f48506cb25e2478a011b4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// SPDX-License-Identifier: GPL-2.0 OR MIT
/*
 * Copyright (C) 2021 StarFive Technology Co., Ltd.
 * Copyright (C) 2021 Emil Renner Berthing <kernel@esmil.dk>
 */

/dts-v1/;
#include "jh7100-common.dtsi"
#include <dt-bindings/gpio/gpio.h>

/ {
	model = "BeagleV Starlight Beta";
	compatible = "beagle,beaglev-starlight-jh7100-r0", "starfive,jh7100";
};

&gmac {
	phy-handle = <&phy>;
};

&gpio {
	/* don't reset gpio mux for serial console on uart3 */
	starfive,keep-gpiomux = <13 14>;
};

&mdio {
	phy: ethernet-phy@7 {
		reg = <7>;
		reset-gpios = <&gpio 63 GPIO_ACTIVE_LOW>;
	};
};