boards: arm: apollo3p_evb: create BLEIF instance

This commits add the BLEIF instance which is compatible with
"ambiq,spi-bleif" on Ambiq apollo3p_evb and apollo3_evb.
Also creates the default pinctrl for the defined instance.

Signed-off-by: Aaron Ye <aye@ambiq.com>
This commit is contained in:
Aaron Ye 2024-05-16 16:28:08 +08:00 committed by Carles Cufí
commit 9684b957bc
6 changed files with 54 additions and 0 deletions

View file

@ -148,4 +148,15 @@
ambiq,iom-num = <6>;
};
};
bleif_default: bleif_default{
group1 {
pinmux = <BLEIF_SCK_P30>,
<BLEIF_MISO_P31>,
<BLEIF_MOSI_P32>,
<BLEIF_CSN_P33>,
<BLEIF_STATUS_P35>,
<BLEIF_IRQ_P41>;
};
};
};

View file

@ -84,6 +84,12 @@
};
};
&bleif {
pinctrl-0 = <&bleif_default>;
pinctrl-names = "default";
status = "okay";
};
&uart0 {
current-speed = <115200>;
pinctrl-0 = <&uart0_default>;

View file

@ -193,4 +193,15 @@
ambiq,iom-num = <2>;
};
};
bleif_default: bleif_default{
group1 {
pinmux = <BLEIF_SCK_P30>,
<BLEIF_MISO_P31>,
<BLEIF_MOSI_P32>,
<BLEIF_CSN_P33>,
<BLEIF_STATUS_P35>,
<BLEIF_IRQ_P41>;
};
};
};

View file

@ -84,6 +84,12 @@
};
};
&bleif {
pinctrl-0 = <&bleif_default>;
pinctrl-names = "default";
status = "okay";
};
&uart0 {
current-speed = <115200>;
pinctrl-0 = <&uart0_default>;