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