blob: b26181cf9095aca62906bc277788ade5bc40b931 [file] [log] [blame]
Samuel Holland26bc4e72020-10-24 10:21:55 -05001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2// Copyright (c) 2016 ARM Ltd.
Siarhei Siamashka3848f972016-03-29 17:29:11 +02003
Andre Przywara8d65e613e2017-05-24 10:34:56 +01004#include "sun50i-a64-pine64.dts"
Siarhei Siamashka3848f972016-03-29 17:29:11 +02005
6/ {
7 model = "Pine64+";
Andre Przywara36748112016-05-04 22:15:33 +01008 compatible = "pine64,pine64-plus", "allwinner,sun50i-a64";
Siarhei Siamashka3848f972016-03-29 17:29:11 +02009
Andre Przywara0fcb8302018-07-04 14:16:35 +010010 /* 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 };
Amit Singh Tomard194c0e2016-07-06 17:59:44 +053026};
Samuel Holland26bc4e72020-10-24 10:21:55 -050027
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};