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: 9714665 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 6D02660387 for ; Sat, 6 May 2017 11:57:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 79C4F2863C for ; Sat, 6 May 2017 11:57:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6B6D0286B3; Sat, 6 May 2017 11:57: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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 034572863C for ; Sat, 6 May 2017 11:57:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752511AbdEFL5q (ORCPT ); Sat, 6 May 2017 07:57:46 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:37049 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754885AbdEFL5T (ORCPT ); Sat, 6 May 2017 07:57:19 -0400 Received: by mail-wm0-f44.google.com with SMTP id m123so25283976wma.0 for ; Sat, 06 May 2017 04:57:18 -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=Q5OUfcxYFE5gJyQY6Ktwnw2LCAnriOJaKKASVvFcCEkH6LyFU0kNAZPShvXJwDp2fo H5G4rYVI0PjfyXqTDTNH11xDyQwXnz9AC9+wD++uwdFEWVPhbE4PAo7FrilJGnvtYO+X DGAzggpe0RlliPLIrzbRUTs/Uk2boileceJxpHIqbNRwb7bLKzHlqjhhO5rT7pR6pJCK 1rz2g45J4JD49reuuBY84MJh/8s4mRZ8SPAbWVSYgLuRzZg5iK/lmidhYhquJRa8xkt6 4xPSBlW+IkUdKjVz2MQ2xZjET1w4rSzm5lq62qMhZr4fHVg/hnLbijkiAsyTENSoSEfC /yhw== X-Gm-Message-State: AN3rC/5mLKMoNy/1fNLlLeG03PeOMvAq2Lbb1z40yFZ24aUuQZD82OHH x/v9V6UBV+t/B+j0 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 Cc: Catalin Marinas , Will Deacon , Ray Jui , Scott Branden , Jon Mason , Florian Fainelli , Oza Pawandeep , Srinath Mannam , Pramod Kumar , Sandeep Tripathy , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com 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> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.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";