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