From patchwork Mon May 22 11:58:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9740013 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 D7BCA6034C for ; Mon, 22 May 2017 12:00:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBC7028641 for ; Mon, 22 May 2017 12:00:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AE6972867E; Mon, 22 May 2017 12:00:02 +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 38A17286D1 for ; Mon, 22 May 2017 11:59:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759280AbdEVL7v (ORCPT ); Mon, 22 May 2017 07:59:51 -0400 Received: from mail-pf0-f169.google.com ([209.85.192.169]:34614 "EHLO mail-pf0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759282AbdEVL7r (ORCPT ); Mon, 22 May 2017 07:59:47 -0400 Received: by mail-pf0-f169.google.com with SMTP id 9so80405067pfj.1 for ; Mon, 22 May 2017 04:59:47 -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=IfkHITl3y1dkfyoBQjcx0kqpfOhPSV9ohoJMbATc88X3iy2QmXY6N8LtphURivtJD2 t+DCvHmYTCJvq1VSFYlk3m2NdqTAkJ75zsZnY10FdRNKedFslNYL1L9G38W14EgY7zcg FXs4aTw92OrIQjZWDqlEVE0MxyTlSINiusl68= 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=icyZnqZlOLA5qF1hMBwlTDZtBSeZUqySVpc4isHH+WwtLR0uIT2YAxJxFOHe9iwhDK Gfyjl7umc8MHIywFktYJ/OTnUqdIPgM2d4t8Ooz1m65YfCxRvhz827QXEqH2j0yaoLvO OVAeAceD40jB8gqLI+Oxz88XztZ0EoeOnG4KD/k0SnGyyTeGHjKf877b5sWywpKrHk86 hz4iPE0V9VTLYu8eB6R8FG6E2GmjHi5ZXC8Eq76nd7bB86UeDxJuX9SF8DLIWXWFwrUz mkYvZLIz+ilzrHgoVzHIri8gKiYMSO2RSb5Q4/r+ymk0WiHDA1ldDcw/2cQIZ0ZKypAO B/1Q== X-Gm-Message-State: AODbwcBXNTqyNcL2lvLHp3bPIhqyHUrNl6pykbXbtxjWurPP1hf3tXTX SznNhBqAYPwEvgJT X-Received: by 10.98.51.129 with SMTP id z123mr25428763pfz.100.1495454386965; Mon, 22 May 2017 04:59:46 -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 m24sm28673653pfi.129.2017.05.22.04.59.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 May 2017 04:59:46 -0700 (PDT) From: Anup Patel To: Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd 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 v4 09/11] arm64: dts: Add I2C DT nodes for Stingray SoC Date: Mon, 22 May 2017 17:28:25 +0530 Message-Id: <1495454307-23464-10-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1495454307-23464-1-git-send-email-anup.patel@broadcom.com> References: <1495454307-23464-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 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";