From patchwork Wed May 11 23:19:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 9075931 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A7DD1BF29F for ; Wed, 11 May 2016 23:21:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DD3C22017D for ; Wed, 11 May 2016 23:21:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 220CA20148 for ; Wed, 11 May 2016 23:21:08 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b0dQ2-0002PW-M2; Wed, 11 May 2016 23:19:54 +0000 Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b0dPq-0002KP-0c for linux-arm-kernel@lists.infradead.org; Wed, 11 May 2016 23:19:42 +0000 Received: by mail-pf0-x22c.google.com with SMTP id 206so23606308pfu.0 for ; Wed, 11 May 2016 16:19:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=WCdnU1oZyRTey0eWVr2EklDk6C4igFC9O03exXxpzZo=; b=QpmirLjbepG+HI+/oHtm1KN7g9+L3p9lhikbpl+OYfM/oB0dhu5Bj2AVE3Ojp8yoKK CaabViH+JkwwiAnfljPk763+p7NOuWtgM3FKqa1NHxBshSWsoa0Xuo2BuHtzSyxmSaR9 X8vtCBApdTB0PgKNBmcpnkGHc0pxWLcIEkEUE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=WCdnU1oZyRTey0eWVr2EklDk6C4igFC9O03exXxpzZo=; b=fFCAhSXyCn8+d7uw5TM0D9+xwdpVdxtgtlPbGPQaElkhBzo11iMSKnruNuMTn5z+7F Xc/bBbgu1UvvMZlYkmSOAv4IFt92D26Sk/A2Mei6kOaAoYXtyJCqV4/13Xv9WA6MoPH+ R4mer8f2cRpisNX9nnVzD4nTACs55aPzx+L80VNRqMwBt6VJkwg8WoXUcfShBuiOH7B8 H7O/+c/oYbR6wW3usvTweqQr20Yt/Kwk7WC3sdj9ZNZLuU1Rzfq//ob6CalabRvNIU+W mf9EQbNmVCAv3+U3FNCn1nEpOqbc0Lu6wtH0FV1Vauh2vLC34eSstHFlzpxZqPZosrCP sHnw== X-Gm-Message-State: AOPr4FWbsBnFifdPyDgy3ykJjykmNsxvsbuqrblBez3cTiU4FEXMUgsUvK3jAULm0oBOVz2E X-Received: by 10.98.38.196 with SMTP id m187mr8778878pfm.57.1463008761355; Wed, 11 May 2016 16:19:21 -0700 (PDT) Received: from venom.rtp.broadcom.com ([216.31.219.19]) by smtp.gmail.com with ESMTPSA id m190sm14744331pfm.29.2016.05.11.16.19.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 May 2016 16:19:20 -0700 (PDT) From: Jon Mason X-Google-Original-From: Jon Mason To: Florian Fainelli , Arnd Bergmann , Hauke Mehrtens , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala Subject: [PATCH v2 2/3] ARM: dts: bcm5301x: Add I2C support to the DT Date: Wed, 11 May 2016 19:19:09 -0400 Message-Id: <1463008750-13902-3-git-send-email-jonmason@broadcom.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1463008750-13902-1-git-send-email-jonmason@broadcom.com> References: <1463008750-13902-1-git-send-email-jonmason@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160511_161942_177445_3084E0CD X-CRM114-Status: GOOD ( 12.61 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add I2C support to the bcm5301x Device Tree. Since no driver changes are needed to enable this hardware, only the device tree changes are required to make this functional. Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm5301x.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi index 4b9887f..ffc4a9b 100644 --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi @@ -218,6 +218,15 @@ }; }; + i2c0: i2c@18009000 { + compatible = "brcm,iproc-i2c"; + reg = <0x18009000 0x50>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <100000>; + }; + lcpll0: lcpll0@1800c100 { #clock-cells = <1>; compatible = "brcm,nsp-lcpll0";