drivers: i2c: Add support for Apollo3 SoCs I2C
This commit adds support for the I2C 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
95dde52b1e
commit
c8ae26549d
8 changed files with 170 additions and 29 deletions
|
@ -95,6 +95,14 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c3 {
|
||||
compatible = "ambiq,i2c";
|
||||
pinctrl-0 = <&i2c3_default>;
|
||||
pinctrl-names = "default";
|
||||
clock-frequency = <I2C_BITRATE_STANDARD>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio0_31 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -11,6 +11,7 @@ supported:
|
|||
- uart
|
||||
- watchdog
|
||||
- gpio
|
||||
- i2c
|
||||
testing:
|
||||
ignore_tags:
|
||||
- net
|
||||
|
|
|
@ -95,6 +95,14 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c3 {
|
||||
compatible = "ambiq,i2c";
|
||||
pinctrl-0 = <&i2c3_default>;
|
||||
pinctrl-names = "default";
|
||||
clock-frequency = <I2C_BITRATE_STANDARD>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio0_31 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -11,6 +11,7 @@ supported:
|
|||
- uart
|
||||
- watchdog
|
||||
- gpio
|
||||
- i2c
|
||||
testing:
|
||||
ignore_tags:
|
||||
- net
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue