From patchwork Sat May 6 11:54:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 9714697 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 4438960234 for ; Sat, 6 May 2017 12:12:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4A9A226E69 for ; Sat, 6 May 2017 12:12:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3BB8C28675; Sat, 6 May 2017 12:12: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 BED9D26E69 for ; Sat, 6 May 2017 12:12:46 +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=HG/SJolN6JHd1PQO4iXRCYlrLipgO+hCpJ12OtFg6gI=; b=EURwU11j1aGXSMIgs/svxrkjML gbHyyZyQugL/IZnSIYIBEqV8mVBCiqjwmiOeGNXr0hGHPvjUVgHw+cVPRD7BEm1UaaUB5cFSNjW4S OezJw4Ti+4dBg42uLMKPygz1r896QRPtoHTPct7Uux/wk8avBZszctxB/bI+NIqlAI1tmRjDgT99I RbFQbFEYrDkeyFiNjbR0EZUfkLKgxmJYog9ALLe3qYFKjj2jU4rQf/rY7mOKbuokdmUZffqmQjjk3 MxeFlvSd4/jwQImUt6gaarTk7+YtsVVFCAU0nrFZ+jHuE6SRSYg0eXL6DTTObteQb/h2kcybV4MhI oNGGraUA==; 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 1d6yZp-0007kf-PO; Sat, 06 May 2017 12:12:45 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d6yZn-0007k7-Vx 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=uJYl+ecm8vElAA8+YZv1nzCAKlCM64MIfeBtwm3i3W0=; b=oXpqULJLdUHe1yfefhiU7Jmq6 6zBi/RJqUv9VatvRefQwCvHgvJKMaM9t+Ee5i5q90J8NpLrTgbUH9APDGuK2avTwjBWJNYl0ODWZP Of4jk3Pm/DUOyVKAkS8JUiivD3ue13kFjUNAp2DNiNFhr8I5lKhcQyz6SLpB9eZGKXkzTOsfMXMgu gOOoCa6OLKNh15q0Pnt6QxBwJKIKo+n3RwnGCzDhpj73Nl/Zi99KoYISvGs1aCWUTv7J+J+2Tog1n jEk8mAd/DhZzWaXkVnz5IV/UtHIzkH95Z4GV17ZaqUvIy7H+aYGy0jsRQzMVKPBFXGvRv/3uYgqH5 O8jcTPBZQ==; Received: from mail-wr0-x229.google.com ([2a00:1450:400c:c0c::229]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d6yNN-0006al-Np for linux-arm-kernel@lists.infradead.org; Sat, 06 May 2017 11:59:54 +0000 Received: by mail-wr0-x229.google.com with SMTP id z52so15784086wrc.2 for ; Sat, 06 May 2017 04:59:33 -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=uJYl+ecm8vElAA8+YZv1nzCAKlCM64MIfeBtwm3i3W0=; b=c0s55uOHfTP8ubNW2AyUfTnAzF7OG7GgXuB84dVw+b+bFWZ1lO0bd+pNmjaE1XRTOF E0BlZjc1cdwO+zT2rsIKyHcJ2rB5sT/4YBZ/qfl6kTqPgV/Ous0NYsZg8fhlqpAmmH7N O4gwXNKNDaEpJMVBBpEeK2ztgUGgWVz90AvjQ= 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=uJYl+ecm8vElAA8+YZv1nzCAKlCM64MIfeBtwm3i3W0=; b=ui3C373/zujJz0mvhHTN2tPf5dLLUDV41x7C8UY/wSjcQjzt1nHJnSHhs2ghke/gDv AY5wXrgR54Tffz5Ce8ohTQwPpMSe5ihlQ+v2C1TGg5B5cno6n/qK2ZVFq2zXIkyYSrQf 31LQ689gJ/uJqA3mWLhumtIxZ/A4kX0lN7bRE8LoGiWNkxC5k17zOpJfHmYRu6CckvZ6 Yt7RVYYPch6tY+89N2G5WR+PVQLYVFkXDt4V6P1Q4tuS6HvbX3w1zZ9DhFFUtpImgH/P xjkcAF3pKCP2WIWtGrhNwX1//YIZgl/HS7IRmDLLTjibh4ZIM0SW9xhhOxTYksmwzKWT uDfw== X-Gm-Message-State: AN3rC/7MaspPh+B3GQksXvyIjQS6Rwy12chcnDxE/1tXnX/Fn2vkckay a7y7++bpcrF9EbrC X-Received: by 10.223.161.20 with SMTP id o20mr21081319wro.102.1494071851394; Sat, 06 May 2017 04:57:31 -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.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 06 May 2017 04:57:30 -0700 (PDT) From: Anup Patel To: Rob Herring , Mark Rutland , Michael Turquette Subject: [PATCH 10/11] arm64: dts: Add PL022, PL330 and SP805 DT nodes for Stingray Date: Sat, 6 May 2017 17:24:45 +0530 Message-Id: <1494071686-19098-11-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_075954_096028_D85F5BD6 X-CRM114-Status: UNSURE ( 9.49 ) 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 , Anup Patel , 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 We have two instance of PL022 SPI controllers, one instance of DMA PL330, and one non-secure SP805 Watchdog on Stingray SOC. This patch adds DT nodes for the above mentioned devices in Stingray DT. Signed-off-by: Anup Patel Reviewed-by: Pramod KUMAR Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- .../boot/dts/broadcom/stingray/bcm958742k.dts | 30 +++++++++++++ .../arm64/boot/dts/broadcom/stingray/stingray.dtsi | 52 ++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/stingray/bcm958742k.dts b/arch/arm64/boot/dts/broadcom/stingray/bcm958742k.dts index c309cda..5671669 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/bcm958742k.dts +++ b/arch/arm64/boot/dts/broadcom/stingray/bcm958742k.dts @@ -46,3 +46,33 @@ &uart3 { status = "okay"; }; + +&ssp0 { + pinctrl-0 = <&spi0_pins>; + pinctrl-names = "default"; + cs-gpios = <&gpio_hsls 34 0>; + status = "okay"; + + spi-flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <20000000>; + #address-cells = <1>; + #size-cells = <1>; + }; +}; + +&ssp1 { + pinctrl-0 = <&spi1_pins>; + pinctrl-names = "default"; + cs-gpios = <&gpio_hsls 96 0>; + status = "okay"; + + spi-flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <20000000>; + #address-cells = <1>; + #size-cells = <1>; + }; +}; diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi index d046b04..36b8ced 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi @@ -276,6 +276,14 @@ status = "disabled"; }; + wdt0: watchdog@689c0000 { + compatible = "arm,sp805", "arm,primecell"; + reg = <0x689c0000 0x1000>; + interrupts = ; + clocks = <&hsls_25m_div2_clk>, <&hsls_div4_clk>; + clock-names = "wdogclk", "apb_pclk"; + }; + gpio_hsls: gpio@689d0000 { compatible = "brcm,iproc-gpio"; reg = <0x689d0000 0x864>; @@ -356,11 +364,55 @@ status = "disabled"; }; + ssp0: ssp@68a80000 { + compatible = "arm,pl022", "arm,primecell"; + reg = <0x68a80000 0x1000>; + interrupts = ; + clocks = <&hsls_div2_clk>, <&hsls_div2_clk>; + clock-names = "spiclk", "apb_pclk"; + num-cs = <1>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + ssp1: ssp@68a90000 { + compatible = "arm,pl022", "arm,primecell"; + reg = <0x68a90000 0x1000>; + interrupts = ; + clocks = <&hsls_div2_clk>, <&hsls_div2_clk>; + clock-names = "spiclk", "apb_pclk"; + num-cs = <1>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + hwrng: hwrng@68b20000 { compatible = "brcm,iproc-rng200"; reg = <0x68b20000 0x28>; }; + dma0: dma@68c10000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0x68c10000 0x1000>; + interrupts = , + , + , + , + , + , + , + , + ; + #dma-cells = <1>; + #dma-channels = <8>; + #dma-requests = <32>; + clocks = <&hsls_div2_clk>; + clock-names = "apb_pclk"; + iommus = <&smmu 0x6000 0x0000>; + }; + nand: nand@68c60000 { compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1"; reg = <0x68c60000 0x600>,