summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/rk3328.dtsi
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2021-01-17 18:07:08 +0800
committerHeiko Stuebner <heiko@sntech.de>2021-01-18 13:30:48 +0100
commitc6433083f5930fdf52ad47c8c0459719c810dc89 (patch)
treecf6a7feaf7159e6b54dabf73c60eef29cebe42a6 /arch/arm64/boot/dts/rockchip/rk3328.dtsi
parente58061b59787270a57839397e50bb4400b9e2de9 (diff)
arm64: dts: rockchip: rk3328: Add clock_in_out property to gmac2phy node
The gmac2phy is integrated with the PHY within the SoC. Any properties related to this integration can be included in the .dtsi file, instead of having board dts files specify them separately. Add the clock_in_out property to specify the direction of the PHY clock. This is the minimum required to have gmac2phy working on Linux. Other examples include assigned-clocks, assigned-clock-rates, and assigned-clock-parents properties, but the hardware default plus the implementation requesting the appropriate clock rate also works. Fixes: 9c4cc910fe28 ("ARM64: dts: rockchip: Add gmac2phy node support for rk3328") Signed-off-by: Chen-Yu Tsai <wens@csie.org> Link: https://lore.kernel.org/r/20210117100710.4857-2-wens@kernel.org Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3328.dtsi')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3328.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
index 56b5ee7e54c4..17709faf651b 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
@@ -931,6 +931,7 @@
phy-mode = "rmii";
phy-handle = <&phy>;
snps,txpbl = <0x4>;
+ clock_in_out = "output";
status = "disabled";
mdio {