From patchwork Tue Aug 15 17:26:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Branden X-Patchwork-Id: 9902307 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 97C9360244 for ; Tue, 15 Aug 2017 17:28:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E54B287E5 for ; Tue, 15 Aug 2017 17:28:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 72E10286E2; Tue, 15 Aug 2017 17:28:45 +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=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW 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 B2C0D2887B for ; Tue, 15 Aug 2017 17:28:43 +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=vq1SPj6xRwOysJdG4lawi/cnwI9w3hzAr0Zi7LIUEgs=; b=g7rrpLvCsCTCjCkg4OeexFTm45 6NARDn5oHQdY7yTADeOg8wRJAhVjda9vphMvTb/I+5qt91qDt1gUubQGHtbROYzLI8mo/fkGCzpOB YmT0Yfn2ofJGfE8hqvbCPpXWpf87FL/W4klX2LcTQdPiQmYt0I7AgIwSsaX8zr695HOHql3kulIve TI66n7VUk/CGn4Co2Cjf1fVoFTVvuLAKutJjXernRACnjMwcFyqDx9BS3GNvi9Dj/cCg0DMSQ9Esb WSOYAtKniYf1Aicq1SD6BUYAzfPvUl/njjgdjF9TYFW0MgQAtxaD0/2rTFM89FY86xif46RDJrZjI M6KyahCw==; 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 1dhfdb-0003l1-9P; Tue, 15 Aug 2017 17:28:19 +0000 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dhfcK-0002LF-T2 for linux-arm-kernel@lists.infradead.org; Tue, 15 Aug 2017 17:27:06 +0000 Received: by mail-wm0-x236.google.com with SMTP id f15so14859905wmg.1 for ; Tue, 15 Aug 2017 10:26:40 -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=mYmO+wFqwf62W35FmTRE3FHi+Pfr88Yr5YmR/2sUoSU=; b=VUG128gC+ztLbfKDeIHc/GGwW/NrfOs4gYROWEiaBpngtp+/FUX67QNOfJ1c8y5FJq c8vjZakSH4+agCEBbfczlQyhFiJVNn4Wmy+hgaHXVGn8DeSe8PZGNv45wHqrQcbHIXtp 28IFfj4us3azhWWsp6edQpzOp7qVwaF4nl8Ls= 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=mYmO+wFqwf62W35FmTRE3FHi+Pfr88Yr5YmR/2sUoSU=; b=jTSyHOHaM0HO2KErkeEnx4Jae2fY5q7uBfqWr+2b+YMjxAe7HctnFBg70DWYHUBVm1 z11X3swUwu7FbzOWDtS+bEb/inCS7lzn4+Ug84t0Biw3rZFkLNMFLwvTRdkKCLKGyXbW N6BLw+jRR0hxMhJrEN3WVdLofei4v3g3uqbT1WnK8AKC09zQdWa4Xa25BC1msnk39lAM xKl6IzHXS5QDVVlD3Zuq3QgUbP2mbTL6Fnlrj9oDAec7KWa/TI6G14Rs9Brs079I5YfA 7HjA4g1U5ayft0dRgBDduHPRFTzSgNmdbf17eHqkYf6dL/GL5DmnC5st5CWDXwWw/w6Z U7pw== X-Gm-Message-State: AHYfb5gSdx4CvNB1RWgHJg/pE1WzHd13wwtKcLc9V9Cq1BkPIevVTQac YDls6434SEekS/sU X-Received: by 10.28.100.136 with SMTP id y130mr2168756wmb.60.1502817998922; Tue, 15 Aug 2017 10:26:38 -0700 (PDT) Received: from lbrmn-lnxub113.ric.broadcom.com ([192.19.224.250]) by smtp.gmail.com with ESMTPSA id d19sm9389305wrb.93.2017.08.15.10.26.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 15 Aug 2017 10:26:38 -0700 (PDT) From: Scott Branden To: Rob Herring , Mark Rutland , Russell King , Ray Jui , Florian Fainelli Subject: [PATCH 4/6] ARM: dts: cygnus: Add additional peripherals to dtsi Date: Tue, 15 Aug 2017 10:26:01 -0700 Message-Id: <1502817964-8221-5-git-send-email-scott.branden@broadcom.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1502817964-8221-1-git-send-email-scott.branden@broadcom.com> References: <1502817964-8221-1-git-send-email-scott.branden@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170815_102701_531727_1BF28FC8 X-CRM114-Status: GOOD ( 10.45 ) 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, Jonathan Richardson , Scott Branden , linux-kernel@vger.kernel.org, BCM Kernel Feedback , 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: Jonathan Richardson Add nodes for peripherals in Cygnus dtsi: sdhci, keypad, spi, dma, pinmux configs. Signed-off-by: Jonathan Richardson Signed-off-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 102 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi index bc08987..306b04c 100644 --- a/arch/arm/boot/dts/bcm-cygnus.dtsi +++ b/arch/arm/boot/dts/bcm-cygnus.dtsi @@ -124,6 +124,21 @@ compatible = "brcm,cygnus-pinmux"; reg = <0x0301d0c8 0x30>, <0x0301d24c 0x2c>; + + spi_0: spi_0 { + function = "spi0"; + groups = "spi0_grp"; + }; + + spi_1: spi_1 { + function = "spi1"; + groups = "spi1_grp"; + }; + + spi_2: spi_2 { + function = "spi2"; + groups = "spi2_grp"; + }; }; mailbox: mailbox@03024024 { @@ -305,6 +320,23 @@ }; }; + dma0: dma@18018000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0x18018000 0x1000>; + interrupts = , + , + , + , + , + , + , + , + ; + clocks = <&apb_clk>; + clock-names = "apb_pclk"; + #dma-cells = <1>; + }; + uart0: serial@18020000 { compatible = "snps,dw-apb-uart"; reg = <0x18020000 0x100>; @@ -349,6 +381,52 @@ status = "disabled"; }; + spi0: spi@18028000 { + compatible = "arm,pl022", "arm,primecell"; + reg = <0x18028000 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + pinctrl-0 = <&spi_0>; + clocks = <&axi81_clk>; + clock-names = "apb_pclk"; + status = "disabled"; + }; + + spi1: spi@18029000 { + compatible = "arm,pl022", "arm,primecell"; + reg = <0x18029000 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + pinctrl-0 = <&spi_1>; + clocks = <&axi81_clk>; + clock-names = "apb_pclk"; + status = "disabled"; + }; + + spi2: spi@1802a000 { + compatible = "arm,pl022", "arm,primecell"; + reg = <0x1802a000 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + interrupts = ; + pinctrl-0 = <&spi_2>; + clocks = <&axi81_clk>; + clock-names = "apb_pclk"; + status = "disabled"; + }; + + sdhci0: sdhci@18041000 { + compatible = "brcm,sdhci-iproc-cygnus"; + reg = <0x18041000 0x100>; + interrupts = ; + clocks = <&lcpll0 BCM_CYGNUS_LCPLL0_SDIO_CLK>; + bus-width = <4>; + sdhci,auto-cmd12; + status = "disabled"; + }; + eth0: ethernet@18042000 { compatible = "brcm,amac"; reg = <0x18042000 0x1000>, @@ -358,6 +436,16 @@ status = "disabled"; }; + sdhci1: sdhci@18043000 { + compatible = "brcm,sdhci-iproc-cygnus"; + reg = <0x18043000 0x100>; + interrupts = ; + clocks = <&lcpll0 BCM_CYGNUS_LCPLL0_SDIO_CLK>; + bus-width = <4>; + sdhci,auto-cmd12; + status = "disabled"; + }; + nand: nand@18046000 { compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1"; reg = <0x18046000 0x600>, <0xf8105408 0x600>, @@ -472,5 +560,19 @@ interrupts = ; status = "disabled"; }; + + keypad: keypad@180ac000 { + compatible = "brcm,bcm-keypad"; + reg = <0x180ac000 0x14c>; + interrupts = ; + clocks = <&asiu_clks BCM_CYGNUS_ASIU_KEYPAD_CLK>; + clock-names = "peri_clk"; + clock-frequency = <31250>; + pull-up-enabled; + col-debounce-filter-period = <0>; + status-debounce-filter-period = <0>; + row-output-enabled; + status = "disabled"; + }; }; };