Skip to content

Commit

Permalink
boards: arm: apollo4p_blue_kxr_evb: Enable clock control.
Browse files Browse the repository at this point in the history
This commit enables clock control instances for apollo4p_blue_kxr_evb.
Also adds pin configuration for each instance.

Signed-off-by: Aaron Ye <[email protected]>
  • Loading branch information
aaronyegx committed Nov 3, 2023
1 parent 3b19afa commit 6a231ed
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
};
};
12 changes: 12 additions & 0 deletions boards/arm/apollo4p_blue_kxr_evb/apollo4p_blue_kxr_evb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,15 @@
};
};
};

&xo32m {
pinctrl-0 = <&xo32m_default>;
pinctrl-names = "default";
status = "okay";
};

&xo32k {
pinctrl-0 = <&xo32k_default>;
pinctrl-names = "default";
status = "okay";
};

0 comments on commit 6a231ed

Please sign in to comment.