diff mbox

[OpenWrt-Devel,2/2] lantiq: VGV7510KW22BRN - set the phy clock source

Message ID 1462038503-7297-2-git-send-email-openwrt@kresin.me
State Accepted
Headers show

Commit Message

Mathias Kresin April 30, 2016, 5:48 p.m. UTC
VGV7510KW2 with VRX288 v1.2 has brnboot 1.8 installed. Starting with
this brnboot version, the "GPHY Clock Source" isn't set anymore by
brnboot, with the result that xrx200-net fails to probe/initialize the
phys.

Use the phy clock source device tree binding to specify the clock source.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
---
 target/linux/lantiq/dts/VGV7510KW22BRN.dts | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox

Patch

diff --git a/target/linux/lantiq/dts/VGV7510KW22BRN.dts b/target/linux/lantiq/dts/VGV7510KW22BRN.dts
index 1880c8c..d7c6b51 100644
--- a/target/linux/lantiq/dts/VGV7510KW22BRN.dts
+++ b/target/linux/lantiq/dts/VGV7510KW22BRN.dts
@@ -3,6 +3,12 @@ 
 /include/ "VGV7510KW22.dtsi"
 
 / {
+	sram@1F000000 {
+		cgu@103000 {
+			lantiq,phy-clk-src = <0x2>;
+		};
+	};
+
 	fpi@10000000 {
 		localbus@0 {
 			nor-boot@0 {