This series fixes two classes of board-level issues found while
bringing up several RK3568 boards.
The first four patches address GMAC clock parents. On these boards the
DTS lists SCLK_GMACx in assigned-clocks but only provides a parent for
SCLK_GMACx_RX_TX, so SCLK_GMACx keeps whatever parent the bootloader or
the hardware reset left. Add CLK_MACx_2TOP explicitly so the GMAC main
clock always comes from the internal source. BPI-R2 Pro additionally
describes clock_in_out wrongly ("input" while the port is a fixed-link
with no external 125 MHz clock); switch it to "output" to match the
hardware. On RK3568 clock_in_out does not change the hardware clock
routing today, so that part is a description fix.
The last patch fixes USB OTG power on the Ariaboard Photonicat. On
battery power the USB port is dead because usb2phy0_otg is fed from a
regulator that only exists when the DC input is present. Add a boost
regulator gated by the existing vcc5v0_usb30_otg0 rail and switch the
PHY supply to it, restoring USB host functionality on battery.
---
Coia Prant (5):
arm64: dts: rockchip: fix GMAC clock parents on 9Tripod X3568 v4
arm64: dts: rockchip: fix GMAC clock parents on Graperain G3568 v2
arm64: dts: rockchip: fix GMAC clock setup on BPI-R2 Pro
arm64: dts: rockchip: fix GMAC clock parent on Photonicat
arm64: dts: rockchip: fix USB OTG power on Photonicat in battery mode
.../dts/rockchip/rk3568-9tripod-x3568-v4.dts | 4 ++--
.../boot/dts/rockchip/rk3568-bpi-r2-pro.dts | 4 +++-
.../rockchip/rk3568-graperain-g3568-v2.dts | 4 ++--
.../boot/dts/rockchip/rk3568-photonicat.dts | 21 +++++++++++++++++--
4 files changed, 26 insertions(+), 7 deletions(-)
--
2.47.3