dts: bindings: i2c: Add RasbperryPi Pico I2C

Add Raspberry Pi Pico I2C that inheriting both DesignWare I2C
device and reset device.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
This commit is contained in:
TOKITA Hiroshi 2023-09-08 20:20:13 +09:00 committed by Fabio Baltieri
commit 5f17a16ef4
2 changed files with 9 additions and 2 deletions

View file

@ -138,10 +138,11 @@
};
i2c0: i2c@40044000 {
compatible = "snps,designware-i2c";
compatible = "raspberrypi,pico-i2c", "snps,designware-i2c";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x40044000 DT_SIZE_K(4)>;
resets = <&reset RPI_PICO_RESETS_RESET_I2C0>;
clocks = <&system_clk>;
interrupts = <23 RPI_PICO_DEFAULT_IRQ_PRIORITY>;
interrupt-names = "i2c0";
@ -149,10 +150,11 @@
};
i2c1: i2c@40048000 {
compatible = "snps,designware-i2c";
compatible = "raspberrypi,pico-i2c", "snps,designware-i2c";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x40048000 DT_SIZE_K(4)>;
resets = <&reset RPI_PICO_RESETS_RESET_I2C0>;
clocks = <&system_clk>;
interrupts = <24 RPI_PICO_DEFAULT_IRQ_PRIORITY>;
interrupt-names = "i2c1";

View file

@ -0,0 +1,5 @@
description: Raspberry Pi Pico I2C
compatible: "raspberrypi,pico-i2c"
include: ["snps,designware-i2c.yaml", "reset-device.yaml"]