summaryrefslogtreecommitdiff
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorWeijie Gao <weijie.gao@mediatek.com>2023-07-19 12:16:19 +0300
committerTom Rini <trini@konsulko.com>2023-08-03 16:40:49 +0300
commit0a648bd0f70be459e8728eae89cb4c956f681d6f (patch)
tree0d1c61caedd3fcfdda0d69c8f6a85976ae5a67c7 /arch/arm/dts
parent7fa40df4825766c63b9d06e3e224814d8e5f4eed (diff)
downloadu-boot-0a648bd0f70be459e8728eae89cb4c956f681d6f.tar.xz
arm: dts: enable i2c support for MediaTek MT7981
This patch enables i2c support for MediaTek MT7981 Signed-off-by: Sam Shih <sam.shih@mediatek.com> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r--arch/arm/dts/mt7981.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/dts/mt7981.dtsi b/arch/arm/dts/mt7981.dtsi
index 2c8ef14f98..2053e2ca00 100644
--- a/arch/arm/dts/mt7981.dtsi
+++ b/arch/arm/dts/mt7981.dtsi
@@ -152,6 +152,20 @@
status = "disabled";
};
+ i2c0: i2c@11007000 {
+ compatible = "mediatek,mt7981-i2c";
+ reg = <0x11007000 0x1000>,
+ <0x10217080 0x80>;
+ interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
+ clock-div = <1>;
+ clocks = <&infracfg_ao CK_INFRA_I2CO_CK>,
+ <&infracfg_ao CK_INFRA_AP_DMA_CK>;
+ clock-names = "main", "dma";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
uart0: serial@11002000 {
compatible = "mediatek,hsuart";
reg = <0x11002000 0x400>;