drivers: spi: Add support for Apollo3 SoCs SPI
This commit adds support for the SPI which can be found in Apollo3 SoCs, it can work in both DMA and non-DMA modes Signed-off-by: Hao Luo <hluo@ambiq.com>
This commit is contained in:
parent
ccc570f0c1
commit
524ea22952
8 changed files with 429 additions and 67 deletions
|
@ -101,6 +101,14 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
compatible = "ambiq,spi";
|
||||
pinctrl-0 = <&spi0_default>;
|
||||
pinctrl-names = "default";
|
||||
clock-frequency = <DT_FREQ_M(1)>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c3 {
|
||||
compatible = "ambiq,i2c";
|
||||
pinctrl-0 = <&i2c3_default>;
|
||||
|
|
|
@ -12,6 +12,7 @@ supported:
|
|||
- watchdog
|
||||
- counter
|
||||
- gpio
|
||||
- spi
|
||||
- i2c
|
||||
testing:
|
||||
ignore_tags:
|
||||
|
|
|
@ -101,6 +101,14 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
compatible = "ambiq,spi";
|
||||
pinctrl-0 = <&spi0_default>;
|
||||
pinctrl-names = "default";
|
||||
clock-frequency = <DT_FREQ_M(1)>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c3 {
|
||||
compatible = "ambiq,i2c";
|
||||
pinctrl-0 = <&i2c3_default>;
|
||||
|
|
|
@ -12,6 +12,7 @@ supported:
|
|||
- watchdog
|
||||
- counter
|
||||
- gpio
|
||||
- spi
|
||||
- i2c
|
||||
testing:
|
||||
ignore_tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue