boards: arm: apollo4p_blue_kxr_evb: Enable clock control.

This commit enables clock control instances for apollo4p_blue_kxr_evb.
Also adds pin configuration for each instance.

Signed-off-by: Aaron Ye <aye@ambiq.com>
This commit is contained in:
Aaron Ye 2023-11-03 22:47:06 +08:00 committed by Carles Cufí
parent 0e827e3598
commit 0d47cf9057
2 changed files with 25 additions and 0 deletions

View file

@ -192,4 +192,17 @@
ambiq,iom-nce-module = <36>;
};
};
xo32m_default: xo32m_default {
group1 {
pinmux = <CLKOUT_32M_P46>;
drive-strength = "0.1";
};
};
xo32k_default: xo32k_default {
group1 {
pinmux = <XT32KHZ_P4>;
drive-strength = "0.1";
};
};
};

View file

@ -74,3 +74,15 @@
};
};
};
&xo32m {
pinctrl-0 = <&xo32m_default>;
pinctrl-names = "default";
status = "okay";
};
&xo32k {
pinctrl-0 = <&xo32k_default>;
pinctrl-names = "default";
status = "okay";
};