From patchwork Sat May 6 11:54:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9714699 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 54AF360234 for ; Sat, 6 May 2017 12:12:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B91A26E69 for ; Sat, 6 May 2017 12:12:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4FF5F28675; Sat, 6 May 2017 12:12:57 +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 0B4BE26E69 for ; Sat, 6 May 2017 12:12:57 +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=ytnR7BbG2amqe8qdyx7bt/mss3ZOG/p2h3Au/qA51Iw=; b=Wk7isgHu8ZBIto54O58185qv0i Jl6nH3P/gaHoEXivNrHrrRriX2xv7bji7FWSv8i1N+pc4HJP4AZg9zdhtxHPbyaraytBDT0FTiWD2 YCGHbIqOykyFe76Z4dMfmE7fRJPqvtffQ5awP7ZifX1kwWgJII3edg+9a0ZqEIFFOGWFVf0XiqTbF +XcXJx8KNVf4/H46ONLgTbjQdsf5OMJbmDzd2PJN1rOyZi1K1EXWG7TLfVTRj6pAqB+2qmcGkIm9V XK+G8vIkJSdklCRN2l74trQMaIFdCa6Z8yQ61+6h2nosnZLsjuN1j8CJNBDOULY03gFm9BSUwFUTp NL9vfmNw==; 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 1d6ya0-0007wj-12; Sat, 06 May 2017 12:12:56 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d6yZo-0007k7-IS for linux-arm-kernel@bombadil.infradead.org; Sat, 06 May 2017 12:12:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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=rn2C1d2Wz5bM39FhyPDWG/1eAp6mXnfAi7iJMVZUfo8=; b=jO4RE0TLPqt1KmidhWB+9rxeZ WytDfzcWIAWOtKxZqt0Bpaxy9dvLKq3IG3nR5AO9h0fxM7ZK0Df0zJFQD//GvYtCE5mqpIvFAo6d3 sO0q2rngilBV9dvNitM3AI/+v6sOUEc3diDHv+fYaeXtOtFySWLNuTJTe0G5WMEI4ChhbcHFWnyxW IGUmn3yeq0DFbqeJMfC1Mx5y1RSMqAY8mTrzGXv+pZgfe+7xrK4vJIrkPimDyR9xTyUn5Dbb59Zk/ /2hbHryT8dBL9+tabM5QON2MCEz34tBdHLVlKqUgFJuDmPgSa06P1MJ0zjCbAinx5Q4va4SWnrJzp 5PMbLeu7A==; Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d6yN9-0006ac-Qu for linux-arm-kernel@lists.infradead.org; Sat, 06 May 2017 11:59:40 +0000 Received: by mail-wm0-x231.google.com with SMTP id 142so25273358wma.1 for ; Sat, 06 May 2017 04:59:19 -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=rn2C1d2Wz5bM39FhyPDWG/1eAp6mXnfAi7iJMVZUfo8=; b=SPKlqvSz/oSo/2VNpDs/1iU+DcuWBDa0PXAbmscmwxpbJF611UD14Fpamnp210Zs/b 3faqZ0Se3zXkElVUDtuzixUBCAFfpl+KlwlUUxnYqQkLX/tnSSdG7QdrG+RZ9J0mVZ8k 7SgUesIHI3+qUYCxBvN3dXMXhP/HWAospjaXQ= 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=rn2C1d2Wz5bM39FhyPDWG/1eAp6mXnfAi7iJMVZUfo8=; b=Ff2QUTS6YcxLBFD7Jwenmv19UGJ3gKosiq/UsGZCPxxrcOWcvfZCWF33mwuLXYJXmz ttFePodnCLzQzCHtbvM17I/A0jEyTnc5DUJTcuozztLpDuVBDTZJBFJHftPbqoo5Eax+ sFQqcJuk0No2PaayOTV/RErNwtP80l96e340WMhglT6eEYjlGN9ryJUnAlf1FzyDHWTB icojowPABTugzczfeuPEp+ZJo5//+Ayf5rTY3SigbxKdZF8FHphfLHz0RkbKOj4XMP0s 5lF3RY2zH1HzKPVynHm6f6XRueMVm7JC6CsJ1rnZ8aNkOq0GkhdZ+uiC+4MftS9UfgQL Yn+w== X-Gm-Message-State: AN3rC/7Vi1uuHa1CWqJN9vdle3rKGbDJ/x1o5CTEHbrgwlKBqyG53bob BczqQ0hzRwPEwwKY X-Received: by 10.28.48.11 with SMTP id w11mr7376775wmw.77.1494071837664; Sat, 06 May 2017 04:57:17 -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 8sm7775789wrb.55.2017.05.06.04.57.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 06 May 2017 04:57:17 -0700 (PDT) From: Anup Patel To: Rob Herring , Mark Rutland , Michael Turquette Subject: [PATCH 09/11] arm64: dts: Add I2C DT nodes for Stingray SoC Date: Sat, 6 May 2017 17:24:44 +0530 Message-Id: <1494071686-19098-10-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1494071686-19098-1-git-send-email-anup.patel@broadcom.com> References: <1494071686-19098-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170506_075940_000263_6081DBAD X-CRM114-Status: UNSURE ( 9.70 ) 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, Pramod Kumar , Srinath Mannam , linux-arm-kernel@lists.infradead.org, Ray Jui , bcm-kernel-feedback-list@broadcom.com, linux-clk@vger.kernel.org, Oza Pawandeep 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 6014525..3250d09 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/bcm958742-base.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/bcm958742-base.dtsi @@ -63,6 +63,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 fb51473..d046b04 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi @@ -266,6 +266,16 @@ gpio-controller; }; + i2c0: i2c@689b0000 { + compatible = "brcm,iproc-i2c"; + reg = <0x689b0000 0x100>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + clock-frequency = <100000>; + status = "disabled"; + }; + gpio_hsls: gpio@689d0000 { compatible = "brcm,iproc-gpio"; reg = <0x689d0000 0x864>; @@ -292,6 +302,16 @@ <&pinmux 151 91 4>; }; + i2c1: i2c@689e0000 { + compatible = "brcm,iproc-i2c"; + reg = <0x689e0000 0x100>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + clock-frequency = <100000>; + status = "disabled"; + }; + uart0: uart@68a00000 { device_type = "serial"; compatible = "snps,dw-apb-uart";