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

Mathias Kresin openwrt at kresin.me
Sat Apr 30 13:48:23 EDT 2016


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 at kresin.me>
---
 target/linux/lantiq/dts/VGV7510KW22BRN.dts | 6 ++++++
 1 file changed, 6 insertions(+)

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 at 1F000000 {
+		cgu at 103000 {
+			lantiq,phy-clk-src = <0x2>;
+		};
+	};
+
 	fpi at 10000000 {
 		localbus at 0 {
 			nor-boot at 0 {
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list