clk: microchip: Initialize SOSC clock rate for PIC32MZDA.

Optional SOSC is an external fixed clock running at 32768HZ.
So Initialize SOSC rate as per PIC32MZDA datasheet.

Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
Purna Chandra Mandal 2016-05-17 10:35:51 +05:30 committed by Stephen Boyd
parent 12f53b2432
commit a38c94106e
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@ static const struct pic32_sec_osc_data sosc_clk = {
.status_reg = 0x1d0,
.enable_mask = BIT(1),
.status_mask = BIT(4),
.fixed_rate = 32768,
.init_data = {
.name = "sosc_clk",
.parent_names = NULL,