svn commit: r300183 - head/sys/dev/siba
Adrian Chadd
adrian at FreeBSD.org
Thu May 19 04:03:43 UTC 2016
Author: adrian
Date: Thu May 19 04:03:41 2016
New Revision: 300183
URL: https://svnweb.freebsd.org/changeset/base/300183
Log:
[siba] handle the PMU resource setup/init for 0x4322 series chips.
Tested (with other changes):
* BCM4322 11abgn device, chip id 0x4322.
Modified:
head/sys/dev/siba/siba_core.c
Modified: head/sys/dev/siba/siba_core.c
==============================================================================
--- head/sys/dev/siba/siba_core.c Thu May 19 04:02:13 2016 (r300182)
+++ head/sys/dev/siba/siba_core.c Thu May 19 04:03:41 2016 (r300183)
@@ -945,6 +945,17 @@ siba_cc_pmu_init(struct siba_cc *scc)
siba_cc_pmu1_pll0_init(scc, 0 /* use default */);
/* use the default: min = 0xcbb max = 0x7ffff */
break;
+ case 0x4322:
+ if (scc->scc_pmu.rev == 2) {
+ DPRINTF(siba, SIBA_DEBUG_PMU, "%s: chipid 0x4322; PLLing\n",
+ __func__);
+ SIBA_CC_WRITE32(scc, SIBA_CC_PLLCTL_ADDR, 0x0000000a);
+ SIBA_CC_WRITE32(scc, SIBA_CC_PLLCTL_DATA, 0x380005c0);
+ }
+ /* use the default: min = 0xcbb max = 0x7ffff */
+ break;
+ case 43222:
+ break;
case 0x4325:
siba_cc_pmu1_pll0_init(scc, 0 /* use default */);
More information about the svn-src-all
mailing list