mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
659f4a13dd
With Linux 6.1 many of our downstream patches and out-of-tree files can be removed or at least replaced by backported upstream commits. Signed-off-by: Daniel Golle <daniel@makrotopia.org> [fix CMDLINE_OVERRIDE for arm64] Signed-off-by: Bjørn Mork <bjorn@mork.no>
38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
From b49b7dc404ded1d89cbc568d875009a5c1ed4ef6 Mon Sep 17 00:00:00 2001
|
|
From: Frank Wunderlich <frank-w@public-files.de>
|
|
Date: Sun, 6 Nov 2022 09:50:29 +0100
|
|
Subject: [PATCH 04/19] arm64: dts: mt7986: add i2c node
|
|
|
|
Add i2c Node to mt7986 devicetree.
|
|
|
|
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
|
|
Link: https://lore.kernel.org/r/20221106085034.12582-7-linux@fw-web.de
|
|
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
|
|
---
|
|
arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 14 ++++++++++++++
|
|
1 file changed, 14 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
|
|
@@ -279,6 +279,20 @@
|
|
status = "disabled";
|
|
};
|
|
|
|
+ i2c0: i2c@11008000 {
|
|
+ compatible = "mediatek,mt7986-i2c";
|
|
+ reg = <0 0x11008000 0 0x90>,
|
|
+ <0 0x10217080 0 0x80>;
|
|
+ interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ clock-div = <5>;
|
|
+ clocks = <&infracfg CLK_INFRA_I2C0_CK>,
|
|
+ <&infracfg CLK_INFRA_AP_DMA_CK>;
|
|
+ clock-names = "main", "dma";
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
ethsys: syscon@15000000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|