mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 04:34:03 +02:00
riscv: dts: thead: Add TH1520 I2C1 controller
Describe the TH1520 I2C1 controller so boards can enable devices attached to that bus. The controller is disabled by default because pinmuxing and connected peripherals are board-specific. Signed-off-by: MoeLeak <i@leak.moe> Signed-off-by: Drew Fustini <fustini@kernel.org>
This commit is contained in:
parent
254f49634e
commit
2f60e35163
|
|
@ -411,6 +411,17 @@ uart3: serial@ffe7f04000 {
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
i2c1: i2c@ffe7f24000 {
|
||||
compatible = "thead,th1520-i2c", "snps,designware-i2c";
|
||||
reg = <0xff 0xe7f24000 0x0 0x4000>;
|
||||
interrupts = <45 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&clk CLK_I2C1>, <&clk CLK_PERI_APB_PCLK>;
|
||||
clock-names = "ref", "pclk";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
gpio@ffe7f34000 {
|
||||
compatible = "snps,dw-apb-gpio";
|
||||
reg = <0xff 0xe7f34000 0x0 0x1000>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user