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:
parent
fe1c341ae2
commit
5f17a16ef4
2 changed files with 9 additions and 2 deletions
|
@ -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";
|
||||
|
|
5
dts/bindings/i2c/raspberrypi,pico-i2c.yaml
Normal file
5
dts/bindings/i2c/raspberrypi,pico-i2c.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
description: Raspberry Pi Pico I2C
|
||||
|
||||
compatible: "raspberrypi,pico-i2c"
|
||||
|
||||
include: ["snps,designware-i2c.yaml", "reset-device.yaml"]
|
Loading…
Add table
Add a link
Reference in a new issue