Message ID | 20221106085034.12582-7-linux@fw-web.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1397569wru; Sun, 6 Nov 2022 01:51:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5HeCDWbyzY6VWRzBTO5tx6oTu6WN4C1B9K05JZ4RAgbZOT+r9zd1SiJWmVvbgegP+4g/p4 X-Received: by 2002:a63:4ca:0:b0:457:e41:c767 with SMTP id 193-20020a6304ca000000b004570e41c767mr614800pge.244.1667724693104; Sun, 06 Nov 2022 01:51:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667724693; cv=none; d=google.com; s=arc-20160816; b=z76fSKglmjKg61+DoFCmLBunSsVAd+9IN1KA0+/Ri+PkXvHOEIODg60k7eQzNfoSuw zEXA6EzPe0xIl4mOm2pQZ6dTURElytR5H2a2oTEBIPX1nsC36KDkCDspyOs4xtP5U7xb LXxE2QdYl0Xe5ggzhe4dHDZeQ8brlYz2qzWh3C1NGrh9eq75+a8CUP5kHvuvhRRtdlcF zOG4FOSvPItBKsrwc9pVWbp826thQ7hDBLSWtMUeiVqCawY92nxGelheUo0RsRy2xfYl 7MFxHLCo0cV2Wco/nvGGVT/BEE4Ao7Isg722Yf+PqM+JlvEnzq/ntxqcZBSnsrOK63DF MsCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8iyCtYf/S4Xy39ojyQ6Mk9mNXir36Uajzk5LIv0/AQQ=; b=Zdy74kYk9oTOYsoQPB36mPuUeUD8FzAOqNYhPCzHf2h7+NL2ufm6SvR5MfFdTFgsvE E6W6azxkFsHa2TzD0SayfO+K/r91cjPXSRWbJafsVhD/6gj1jlzZ/uxvaFz/Y2YbBCoJ P3vw98iXwn+RkQo5KDqg7U+LOl/dITJ3Zjg0D4G9JxWiV05scRvQDVBikjNieNB6UEI1 7THiOnmCpOvLAaLFje02uXgUXKnSaZ7nN1Y/Gnnr/NOb9JtPPfieiS/KyVejZVspBUsc woFYRS8wvRR7jRltLqDJLHlq58CcKtByWOhETptb+jBZxaozEKS245LuwhcXTi5ODL3W 25lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=dYv65eJw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h12-20020a63530c000000b00464ee7492adsi6161334pgb.722.2022.11.06.01.51.20; Sun, 06 Nov 2022 01:51:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=dYv65eJw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229841AbiKFIu4 (ORCPT <rfc822;hjfbswb@gmail.com> + 99 others); Sun, 6 Nov 2022 03:50:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbiKFIur (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 6 Nov 2022 03:50:47 -0500 Received: from mxout2.routing.net (mxout2.routing.net [IPv6:2a03:2900:1:a::b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E982EE21; Sun, 6 Nov 2022 01:50:45 -0700 (PDT) Received: from mxbox3.masterlogin.de (unknown [192.168.10.78]) by mxout2.routing.net (Postfix) with ESMTP id 1EDDD5FDE8; Sun, 6 Nov 2022 08:50:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1667724644; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8iyCtYf/S4Xy39ojyQ6Mk9mNXir36Uajzk5LIv0/AQQ=; b=dYv65eJwqY6uRrSaPOfN5QWvdG/NrMFLXSyhFXAGGcyXpmomNN2jphTZlOVcqg0AyB5rAT GXi4pcYNyZLWtVl3SsWY1oUWX+2P5ADoENJ9jRJva293UnvpqH5yzf2hxTrgZl0V+Gv7cI VmbIIekzEk+dq39MR5s9QRm1sagM7TU= Received: from frank-G5.. (fttx-pool-80.245.79.199.bambit.de [80.245.79.199]) by mxbox3.masterlogin.de (Postfix) with ESMTPSA id 45BED360707; Sun, 6 Nov 2022 08:50:43 +0000 (UTC) From: Frank Wunderlich <linux@fw-web.de> To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich <frank-w@public-files.de>, Matthias Brugger <matthias.bgg@gmail.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC v3 06/11] arm64: dts: mt7986: add i2c node Date: Sun, 6 Nov 2022 09:50:29 +0100 Message-Id: <20221106085034.12582-7-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221106085034.12582-1-linux@fw-web.de> References: <20221106085034.12582-1-linux@fw-web.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mail-ID: a0a1a384-5582-43d5-9121-0ae405ecdabb X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748736087833314876?= X-GMAIL-MSGID: =?utf-8?q?1748736087833314876?= |
Series |
Add BananaPi R3
|
|
Commit Message
Frank Wunderlich
Nov. 6, 2022, 8:50 a.m. UTC
From: Frank Wunderlich <frank-w@public-files.de> Add i2c Node to mt7986 devicetree. Signed-off-by: Frank Wunderlich <frank-w@public-files.de> --- arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
Comments
On 06/11/2022 09:50, Frank Wunderlich wrote: > From: Frank Wunderlich <frank-w@public-files.de> > > Add i2c Node to mt7986 devicetree. > > Signed-off-by: Frank Wunderlich <frank-w@public-files.de> Applied, thanks > --- > arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi > index 32c26b239ae6..a1a788db113a 100644 > --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi > @@ -261,6 +261,20 @@ uart2: serial@11004000 { > 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"; > + }; > + > ssusb: usb@11200000 { > compatible = "mediatek,mt7986-xhci", > "mediatek,mtk-xhci";
diff --git a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi index 32c26b239ae6..a1a788db113a 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi @@ -261,6 +261,20 @@ uart2: serial@11004000 { 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"; + }; + ssusb: usb@11200000 { compatible = "mediatek,mt7986-xhci", "mediatek,mtk-xhci";