Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1181143pxu; Fri, 27 Nov 2020 01:27:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJwl3jBbjH/c8hn7fI4GiNuCqArejvSf8pzlIe3vUKmXi2D5eh4IcSW2eJmChtu5PL4nUbYa X-Received: by 2002:a17:906:33c4:: with SMTP id w4mr6379340eja.380.1606469230983; Fri, 27 Nov 2020 01:27:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606469230; cv=none; d=google.com; s=arc-20160816; b=0JCfSZydCc3Fabiu0cOy/rSAv24B2rpBSvm6jPBRoTvi5TxOQ1re7y2TCSru20z/BM ga8JoJdXW0IGp8xxtnlYAv7gKkLfLhpqGvev8NbQVEUjWLNqbjFM703tQ5hRpUVPzoIh wZiEsy/FcKIcptz7D30uWthGlXXtOmnsOSOUM/XPa+8uV0L25snadm2flvuGOqYuWmJV 6w3F64ncCiahclwBLH53e/iDxzLyp0LgK6CAa09ouUBrX8RjaHQTfVETHzwvkWv3tU+Y nftBn5b2bAhaB22VbI6fK7d4LqW7Hu4Rvc0sU0JDe0daiY4YxsR+TdrjnORHWV42kP7x BcDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=TIHNs2GCeQWtlcPBhiv542SJCg5rhkfjqyPQIpq3Npw=; b=ybdVx8TbZN/XXLklUfBAEELuooFpjgMApEpg0XVG6L+A+E4mstPT8IkSx2/aijADL8 SzC9q3ZulYRvfB3MBkMTRutZoVoPTksItLsz1XPhqmOVgs/8eoULZzE8gnxBrL20Jqcf iYcHLrTjxWmDoL0p7wAtk/gm4LekjJlk9JUny8mAXjtUsNpOLNKH0zl0NiW+wIZWPWs6 x1usJ16rSiu+gkZCxRg3ygI5uVqvG2rnoCan0d3p1kxz5lkzSSD0Dzy/+Tbe2mkH9BlE XX5i1jMMDt773YyF6e6dmhA0/SkA7K0p3KwA5t0MXOVZ2Yb5EPiI7vK4vmquw2sWSZEx ljLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UVfaQaUj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v24si4922981edq.0.2020.11.27.01.26.47; Fri, 27 Nov 2020 01:27:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UVfaQaUj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727700AbgK0JYg (ORCPT + 99 others); Fri, 27 Nov 2020 04:24:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726721AbgK0JYf (ORCPT ); Fri, 27 Nov 2020 04:24:35 -0500 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDB76C0613D1; Fri, 27 Nov 2020 01:24:34 -0800 (PST) Received: by mail-wr1-x444.google.com with SMTP id m6so4810209wrg.7; Fri, 27 Nov 2020 01:24:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=TIHNs2GCeQWtlcPBhiv542SJCg5rhkfjqyPQIpq3Npw=; b=UVfaQaUj9uWSxyanGu1u/pnZJZQoqHPxQQgOuOlnOlvl35inf2f7hcADMSvv47L8NP HfUTW6x+f8gd8nL6pXs9qkboeM8cR3xUGyABQJe1hADnaiPC6rw4clnY/wEoI4MsldG8 Mu3ZbjLAo4vsxRsZvOYl4P9ZpxokP5pDEcRzpObA0Ozb8wlBuWRbx/kylEwrWUqFdwra wRpNpVe3e63c12PibIkPkKkWrihgFRY7ETBN0FMhOjuiCBZp+cVtiaExezNjIztPPDoM E8BXivi2xyFS0Kmx9TFBBnrNcKWsZmLNmSvRrVxaVoTTLkQRknGric0u9aw20voEYgcP KT+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=TIHNs2GCeQWtlcPBhiv542SJCg5rhkfjqyPQIpq3Npw=; b=qZY2wElSQillcvt7uO2QwTCEuCjSpgpPUe/RwS1Z7xvWpZOnTkBIRbVjMz9dBhp7Fa 4oSa/hCM1sHZhvehxHzQ5WcslLUBI0VCd7TYiPceu8RjQcDseh2dHa1jc+t2oteTgOM0 NLSowMaZzZB6A7Ns6nwotgrwXSFqdMhMI8iiJdrna9YWzapSZUmps3s8AkS151EDbWNq tg1dOyQ4tZzElf4JCydgY62KXXnN8i7wWH9Wc1mtV8081MTIcLFPYIpQOKYPI4qXXU0a 5UWmzlXY8XWx/CH38QhBN7w19kZuy6qvPmqbH+0/uLxzEIRipaIKyQKI+V8WMIJZ9hxH 5EVA== X-Gm-Message-State: AOAM530qcjcTI2Fnrb2ASfYM0kkqeG97n4sWZpjIsDljEWRufU3BbjSc Ye2FPRzyphIy01tKiEk4pqd6fbt5T/3j+w== X-Received: by 2002:adf:e84e:: with SMTP id d14mr8857302wrn.190.1606469073543; Fri, 27 Nov 2020 01:24:33 -0800 (PST) Received: from ziggy.stardust ([213.195.126.134]) by smtp.gmail.com with ESMTPSA id a1sm13693423wrv.61.2020.11.27.01.24.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 27 Nov 2020 01:24:32 -0800 (PST) Subject: Re: [PATCH v6 1/1] arm64: dts: Add Mediatek SoC MT8192 and evaluation board dts and Makefile To: Seiya Wang , Rob Herring Cc: linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, srv_heupstream@mediatek.com References: <20201030092207.26488-1-seiya.wang@mediatek.com> <20201030092207.26488-2-seiya.wang@mediatek.com> From: Matthias Brugger Message-ID: Date: Fri, 27 Nov 2020 10:24:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <20201030092207.26488-2-seiya.wang@mediatek.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30/10/2020 10:22, Seiya Wang wrote: > Add basic chip support for Mediatek MT8192 > > Signed-off-by: Seiya Wang > --- > arch/arm64/boot/dts/mediatek/Makefile | 1 + > arch/arm64/boot/dts/mediatek/mt8192-evb.dts | 29 ++ > arch/arm64/boot/dts/mediatek/mt8192.dtsi | 512 ++++++++++++++++++++++++++++ > 3 files changed, 542 insertions(+) > create mode 100644 arch/arm64/boot/dts/mediatek/mt8192-evb.dts > create mode 100644 arch/arm64/boot/dts/mediatek/mt8192.dtsi Applied to v5.10-next/dts64 Thanks! > > diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile > index 3ee682c266cc..b431ee2d6cac 100644 > --- a/arch/arm64/boot/dts/mediatek/Makefile > +++ b/arch/arm64/boot/dts/mediatek/Makefile > @@ -12,4 +12,5 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-elm-hana-rev7.dtb > dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-evb.dtb > dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-evb.dtb > dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku176.dtb > +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-evb.dtb > dtb-$(CONFIG_ARCH_MEDIATEK) += mt8516-pumpkin.dtb > diff --git a/arch/arm64/boot/dts/mediatek/mt8192-evb.dts b/arch/arm64/boot/dts/mediatek/mt8192-evb.dts > new file mode 100644 > index 000000000000..0205837fa698 > --- /dev/null > +++ b/arch/arm64/boot/dts/mediatek/mt8192-evb.dts > @@ -0,0 +1,29 @@ > +// SPDX-License-Identifier: (GPL-2.0 OR MIT) > +/* > + * Copyright (C) 2020 MediaTek Inc. > + * Author: Seiya Wang > + */ > +/dts-v1/; > +#include "mt8192.dtsi" > + > +/ { > + model = "MediaTek MT8192 evaluation board"; > + compatible = "mediatek,mt8192-evb", "mediatek,mt8192"; > + > + aliases { > + serial0 = &uart0; > + }; > + > + chosen { > + stdout-path = "serial0:921600n8"; > + }; > + > + memory@40000000 { > + device_type = "memory"; > + reg = <0 0x40000000 0 0x80000000>; > + }; > +}; > + > +&uart0 { > + status = "okay"; > +}; > diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi > new file mode 100644 > index 000000000000..e12e024de122 > --- /dev/null > +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi > @@ -0,0 +1,512 @@ > +// SPDX-License-Identifier: (GPL-2.0 OR MIT) > +/* > + * Copyright (C) 2020 MediaTek Inc. > + * Author: Seiya Wang > + */ > + > +/dts-v1/; > +#include > +#include > +#include > + > +/ { > + compatible = "mediatek,mt8192"; > + interrupt-parent = <&gic>; > + #address-cells = <2>; > + #size-cells = <2>; > + > + clk26m: oscillator0 { > + compatible = "fixed-clock"; > + #clock-cells = <0>; > + clock-frequency = <26000000>; > + clock-output-names = "clk26m"; > + }; > + > + clk32k: oscillator1 { > + compatible = "fixed-clock"; > + #clock-cells = <0>; > + clock-frequency = <32768>; > + clock-output-names = "clk32k"; > + }; > + > + cpus { > + #address-cells = <1>; > + #size-cells = <0>; > + > + cpu0: cpu@0 { > + device_type = "cpu"; > + compatible = "arm,cortex-a55"; > + reg = <0x000>; > + enable-method = "psci"; > + clock-frequency = <1701000000>; > + next-level-cache = <&l2_0>; > + capacity-dmips-mhz = <530>; > + }; > + > + cpu1: cpu@100 { > + device_type = "cpu"; > + compatible = "arm,cortex-a55"; > + reg = <0x100>; > + enable-method = "psci"; > + clock-frequency = <1701000000>; > + next-level-cache = <&l2_0>; > + capacity-dmips-mhz = <530>; > + }; > + > + cpu2: cpu@200 { > + device_type = "cpu"; > + compatible = "arm,cortex-a55"; > + reg = <0x200>; > + enable-method = "psci"; > + clock-frequency = <1701000000>; > + next-level-cache = <&l2_0>; > + capacity-dmips-mhz = <530>; > + }; > + > + cpu3: cpu@300 { > + device_type = "cpu"; > + compatible = "arm,cortex-a55"; > + reg = <0x300>; > + enable-method = "psci"; > + clock-frequency = <1701000000>; > + next-level-cache = <&l2_0>; > + capacity-dmips-mhz = <530>; > + }; > + > + cpu4: cpu@400 { > + device_type = "cpu"; > + compatible = "arm,cortex-a76"; > + reg = <0x400>; > + enable-method = "psci"; > + clock-frequency = <2171000000>; > + next-level-cache = <&l2_1>; > + capacity-dmips-mhz = <1024>; > + }; > + > + cpu5: cpu@500 { > + device_type = "cpu"; > + compatible = "arm,cortex-a76"; > + reg = <0x500>; > + enable-method = "psci"; > + clock-frequency = <2171000000>; > + next-level-cache = <&l2_1>; > + capacity-dmips-mhz = <1024>; > + }; > + > + cpu6: cpu@600 { > + device_type = "cpu"; > + compatible = "arm,cortex-a76"; > + reg = <0x600>; > + enable-method = "psci"; > + clock-frequency = <2171000000>; > + next-level-cache = <&l2_1>; > + capacity-dmips-mhz = <1024>; > + }; > + > + cpu7: cpu@700 { > + device_type = "cpu"; > + compatible = "arm,cortex-a76"; > + reg = <0x700>; > + enable-method = "psci"; > + clock-frequency = <2171000000>; > + next-level-cache = <&l2_1>; > + capacity-dmips-mhz = <1024>; > + }; > + > + cpu-map { > + cluster0 { > + core0 { > + cpu = <&cpu0>; > + }; > + core1 { > + cpu = <&cpu1>; > + }; > + core2 { > + cpu = <&cpu2>; > + }; > + core3 { > + cpu = <&cpu3>; > + }; > + }; > + > + cluster1 { > + core0 { > + cpu = <&cpu4>; > + }; > + core1 { > + cpu = <&cpu5>; > + }; > + core2 { > + cpu = <&cpu6>; > + }; > + core3 { > + cpu = <&cpu7>; > + }; > + }; > + }; > + > + l2_0: l2-cache0 { > + compatible = "cache"; > + next-level-cache = <&l3_0>; > + }; > + > + l2_1: l2-cache1 { > + compatible = "cache"; > + next-level-cache = <&l3_0>; > + }; > + > + l3_0: l3-cache { > + compatible = "cache"; > + }; > + }; > + > + pmu-a55 { > + compatible = "arm,cortex-a55-pmu"; > + interrupt-parent = <&gic>; > + interrupts = ; > + }; > + > + pmu-a76 { > + compatible = "arm,cortex-a76-pmu"; > + interrupt-parent = <&gic>; > + interrupts = ; > + }; > + > + psci { > + compatible = "arm,psci-1.0"; > + method = "smc"; > + }; > + > + timer: timer { > + compatible = "arm,armv8-timer"; > + interrupt-parent = <&gic>; > + interrupts = , > + , > + , > + ; > + clock-frequency = <13000000>; > + }; > + > + soc { > + #address-cells = <2>; > + #size-cells = <2>; > + compatible = "simple-bus"; > + ranges; > + > + gic: interrupt-controller@c000000 { > + compatible = "arm,gic-v3"; > + #interrupt-cells = <4>; > + #redistributor-regions = <1>; > + interrupt-parent = <&gic>; > + interrupt-controller; > + reg = <0 0x0c000000 0 0x40000>, > + <0 0x0c040000 0 0x200000>; > + interrupts = ; > + > + ppi-partitions { > + ppi_cluster0: interrupt-partition-0 { > + affinity = <&cpu0 &cpu1 &cpu2 &cpu3>; > + }; > + ppi_cluster1: interrupt-partition-1 { > + affinity = <&cpu4 &cpu5 &cpu6 &cpu7>; > + }; > + }; > + }; > + > + pio: pinctrl@10005000 { > + compatible = "mediatek,mt8192-pinctrl"; > + reg = <0 0x10005000 0 0x1000>, > + <0 0x11c20000 0 0x1000>, > + <0 0x11d10000 0 0x1000>, > + <0 0x11d30000 0 0x1000>, > + <0 0x11d40000 0 0x1000>, > + <0 0x11e20000 0 0x1000>, > + <0 0x11e70000 0 0x1000>, > + <0 0x11ea0000 0 0x1000>, > + <0 0x11f20000 0 0x1000>, > + <0 0x11f30000 0 0x1000>, > + <0 0x1000b000 0 0x1000>; > + reg-names = "iocfg0", "iocfg_rm", "iocfg_bm", > + "iocfg_bl", "iocfg_br", "iocfg_lm", > + "iocfg_lb", "iocfg_rt", "iocfg_lt", > + "iocfg_tl", "eint"; > + gpio-controller; > + #gpio-cells = <2>; > + gpio-ranges = <&pio 0 0 220>; > + interrupt-controller; > + interrupts = ; > + #interrupt-cells = <2>; > + }; > + > + systimer: timer@10017000 { > + compatible = "mediatek,mt8192-timer", > + "mediatek,mt6765-timer"; > + reg = <0 0x10017000 0 0x1000>; > + interrupts = ; > + clocks = <&clk26m>; > + clock-names = "clk13m"; > + }; > + > + uart0: serial@11002000 { > + compatible = "mediatek,mt8192-uart", > + "mediatek,mt6577-uart"; > + reg = <0 0x11002000 0 0x1000>; > + interrupts = ; > + clocks = <&clk26m>, <&clk26m>; > + clock-names = "baud", "bus"; > + status = "disabled"; > + }; > + > + uart1: serial@11003000 { > + compatible = "mediatek,mt8192-uart", > + "mediatek,mt6577-uart"; > + reg = <0 0x11003000 0 0x1000>; > + interrupts = ; > + clocks = <&clk26m>, <&clk26m>; > + clock-names = "baud", "bus"; > + status = "disabled"; > + }; > + > + spi0: spi@1100a000 { > + compatible = "mediatek,mt8192-spi", > + "mediatek,mt6765-spi"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0 0x1100a000 0 0x1000>; > + interrupts = ; > + clocks = <&clk26m>, > + <&clk26m>, > + <&clk26m>; > + clock-names = "parent-clk", "sel-clk", "spi-clk"; > + status = "disabled"; > + }; > + > + spi1: spi@11010000 { > + compatible = "mediatek,mt8192-spi", > + "mediatek,mt6765-spi"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0 0x11010000 0 0x1000>; > + interrupts = ; > + clocks = <&clk26m>, > + <&clk26m>, > + <&clk26m>; > + clock-names = "parent-clk", "sel-clk", "spi-clk"; > + status = "disabled"; > + }; > + > + spi2: spi@11012000 { > + compatible = "mediatek,mt8192-spi", > + "mediatek,mt6765-spi"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0 0x11012000 0 0x1000>; > + interrupts = ; > + clocks = <&clk26m>, > + <&clk26m>, > + <&clk26m>; > + clock-names = "parent-clk", "sel-clk", "spi-clk"; > + status = "disabled"; > + }; > + > + spi3: spi@11013000 { > + compatible = "mediatek,mt8192-spi", > + "mediatek,mt6765-spi"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0 0x11013000 0 0x1000>; > + interrupts = ; > + clocks = <&clk26m>, > + <&clk26m>, > + <&clk26m>; > + clock-names = "parent-clk", "sel-clk", "spi-clk"; > + status = "disabled"; > + }; > + > + spi4: spi@11018000 { > + compatible = "mediatek,mt8192-spi", > + "mediatek,mt6765-spi"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0 0x11018000 0 0x1000>; > + interrupts = ; > + clocks = <&clk26m>, > + <&clk26m>, > + <&clk26m>; > + clock-names = "parent-clk", "sel-clk", "spi-clk"; > + status = "disabled"; > + }; > + > + spi5: spi@11019000 { > + compatible = "mediatek,mt8192-spi", > + "mediatek,mt6765-spi"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0 0x11019000 0 0x1000>; > + interrupts = ; > + clocks = <&clk26m>, > + <&clk26m>, > + <&clk26m>; > + clock-names = "parent-clk", "sel-clk", "spi-clk"; > + status = "disabled"; > + }; > + > + spi6: spi@1101d000 { > + compatible = "mediatek,mt8192-spi", > + "mediatek,mt6765-spi"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0 0x1101d000 0 0x1000>; > + interrupts = ; > + clocks = <&clk26m>, > + <&clk26m>, > + <&clk26m>; > + clock-names = "parent-clk", "sel-clk", "spi-clk"; > + status = "disabled"; > + }; > + > + spi7: spi@1101e000 { > + compatible = "mediatek,mt8192-spi", > + "mediatek,mt6765-spi"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0 0x1101e000 0 0x1000>; > + interrupts = ; > + clocks = <&clk26m>, > + <&clk26m>, > + <&clk26m>; > + clock-names = "parent-clk", "sel-clk", "spi-clk"; > + status = "disabled"; > + }; > + > + i2c3: i2c3@11cb0000 { > + compatible = "mediatek,mt8192-i2c"; > + reg = <0 0x11cb0000 0 0x1000>, > + <0 0x10217300 0 0x80>; > + interrupts = ; > + clocks = <&clk26m>, <&clk26m>; > + clock-names = "main", "dma"; > + clock-div = <1>; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + }; > + > + i2c7: i2c7@11d00000 { > + compatible = "mediatek,mt8192-i2c"; > + reg = <0 0x11d00000 0 0x1000>, > + <0 0x10217600 0 0x180>; > + interrupts = ; > + clocks = <&clk26m>, <&clk26m>; > + clock-names = "main", "dma"; > + clock-div = <1>; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + }; > + > + i2c8: i2c8@11d01000 { > + compatible = "mediatek,mt8192-i2c"; > + reg = <0 0x11d01000 0 0x1000>, > + <0 0x10217780 0 0x180>; > + interrupts = ; > + clocks = <&clk26m>, <&clk26m>; > + clock-names = "main", "dma"; > + clock-div = <1>; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + }; > + > + i2c9: i2c9@11d02000 { > + compatible = "mediatek,mt8192-i2c"; > + reg = <0 0x11d02000 0 0x1000>, > + <0 0x10217900 0 0x180>; > + interrupts = ; > + clocks = <&clk26m>, <&clk26m>; > + clock-names = "main", "dma"; > + clock-div = <1>; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + }; > + > + i2c1: i2c1@11d20000 { > + compatible = "mediatek,mt8192-i2c"; > + reg = <0 0x11d20000 0 0x1000>, > + <0 0x10217100 0 0x80>; > + interrupts = ; > + clocks = <&clk26m>, <&clk26m>; > + clock-names = "main", "dma"; > + clock-div = <1>; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + }; > + > + i2c2: i2c2@11d21000 { > + compatible = "mediatek,mt8192-i2c"; > + reg = <0 0x11d21000 0 0x1000>, > + <0 0x10217180 0 0x180>; > + interrupts = ; > + clocks = <&clk26m>, <&clk26m>; > + clock-names = "main", "dma"; > + clock-div = <1>; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + }; > + > + i2c4: i2c4@11d22000 { > + compatible = "mediatek,mt8192-i2c"; > + reg = <0 0x11d22000 0 0x1000>, > + <0 0x10217380 0 0x180>; > + interrupts = ; > + clocks = <&clk26m>, <&clk26m>; > + clock-names = "main", "dma"; > + clock-div = <1>; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + }; > + > + i2c5: i2c5@11e00000 { > + compatible = "mediatek,mt8192-i2c"; > + reg = <0 0x11e00000 0 0x1000>, > + <0 0x10217500 0 0x80>; > + interrupts = ; > + clocks = <&clk26m>, <&clk26m>; > + clock-names = "main", "dma"; > + clock-div = <1>; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + }; > + > + i2c0: i2c0@11f00000 { > + compatible = "mediatek,mt8192-i2c"; > + reg = <0 0x11f00000 0 0x1000>, > + <0 0x10217080 0 0x80>; > + interrupts = ; > + clocks = <&clk26m>, <&clk26m>; > + clock-names = "main", "dma"; > + clock-div = <1>; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + }; > + > + i2c6: i2c6@11f01000 { > + compatible = "mediatek,mt8192-i2c"; > + reg = <0 0x11f01000 0 0x1000>, > + <0 0x10217580 0 0x80>; > + interrupts = ; > + clocks = <&clk26m>, <&clk26m>; > + clock-names = "main", "dma"; > + clock-div = <1>; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + }; > + }; > +}; >