From patchwork Fri May 26 09:25:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9750225 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 A797960249 for ; Fri, 26 May 2017 09:29:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E6EF22B27 for ; Fri, 26 May 2017 09:29:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9317F27FBC; Fri, 26 May 2017 09:29:47 +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 1CB7422B27 for ; Fri, 26 May 2017 09:29:47 +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=L14lbwKy3V8/BPQRTTGjFOnV8znILrpCLZAwGUiTtJw=; b=NNNBip+TPUzeSiwYJj8h9/xBWu LuFhAPNm8+cmWNT4bhUja+nqXolxJ9vRfT1JsuC54yQ7BpClFEX9UE5uD/z6ziYR+sc8Z47Kprnyb eXn3apVL3DQO8VpD4006K8ybXPPsctealWSskeTV9vj486NK1iDjBj17mkYaTfkbbQojVpcyxXxvp m+I6SvYkeyXKxdm/5zQ6/S3iyMYRYk+pVjud/cmT+LTosc96Kbw9RMIhZ+l7m/KsMQMcfNFUbA7mD uG4LcWgDDBLyRmx8ktMGHOKeM/gSzTGtUMokrEvg870Xil6bdY8ILYksaYRWB86eXw8ZkVuczkTx0 Cb6zfWdg==; 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 1dEBZ3-0005gy-Ct; Fri, 26 May 2017 09:29:45 +0000 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dEBX9-0003T5-27 for linux-arm-kernel@lists.infradead.org; Fri, 26 May 2017 09:27:55 +0000 Received: by mail-wm0-x22f.google.com with SMTP id m7so4790015wmg.0 for ; Fri, 26 May 2017 02:27:26 -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=CX2VGW0up3XlkNHwmI9cji/L8xltghGZsDVZHSSYWxs=; b=RmLO/Vv3FVv8W1wqo8DEWd5yd6HgcbWCbTcLR7GrdmieMcTSp3ZtbvrbPXYf0EyCdL l8BafyFAGInvC0Zj+UeAtHcpIiA9TGx1Qm4djlWgNBCRg1bypjSh7HKCEfLOPAPjDvMZ mnHkFzu2nucFxB/GQ+6fNRZ4EBiWTZn6KE6Jw= 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=CX2VGW0up3XlkNHwmI9cji/L8xltghGZsDVZHSSYWxs=; b=gLAS7L9Wdc6/Kc0+UoccV35gFR00X48vbImuDBrRmit+3frECORp4JEqxV6vb1wQtG gMq1dnuSWw+Vv/9f/+//UH8EYnUAoynd59SCdv0kZLB5KtKyGIOYEVmAL1gs0LfvExD6 HeyaWd0IWL+/TV/26OWr31Q3H9u39mWkVL9dTzOY4xM6uruAq9WKQa6VLMtJFWpIp/1n Qc7Hc8xLno77p3hmP6UVHSvilqmAA/Mtz/6EJ0fToTefdO59HNZR3NS90towwWcoqMma KU+vc0GLkpjQ1YEDA1yuLyOpOldVtC7TN8wwbrGPZCYfoQmh5pbZrIZ7CL0+nofi7ZpS Rexg== X-Gm-Message-State: AODbwcDCC6hJgZ70+Jb2fLncLA6yaV65tUgsTAlvodx7JMZ+MO8hrH6z cPzfQMpw5uUOxy8V X-Received: by 10.28.23.131 with SMTP id 125mr12207220wmx.42.1495790845147; Fri, 26 May 2017 02:27:25 -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 v62sm5832259wmv.15.2017.05.26.02.27.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 May 2017 02:27:24 -0700 (PDT) From: Anup Patel To: Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd Subject: [PATCH v5 09/11] arm64: dts: Add I2C DT nodes for Stingray SoC Date: Fri, 26 May 2017 14:55:02 +0530 Message-Id: <1495790704-2438-10-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1495790704-2438-1-git-send-email-anup.patel@broadcom.com> References: <1495790704-2438-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170526_022747_926236_6A0ED1CE X-CRM114-Status: UNSURE ( 9.94 ) X-CRM114-Notice: Please train this message. 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 aad45a2..ff59a26 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/bcm958742-base.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/bcm958742-base.dtsi @@ -54,6 +54,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 059086f..8a077ff 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi @@ -269,6 +269,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>; @@ -295,6 +305,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";