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:
parent
12f53b2432
commit
a38c94106e
|
@ -118,6 +118,7 @@ static const struct pic32_sec_osc_data sosc_clk = {
|
||||||
.status_reg = 0x1d0,
|
.status_reg = 0x1d0,
|
||||||
.enable_mask = BIT(1),
|
.enable_mask = BIT(1),
|
||||||
.status_mask = BIT(4),
|
.status_mask = BIT(4),
|
||||||
|
.fixed_rate = 32768,
|
||||||
.init_data = {
|
.init_data = {
|
||||||
.name = "sosc_clk",
|
.name = "sosc_clk",
|
||||||
.parent_names = NULL,
|
.parent_names = NULL,
|
||||||
|
|
Loading…
Reference in New Issue