2020-10-24 15:21:55 +00:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
// Copyright (c) 2016 ARM Ltd.
|
2016-03-29 15:29:11 +00:00
|
|
|
|
2017-05-24 09:34:56 +00:00
|
|
|
#include "sun50i-a64-pine64.dts"
|
2016-03-29 15:29:11 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Pine64+";
|
2016-05-04 21:15:33 +00:00
|
|
|
compatible = "pine64,pine64-plus", "allwinner,sun50i-a64";
|
2016-03-29 15:29:11 +00:00
|
|
|
|
2018-07-04 13:16:35 +00:00
|
|
|
/* TODO: Camera, touchscreen, etc. */
|
|
|
|
};
|
|
|
|
|
|
|
|
&emac {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&rgmii_pins>;
|
|
|
|
phy-mode = "rgmii";
|
|
|
|
phy-handle = <&ext_rgmii_phy>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&mdio {
|
|
|
|
ext_rgmii_phy: ethernet-phy@1 {
|
|
|
|
compatible = "ethernet-phy-ieee802.3-c22";
|
|
|
|
reg = <1>;
|
|
|
|
};
|
2016-07-06 12:29:44 +00:00
|
|
|
};
|
2020-10-24 15:21:55 +00:00
|
|
|
|
|
|
|
®_dc1sw {
|
|
|
|
/*
|
|
|
|
* Ethernet PHY needs 30ms to properly power up and some more
|
|
|
|
* to initialize. 100ms should be plenty of time to finish
|
|
|
|
* whole process.
|
|
|
|
*/
|
|
|
|
regulator-enable-ramp-delay = <100000>;
|
|
|
|
};
|