From patchwork Tue Nov 28 13:29:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yixun Lan X-Patchwork-Id: 10080335 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 99BE86056A for ; Tue, 28 Nov 2017 13:31:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 83FEC288EC for ; Tue, 28 Nov 2017 13:31:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 785CB28E4E; Tue, 28 Nov 2017 13:31:09 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED 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 3606A288EC for ; Tue, 28 Nov 2017 13:31:09 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=ntvcxbK64WBrGO9wyp6aZ3U9t4AW8jFT4DXWtExP3kQ=; b=SwhJCTayZBmeU4 iV8hiPlqP3h9l+oAiEu53GmiEV3auU/q/Xt3LHztapvyJGFikJSadkKjTKwOe5P7hVL23Kw/Fu9Am m2NwjSHcn+Uf2/c8aX+gFS/rG6IBfbYD1B7ec1vei49FdbDjLp3gTWfC8+xQRMsDl/NC/PKiqEHxp mTXpakCSiKcSXDvhzGdpDgTVzmNy2pud2TmOVn2HIlYWVbWWj3bBcG/f8vmwGi26lUWUrD5Tqj4n3 ElTOgwrYR8/mGCpTO6UUvpEH5ev0Jkrt5qkrSkFROMT1sPqLQegZuiJn+4BM9moso5LTweGO6Gf6U 31FJ8nB8ohROEYCwSqrQ==; 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 1eJfyY-0006jm-RZ; Tue, 28 Nov 2017 13:31:02 +0000 Received: from mail-sh2.amlogic.com ([58.32.228.45]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eJfxT-0004U7-Tk; Tue, 28 Nov 2017 13:30:05 +0000 Received: from localhost.localdomain (10.18.20.164) by mail-sh2.amlogic.com (10.18.11.6) with Microsoft SMTP Server id 15.0.1320.4; Tue, 28 Nov 2017 21:28:55 +0800 From: Yixun Lan To: Kevin Hilman , Subject: [PATCH 3/3] ARM64: dts: meson-axg: add the SPICC controller Date: Tue, 28 Nov 2017 21:29:26 +0800 Message-ID: <20171128132926.19051-4-yixun.lan@amlogic.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171128132926.19051-1-yixun.lan@amlogic.com> References: <20171128132926.19051-1-yixun.lan@amlogic.com> MIME-Version: 1.0 X-Originating-IP: [10.18.20.164] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171128_052956_751710_1F695103 X-CRM114-Status: UNSURE ( 6.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Neil Armstrong , Yixun Lan , linux-kernel@vger.kernel.org, Rob Herring , linux-spi@vger.kernel.org, Mark Brown , Carlo Caione , linux-amlogic@lists.infradead.org, Sunny Luo , linux-arm-kernel@lists.infradead.org, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Sunny Luo Add DT info for the SPICC controller which found in the Amlogic's Meson-AXG SoC. Signed-off-by: Sunny Luo Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 92 ++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index fe3878f7718c..021b929d8d6e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -208,6 +208,28 @@ interrupts = ; status = "disabled"; }; + + spicc_a: spi@13000 { + compatible = "amlogic,meson-axg-spicc"; + reg = <0x0 0x13000 0x0 0x3c>; + interrupts = ; + clocks = <&clkc CLKID_SPICC0>; + clock-names = "core"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + spicc_b: spi@15000 { + compatible = "amlogic,meson-axg-spicc"; + reg = <0x0 0x15000 0x0 0x3c>; + interrupts = ; + clocks = <&clkc CLKID_SPICC1>; + clock-names = "core"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; }; gic: interrupt-controller@ffc01000 { @@ -470,6 +492,76 @@ function = "pwm_d"; }; }; + + spi_a_pins: spi_a { + mux { + groups = "spi_miso_a", + "spi_mosi_a", + "spi_clk_a"; + function = "spi_a"; + }; + }; + + spi_ss0_a_pins: spi_ss0_a { + mux { + groups = "spi_ss0_a"; + function = "spi_a"; + }; + }; + + spi_ss1_a_pins: spi_ss1_a { + mux { + groups = "spi_ss1_a"; + function = "spi_a"; + }; + }; + + spi_ss2_a_pins: spi_ss2_a { + mux { + groups = "spi_ss2_a"; + function = "spi_a"; + }; + }; + + + spi_b_a_pins: spi_b_a { + mux { + groups = "spi_miso_b_a", + "spi_mosi_b_a", + "spi_clk_b_a"; + function = "spi_b"; + }; + }; + + spi_ss0_b_a_pins: spi_ss0_b_a { + mux { + groups = "spi_ss0_b_a"; + function = "spi_b"; + }; + }; + + spi_ss1_b_pins: spi_ss1_b { + mux { + groups = "spi_ss1_b"; + function = "spi_b"; + }; + }; + + spi_b_x_pins: spi_b_x { + mux { + groups = "spi_miso_b_x", + "spi_mosi_b_x", + "spi_clk_b_x"; + function = "spi_b"; + }; + }; + + spi_ss0_b_x_pins: spi_ss0_b_x { + mux { + groups = "spi_ss0_b_x"; + function = "spi_b"; + }; + }; }; };