Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 // Copyright (c) 2016 ARM Ltd.
0003 
0004 #include "sun50i-a64-pine64.dts"
0005 
0006 / {
0007         model = "Pine64+";
0008         compatible = "pine64,pine64-plus", "allwinner,sun50i-a64";
0009 
0010         /* TODO: Camera, touchscreen, etc. */
0011 };
0012 
0013 &emac {
0014         pinctrl-names = "default";
0015         pinctrl-0 = <&rgmii_pins>;
0016         phy-mode = "rgmii-txid";
0017         phy-handle = <&ext_rgmii_phy>;
0018         status = "okay";
0019 };
0020 
0021 &mdio {
0022         ext_rgmii_phy: ethernet-phy@1 {
0023                 compatible = "ethernet-phy-ieee802.3-c22";
0024                 reg = <1>;
0025         };
0026 };
0027 
0028 &reg_dc1sw {
0029         /*
0030          * Ethernet PHY needs 30ms to properly power up and some more
0031          * to initialize. 100ms should be plenty of time to finish
0032          * whole process.
0033          */
0034         regulator-enable-ramp-delay = <100000>;
0035 };