xref: /freebsd/sys/contrib/device-tree/src/arm64/allwinner/sun50i-a64-pine64-plus.dts (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2// Copyright (c) 2016 ARM Ltd.
3
4#include "sun50i-a64-pine64.dts"
5
6/ {
7	model = "Pine64+";
8	compatible = "pine64,pine64-plus", "allwinner,sun50i-a64";
9
10	/* TODO: Camera, touchscreen, etc. */
11};
12
13&emac {
14	pinctrl-names = "default";
15	pinctrl-0 = <&rgmii_pins>;
16	phy-mode = "rgmii-txid";
17	phy-handle = <&ext_rgmii_phy>;
18	status = "okay";
19};
20
21&mdio {
22	ext_rgmii_phy: ethernet-phy@1 {
23		compatible = "ethernet-phy-ieee802.3-c22";
24		reg = <1>;
25	};
26};
27
28&reg_dc1sw {
29	/*
30	 * Ethernet PHY needs 30ms to properly power up and some more
31	 * to initialize. 100ms should be plenty of time to finish
32	 * whole process.
33	 */
34	regulator-enable-ramp-delay = <100000>;
35};
36