Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6832403imu; Mon, 3 Dec 2018 03:38:43 -0800 (PST) X-Google-Smtp-Source: AFSGD/XulMtpQ0Ow7/JSDCqNKElN4f0tqtEEiYJuDtxqls1DuNtPHeMf0Z0h9mwoyqdoaiEKuHaR X-Received: by 2002:a63:e950:: with SMTP id q16mr12921166pgj.138.1543837123037; Mon, 03 Dec 2018 03:38:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543837123; cv=none; d=google.com; s=arc-20160816; b=dYnmkqGIci/cLr1t2RXt5QKCR2Bdix+YUKIISrQfMhBWZ/YNcfoxa9W7hrWnbVJ6az sRG9apmoEGwvleWQ8uYZDIFfRCzWo1GJOT3bLRq9hIy5iW9HcyM/dGqVctu4M8D0GD3z z2ALM6B+6uttCXgR4yu8MrHd0Oi2INxbKpXnkWyNyJNnLF3OEkEGXUDNDvDx1LLDgTEj +V/6y+vtNCr/zfh4loFUWgg7+b1MfME7sldx0585x1a2K2zwPkLsel2pnn1K8sFDXtGE cI/GHlgQUtykZ7hZvs1Iz81PyJsBP52J34W9HqpODouZlJwzE0758YngzME67emGx7s3 yVRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=s9ZbxwZ3ijjtJIU8hegcEUZ6XqE6pTuuhrm3edd1low=; b=B18EyKEAtyME9k8aLM38FdPxzXswnq+Sd9ZwWnnRt1b279LoKGAY95WQvp62xPY0sd xwxd0STixh/I/lqkQoflHcQya+zJUZYkrVRl0BjQ8pURiwkt9zGVxxbMm0MfpMr/Aaio R6ws+mMxC6Dpe2izKBa4j5xZbfdk2qeK12tJgWn6BMMhskWVSGT/+aNlS6kGXjpTS168 z/g1nJqXZYBYBrqs3kPdlS7TFYuscX7KvEJZnMNxAMDxArapHsu7I/wbkSqpMMxjshu8 DQpUnH9NXgLb01kbq5azB/XVEiauP8mX10BSPpLu+QrTW3AdntvwP76wOrAtqTloLLGU SktQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k186si12589580pgc.576.2018.12.03.03.38.28; Mon, 03 Dec 2018 03:38:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726470AbeLCLhP (ORCPT + 99 others); Mon, 3 Dec 2018 06:37:15 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:45117 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726369AbeLCLhO (ORCPT ); Mon, 3 Dec 2018 06:37:14 -0500 X-UUID: da348beae37b416282b040fc3653e230-20181203 X-UUID: da348beae37b416282b040fc3653e230-20181203 Received: from mtkmrs01.mediatek.inc [(172.21.131.159)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 2620837; Mon, 03 Dec 2018 19:36:26 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs03n1.mediatek.inc (172.21.101.181) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 3 Dec 2018 19:36:24 +0800 Received: from mtkslt301.mediatek.inc (10.21.14.114) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 3 Dec 2018 19:36:24 +0800 From: YT Shen To: Matthias Brugger CC: Rob Herring , Mark Rutland , , , , , , YT Shen Subject: [PATCH 3/8] arm64: dts: add i2c nodes for MT2712 Date: Mon, 3 Dec 2018 19:35:57 +0800 Message-ID: <1543836962-18293-4-git-send-email-yt.shen@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1543836962-18293-1-git-send-email-yt.shen@mediatek.com> References: <1543836962-18293-1-git-send-email-yt.shen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: YT Shen --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 90 +++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index d429770..7bac8b6 100644 --- a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi @@ -418,6 +418,96 @@ status = "disabled"; }; + i2c0: i2c@11007000 { + compatible = "mediatek,mt2712-i2c"; + reg = <0 0x11007000 0 0x90>, + <0 0x11000180 0 0x80>; + interrupts = ; + clock-div = <4>; + clocks = <&pericfg CLK_PERI_I2C0>, + <&pericfg CLK_PERI_AP_DMA>; + clock-names = "main", + "dma"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c1: i2c@11008000 { + compatible = "mediatek,mt2712-i2c"; + reg = <0 0x11008000 0 0x90>, + <0 0x11000200 0 0x80>; + interrupts = ; + clock-div = <4>; + clocks = <&pericfg CLK_PERI_I2C1>, + <&pericfg CLK_PERI_AP_DMA>; + clock-names = "main", + "dma"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c2: i2c@11009000 { + compatible = "mediatek,mt2712-i2c"; + reg = <0 0x11009000 0 0x90>, + <0 0x11000280 0 0x80>; + interrupts = ; + clock-div = <4>; + clocks = <&pericfg CLK_PERI_I2C2>, + <&pericfg CLK_PERI_AP_DMA>; + clock-names = "main", + "dma"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c3: i2c@11010000 { + compatible = "mediatek,mt2712-i2c"; + reg = <0 0x11010000 0 0x90>, + <0 0x11000300 0 0x80>; + interrupts = ; + clock-div = <4>; + clocks = <&pericfg CLK_PERI_I2C3>, + <&pericfg CLK_PERI_AP_DMA>; + clock-names = "main", + "dma"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c4: i2c@11011000 { + compatible = "mediatek,mt2712-i2c"; + reg = <0 0x11011000 0 0x90>, + <0 0x11000380 0 0x80>; + interrupts = ; + clock-div = <4>; + clocks = <&pericfg CLK_PERI_I2C4>, + <&pericfg CLK_PERI_AP_DMA>; + clock-names = "main", + "dma"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c5: i2c@11013000 { + compatible = "mediatek,mt2712-i2c"; + reg = <0 0x11013000 0 0x90>, + <0 0x11000100 0 0x80>; + interrupts = ; + clock-div = <4>; + clocks = <&pericfg CLK_PERI_I2C5>, + <&pericfg CLK_PERI_AP_DMA>; + clock-names = "main", + "dma"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + uart4: serial@11019000 { compatible = "mediatek,mt2712-uart", "mediatek,mt6577-uart"; -- 1.9.1