kernel: bump 6.1 to 6.1.83
[openwrt/openwrt.git] / target / linux / mediatek / patches-6.1 / 004-v6.2-arm64-dts-mt7986-add-i2c-node.patch
1 From b49b7dc404ded1d89cbc568d875009a5c1ed4ef6 Mon Sep 17 00:00:00 2001
2 From: Frank Wunderlich <frank-w@public-files.de>
3 Date: Sun, 6 Nov 2022 09:50:29 +0100
4 Subject: [PATCH 04/19] arm64: dts: mt7986: add i2c node
5
6 Add i2c Node to mt7986 devicetree.
7
8 Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
9 Link: https://lore.kernel.org/r/20221106085034.12582-7-linux@fw-web.de
10 Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
11 ---
12 arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 14 ++++++++++++++
13 1 file changed, 14 insertions(+)
14
15 --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
16 +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
17 @@ -280,6 +280,20 @@
18 status = "disabled";
19 };
20
21 + i2c0: i2c@11008000 {
22 + compatible = "mediatek,mt7986-i2c";
23 + reg = <0 0x11008000 0 0x90>,
24 + <0 0x10217080 0 0x80>;
25 + interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
26 + clock-div = <5>;
27 + clocks = <&infracfg CLK_INFRA_I2C0_CK>,
28 + <&infracfg CLK_INFRA_AP_DMA_CK>;
29 + clock-names = "main", "dma";
30 + #address-cells = <1>;
31 + #size-cells = <0>;
32 + status = "disabled";
33 + };
34 +
35 ethsys: syscon@15000000 {
36 #address-cells = <1>;
37 #size-cells = <1>;