dts: esp32s3: add i2c support
Add i2c support for esp32s3 Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
This commit is contained in:
parent
084ddf9552
commit
ca0c46604f
4 changed files with 60 additions and 0 deletions
|
@ -12,6 +12,10 @@
|
|||
model = "esp32s3_devkitm";
|
||||
compatible = "espressif,esp32s3";
|
||||
|
||||
aliases {
|
||||
i2c-0 = &i2c0;
|
||||
};
|
||||
|
||||
chosen {
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,console = &uart0;
|
||||
|
@ -56,6 +60,18 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
clock-frequency = <I2C_BITRATE_STANDARD>;
|
||||
pinctrl-0 = <&i2c0_default>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
clock-frequency = <I2C_BITRATE_STANDARD>;
|
||||
pinctrl-0 = <&i2c1_default>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&flash0 {
|
||||
status = "okay";
|
||||
partitions {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue