On 06/22/2012 09:54 AM, Rafał Miłecki wrote: > 2012/6/21 Hauke Mehrtens <ha...@hauke-m.de>: >> There is some part missing in drivers/bcma/driver_chipcommon_pmu.c >> bcma_pmu_get_clockcpu() which is probably needed for this device. > > Yeah. Currently trace is: > bcma_pmu_get_clockcpu > bcma_pmu_get_clockcontrol > bcma_pmu_clock(cc, 12, 1) > bcma_chipco_pll_read(cc, 12 + 0) > bcma_cc_read32(cc, BCMA_CC_PLLCTL_DATA) > > The last one crashes my WNDR4500. > > Hauke: are you able to provide si_4706_pmu_clock? I can see you added > TODO for now: > /* TODO: if (bus->chipinfo.id == 0x5300) > return si_4706_pmu_clock(sih, osh, cc, PMU4706_MAINPLL_PLL0, > PMU5_MAINPLL_CPU); */ > > For now I'm just hardcoding my CPU to 600MHz >
Hi Rafał, bcma_pmu_get_clockcontrol() and bcma_pmu_get_clockcpu() are returning wrong values on a bcm4706 and are reading wrong registers, I will try to fix that tomorrow. Hauke _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel