lantiq: VGV7510KW22BRN - set the phy clock source
lantiq: VGV7510KW22BRN - set the phy clock source

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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49284 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- 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 {

comments