mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 00:47:26 +00:00
fbe127f7b5
Import updated devicetree files from the Linux v5.12 release. Besides some node and audio port renames this changes the PHY modes to either rgmii-id or rgmii-txid. From the board files the Pinephone sees a lot of updates. This also adds the long missing USB PHY property for controller 0, which allows the U-Boot PHY driver to eventually use port 0 in host mode (pending another U-Boot patch). Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Jernej Skrabec <jernej.skrabec@siol.net>
35 lines
699 B
Text
35 lines
699 B
Text
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
// Copyright (c) 2016 ARM Ltd.
|
|
|
|
#include "sun50i-a64-pine64.dts"
|
|
|
|
/ {
|
|
model = "Pine64+";
|
|
compatible = "pine64,pine64-plus", "allwinner,sun50i-a64";
|
|
|
|
/* TODO: Camera, touchscreen, etc. */
|
|
};
|
|
|
|
&emac {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&rgmii_pins>;
|
|
phy-mode = "rgmii-txid";
|
|
phy-handle = <&ext_rgmii_phy>;
|
|
status = "okay";
|
|
};
|
|
|
|
&mdio {
|
|
ext_rgmii_phy: ethernet-phy@1 {
|
|
compatible = "ethernet-phy-ieee802.3-c22";
|
|
reg = <1>;
|
|
};
|
|
};
|
|
|
|
®_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>;
|
|
};
|