From patchwork Mon May 15 12:02:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9726847 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 63FF66028A for ; Mon, 15 May 2017 12:20:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 55B8128987 for ; Mon, 15 May 2017 12:20:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4A6B82898C; Mon, 15 May 2017 12:20:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D885E2898F for ; Mon, 15 May 2017 12:20:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=AgZzRclz6V9U2zTwlNGUOynrih49owPrK7CGhCVeSgg=; b=jAdJQdMYQlq880lKS6FtxQUrPo i2mJiB4ONyhCiFzGIdVp8erOmguzyVvdxY/yylcpwpWKWKmgkL49nrKwOCRHPNCbOqdy3NYKnz7lT Mcu4Avjr+ia1tDCzAiXjWtt7TgMnR5D4Vw4AjuuhN5bP8kl8NGK5iJBb2jsFynLJ3MGG3vLN/r9sN 7tdpsJDgDO3Z9yBG+Nnh3PSUg0rdbaEmGsZmHwQ44UHQNeVfNc5A2LB+VSySjGQ8AtpgC/2c695CG YlYHbV1WfC8/qCBZscmy2xkBWJOSEKqLOX6+p1iXOrHGmGoJwV244TK84/sc0T9Bfho3QufRKzFsn Q3aAvgMQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dAEz0-0001Sp-MF; Mon, 15 May 2017 12:20:14 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dAEyy-0008Rt-Nx for linux-arm-kernel@bombadil.infradead.org; Mon, 15 May 2017 12:20:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=QxZKP1awE3mLSAi96r/f8FpSch0PDLBdjBH3WiAY2YA=; b=XVOP/s7v6uOdQZKvPHHaC09ha WqXTyhVzvgGB6hNHAnkx9bFx/AsRBv7A4HGjQdq9Y6OAhvAdogLHIV3iPzjOKOZQpeXp5ajJah+gP q+k+LdR5x8KLQpERoDujFdh5yxJGQSxG+iigmDBD+5y/2R7nVlF3plD4KFlZ5NLn1HMfSHTV3gs2e 7cC1+1Sz7SZOplS5G5j45wi11Ow8OE9VHkMRgl0zv14vJpGreS5Wd5Oeco+yHZ6JcrrJwTFyngTB/ QXCd6O5Jot/cLOmTffNdA4bFIO4cV/yDAa8w19TDhaZuJ7PnBMS+RTJ26jErqv3Ub+/rX5X65IQTl SHddXhP5A==; Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dAEjI-0006WP-7L for linux-arm-kernel@lists.infradead.org; Mon, 15 May 2017 12:04:04 +0000 Received: by mail-pf0-x232.google.com with SMTP id e193so62010036pfh.0 for ; Mon, 15 May 2017 05:03:39 -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=QxZKP1awE3mLSAi96r/f8FpSch0PDLBdjBH3WiAY2YA=; b=F74reLJ4HSZ7eHx7pKgsYcHTI3RHqsWvyAFgy4V8isAPVuq1GUP7k5HeVYCqgsy3ct QHWEbIHa4aAmXXEAvVld1dDIGleEL7nMHP+pJ2o/KklGiuhSpOMlb9pHLE0pmQbDjp5+ 94wyNcS2iItlGmONQhPE9k9TXp27NZ0co+igw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=QxZKP1awE3mLSAi96r/f8FpSch0PDLBdjBH3WiAY2YA=; b=ZMpmGhQTfBz3i7gc3kE/8Wc8B27rxNnO5je1sD1kkK+ibWbTR2TdThCARbOUhoss1d qJDFYfUEnflo9VMX7iAFzk9FeMuIY4I4hj0TCM5eOI4Sj4BZ5VUPLKp+VfXoohgGxyGd 8hWvEvlNdUspm0TcTI6lqJusUiqd+J1TVAv0weAXEZbRevLOS4h0oHtJN0STG3yGlzfI JqBf8VKF6YjrIcV2XW+xcG15ZJFXs/WQ6/o5uTRBLNgLzJTjrcf4LEBuc/R9EfNMS0ce osXzdnaurDgOO05At/omWmYWHP/JD1LqTicDHJ7mj9EhTcRWPQokDNSqmgVgrSAor0KE metg== X-Gm-Message-State: AODbwcBLFJteX3wZLSC7oa/iTO1y3NYz/rDwd/OTa9g4Jwrn9htS4BBm v528uYOJ/8dMfEAS X-Received: by 10.84.194.165 with SMTP id h34mr8026778pld.65.1494849818335; Mon, 15 May 2017 05:03:38 -0700 (PDT) Received: from anup-HP-Compaq-8100-Elite-CMT-PC.dhcp.avagotech.net ([192.19.237.250]) by smtp.gmail.com with ESMTPSA id m12sm4776572pgn.30.2017.05.15.05.03.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 May 2017 05:03:37 -0700 (PDT) From: Anup Patel To: Rob Herring , Mark Rutland , Michael Turquette Subject: [PATCH v2 09/11] arm64: dts: Add I2C DT nodes for Stingray SoC Date: Mon, 15 May 2017 17:32:19 +0530 Message-Id: <1494849741-21294-10-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1494849741-21294-1-git-send-email-anup.patel@broadcom.com> References: <1494849741-21294-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170515_130400_419567_64C8D4A8 X-CRM114-Status: GOOD ( 11.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Florian Fainelli , Sandeep Tripathy , Scott Branden , Jon Mason , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Pramod Kumar , Oza Pawandeep , Ray Jui , Srinath Mannam , linux-clk@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-Virus-Scanned: ClamAV using ClamSMTP From: Oza Pawandeep This patch adds I2C DT nodes on Stingray SoC. Signed-off-by: Oza Pawandeep Reviewed-by: Vikram Prakash Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- .../boot/dts/broadcom/stingray/bcm958742-base.dtsi | 22 ++++++++++++++++++++++ .../arm64/boot/dts/broadcom/stingray/stingray.dtsi | 20 ++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/stingray/bcm958742-base.dtsi b/arch/arm64/boot/dts/broadcom/stingray/bcm958742-base.dtsi index ce46224..e3f8c89 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/bcm958742-base.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/bcm958742-base.dtsi @@ -57,6 +57,28 @@ status = "okay"; }; +&i2c0 { + status = "okay"; + + pca9505: pca9505@20 { + compatible = "nxp,pca9505"; + gpio-controller; + #gpio-cells = <2>; + reg = <0x20>; + }; +}; + +&i2c1 { + status = "okay"; + + pcf8574: pcf8574@20 { + compatible = "nxp,pcf8574a"; + gpio-controller; + #gpio-cells = <2>; + reg = <0x27>; + }; +}; + &nand { status = "ok"; nandcs@0 { diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi index 2b24d07..476a6fa 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi @@ -274,6 +274,16 @@ #include "stingray-pinctrl.dtsi" + i2c0: i2c@689b0000 { + compatible = "brcm,iproc-i2c"; + reg = <0x000b0000 0x100>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + clock-frequency = <100000>; + status = "disabled"; + }; + gpio_hsls: gpio@689d0000 { compatible = "brcm,iproc-gpio"; reg = <0x000d0000 0x864>; @@ -300,6 +310,16 @@ <&pinmux 151 91 4>; }; + i2c1: i2c@689e0000 { + compatible = "brcm,iproc-i2c"; + reg = <0x000e0000 0x100>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + clock-frequency = <100000>; + status = "disabled"; + }; + uart0: uart@68a00000 { device_type = "serial"; compatible = "snps,dw-apb-uart";