]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/gnu/dts/arm64/allwinner/sun50i-a64-pine64-plus.dts
MFC r358430, r359934-r359936, r359939, r359969, r360093
[FreeBSD/FreeBSD.git] / sys / gnu / dts / arm64 / allwinner / sun50i-a64-pine64-plus.dts
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";
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 };