On Thu, 5 Sep 2019, Mathias Kresin wrote:
...

In sysctrl.c, we have:
clkdev_add_pmu("1f203020.gphy", NULL, 1, 0, PMU_GPHY); // OK for GPHY0
clkdev_add_pmu("1f203068.gphy", NULL, 1, 0, PMU_GPHY); //problem for GPHY1

The first parameter of clkdev_add_pmu doesn't match your dts. It has to be "1f203058.gphy"

Regards
Mathias

thank you very much Mathias.
Yeah - infact I did this change, resulting in the first two GPHYs initializing, while the 
one at "1f2030ac.gphy" had more issues - and kernel oopsed.
So I was thinking the logic was wrong. I'll look at it again.

Enrico

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to