mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-21 02:33:07 +00:00
50cbff7cf3
This syncs rk3328 device tree files from the Linux kernel next-20200324. The last commit to touch these files is: b2411befed60 ("arm64: dts: add bus to rockchip amba nodenames") Additional changes not yet in the Linux kernel include: arm64: dts: rockchip: rk3328: drop #address-cells, #size-cells from grf node arm64: dts: rockchip: rk3328: drop non-existent gmac2phy pinmux options arm64: dts: rockchip: rk3328: Replace RK805 PMIC node name with "pmic" Changes include: - conversion of raw pin numbers to macros - removal of deprecated RK_FUNC_* macros - update of device tree binding headers - new devices - device tree cleanups - gmac2phy disabled in -u-boot.dtsi as it is not supported in U-boot This includes a re-ordering of the USB device nodes compared to upstream Linux, moving the dwc2 OTG controller after the EHCI/OHCI nodes. This is currently required as otherwise the dwc2 controller would not be able to detect devices in some cases. This may be due to lack of USB PHY support in U-boot. Signed-off-by: Chen-Yu Tsai <wens@csie.org>
51 lines
1.2 KiB
Text
51 lines
1.2 KiB
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* (C) Copyright 2016-2019 Rockchip Electronics Co., Ltd
|
|
*/
|
|
|
|
#include "rk3328-u-boot.dtsi"
|
|
#include "rk3328-sdram-ddr3-666.dtsi"
|
|
|
|
/{
|
|
gmac_clkin: external-gmac-clock {
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <125000000>;
|
|
clock-output-names = "gmac_clkin";
|
|
#clock-cells = <0>;
|
|
};
|
|
|
|
vcc5v0_host_xhci: vcc5v0-host-xhci-drv {
|
|
compatible = "regulator-fixed";
|
|
enable-active-high;
|
|
gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>;
|
|
regulator-name = "vcc5v0_host_xhci";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
};
|
|
};
|
|
|
|
&gmac2io {
|
|
phy-supply = <&vcc_phy>;
|
|
phy-mode = "rgmii";
|
|
clock_in_out = "input";
|
|
snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
|
|
snps,reset-active-low;
|
|
snps,reset-delays-us = <0 10000 50000>;
|
|
assigned-clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_EXT>;
|
|
assigned-clock-parents = <&gmac_clkin>, <&gmac_clkin>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&rgmiim1_pins>;
|
|
tx_delay = <0x26>;
|
|
rx_delay = <0x11>;
|
|
status = "okay";
|
|
};
|
|
|
|
&gmac2phy {
|
|
/* Integrated PHY unsupported by U-boot */
|
|
status = "broken";
|
|
};
|
|
|
|
&usb_host0_xhci {
|
|
vbus-supply = <&vcc5v0_host_xhci>;
|
|
status = "okay";
|
|
};
|