From patchwork Fri May 8 08:55:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leilk Liu X-Patchwork-Id: 6363541 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 11C96BEEE1 for ; Fri, 8 May 2015 08:56:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1C41220220 for ; Fri, 8 May 2015 08:56:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3684A20211 for ; Fri, 8 May 2015 08:56:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752566AbbEHI4p (ORCPT ); Fri, 8 May 2015 04:56:45 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:44238 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752548AbbEHI4n (ORCPT ); Fri, 8 May 2015 04:56:43 -0400 X-Listener-Flag: 11101 Received: from mtkhts07.mediatek.inc [(172.21.101.69)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1371882249; Fri, 08 May 2015 16:56:20 +0800 Received: from mhfsdcap03.mhfswrd (10.17.3.153) by mtkhts07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 14.3.181.6; Fri, 8 May 2015 16:56:19 +0800 From: To: Mark Rutland , Mark Brown , Matthias Brugger CC: Rob Herring , Pawel Moll , Ian Campbell , Kumar Gala , Catalin Marinas , Will Deacon , Leilk Liu , Eddie Huang , Hongzhou Yang , Sascha Hauer , , , , , , , Sascha Hauer Subject: [PATCH 3/3] arm64: dts: Add spi bus dts Date: Fri, 8 May 2015 16:55:43 +0800 Message-ID: <1431075343-7887-4-git-send-email-leilk.liu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1431075343-7887-1-git-send-email-leilk.liu@mediatek.com> References: <1431075343-7887-1-git-send-email-leilk.liu@mediatek.com> MIME-Version: 1.0 X-MTK: N Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Leilk Liu This patch adds MT8173 spi bus controllers into device tree. Signed-off-by: Leilk Liu --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 3fca624..4ff7c24 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -258,6 +258,15 @@ clock-names = "baud", "bus"; status = "disabled"; }; + + spi: spi@1100a000 { + compatible = "mediatek,mt8173-spi"; + reg = <0 0x1100a000 0 0x1000>; + interrupts = ; + clocks = <&pericfg CLK_PERI_SPI0>; + clock-names = "main"; + status = "disabled"; + }; }; };