drivers: bluetooth: hci_ambiq: get the spi cfg from the device
Use the SPI configuration from the SPI device for data transaction. Signed-off-by: Hao Luo <hluo@ambiq.com>
This commit is contained in:
parent
3faaaaba59
commit
8379f64393
7 changed files with 106 additions and 32 deletions
|
@ -71,7 +71,7 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&iom0 {
|
||||
&i2c0 {
|
||||
compatible = "ambiq,i2c";
|
||||
pinctrl-0 = <&i2c0_default>;
|
||||
pinctrl-names = "default";
|
||||
|
@ -79,7 +79,7 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&iom1 {
|
||||
&spi1 {
|
||||
compatible = "ambiq,spi";
|
||||
pinctrl-0 = <&spi1_default>;
|
||||
pinctrl-names = "default";
|
||||
|
@ -88,7 +88,7 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&iom4 {
|
||||
&spi4 {
|
||||
pinctrl-0 = <&spi4_default>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue