From patchwork Tue May 16 11:30:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9728955 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 4DD43602DB for ; Tue, 16 May 2017 11:33:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3F6FE28A19 for ; Tue, 16 May 2017 11:33:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3422428A1C; Tue, 16 May 2017 11:33:53 +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 CC16F28A19 for ; Tue, 16 May 2017 11:33:52 +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=jXcddGOkux43Qbv6tqQJMq/zZK qyu91guM91Q9o04JW5nrppUuKYLsXYwnferxzgc3wkHQB7GAN5yl2f3Np7MHiKVp9dPSp0oYv4bqI I8sjduy+Ebycbq4CBKmS547lugAC14dh6bUgOetoDHotK5T8pOi55gBOqiJnmGSi8ELn2GIUeu+RF /G3HWshkMsTfNOH21iLYcpoYROyeG7e1IzHD+NcW8I+qppOHcw5xNsYbIrltlQ+4ziADluddEvpXl 8+PTq2DxluJ2EvldAViWXt9yPt9Dj7CNnzi1S5fslINWGOjBji183SHQ+gXM5fcUM7QbDbGQOkRpo 5sTNl99A==; 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 1dAaje-000179-MD; Tue, 16 May 2017 11:33:50 +0000 Received: from mail-qk0-x22d.google.com ([2607:f8b0:400d:c09::22d]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dAajK-0000Kh-75 for linux-arm-kernel@lists.infradead.org; Tue, 16 May 2017 11:33:35 +0000 Received: by mail-qk0-x22d.google.com with SMTP id a72so125064949qkj.2 for ; Tue, 16 May 2017 04:33:09 -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=TPDRnwtg20gHi7BUZzNmn/TBC8fdT3k/fzC6A0VpD3B7b0F4DbInvoZs8k2VOaRIbV SaWPpjYZ1B2SlLArWhztu4Ca1MGbIAjanL6RayXkpGwUaZ5BNKGhm5Wgc7X8bBSR90hn q3/P1OSMlwjHBHgr9EgNvKkGmbN3fJBCsLOTY= 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=QTz33RvVZ6qQHbzuj0u3PNWSN8+V5RPQO7NyxLFqyKqnBYx42Ki/8AOTkCEVR2vDGz qkgtFoeUPo23Hkr6nykdVmAEYWvdWe/PIeaKo6Uh2kx8Cv+T2BECGSSjyA39KEnRCUph V66YAsusWs8s6mICTGJdZU9R98mBV0/N7uHvcTuyUr2rGYrHnCvu4wqrukFbD2SUJ1P8 jewicuVgTOlfcKgJIwY0NVyLj/OADxfk7HLrgB8ZQJoWUOe8GM40fTKHQomxDJB/2nEj ClP/IC2604ogc1aUTPQRHYRW/Px72JNBPBLiiFUjpXtEpWCvpCmwb+iszcvshyBUEcWZ w1Qg== X-Gm-Message-State: AODbwcDet7oRAtbwYOCvvW175zLh6vE+hr/b3dubOx+PifJg3RA8gf+S Sk49e6ZI65FaaWz0 X-Received: by 10.55.9.141 with SMTP id 135mr9178956qkj.20.1494934388867; Tue, 16 May 2017 04:33:08 -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 c142sm10417866qkb.10.2017.05.16.04.33.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 May 2017 04:33:08 -0700 (PDT) From: Anup Patel To: Rob Herring , Mark Rutland , Michael Turquette Subject: [PATCH v3 09/11] arm64: dts: Add I2C DT nodes for Stingray SoC Date: Tue, 16 May 2017 17:00:54 +0530 Message-Id: <1494934256-1350-10-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1494934256-1350-1-git-send-email-anup.patel@broadcom.com> References: <1494934256-1350-1-git-send-email-anup.patel@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170516_043331_070035_A5813246 X-CRM114-Status: GOOD ( 10.18 ) 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";