From patchwork Wed Aug 2 08:46:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Yan X-Patchwork-Id: 9876321 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 B046E60360 for ; Wed, 2 Aug 2017 08:49:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F86B281B7 for ; Wed, 2 Aug 2017 08:49:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 94712283BB; Wed, 2 Aug 2017 08:49:05 +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,RCVD_IN_DNSWL_NONE autolearn=ham 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 37BD6281B7 for ; Wed, 2 Aug 2017 08:49:05 +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=8+Iyx0S/GzezE4BRw+QKGmIgYuvpRdbqQvnhQMP7OME=; b=G0js0SdkVlOeOWLD9UmvPDZSKL TLmigDzXgYf1UAqN4Z5cny/ErUJpSlWEYPAIw2V9scc2F790P4yf9MMdl/vG3RzJbNeOan+BICJ27 5KCLz2BR61XKFXGRFgCgw4dDSfMG7OqQnO1xlYZ6aoDM2D45RJBoD5kb8ifqaTYbXbth7sFM3PHn/ +tOAxVuzyQGU9kMQlZc0pcC4aQGc47ItixXkKxZKSkCo+KxC1NR6XWLIHB1PgovdY1k54Js51HqGl aID+hd4H12TZrniwGbPQ1gkKjifIX0UODYKa1asNMbJgZcWZXZ4TW9F87KRBI03RGQMxOhC3F6vIj uBw+4Uhg==; 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 1dcpKu-0002kP-Vl; Wed, 02 Aug 2017 08:49:00 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dcpKs-0002j8-85; Wed, 02 Aug 2017 08:48:58 +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=4MarauIVSpQT00BSjiEVqQWGewBUYmRYa6fX114sD9o=; b=S8gT8pYOybdRralUfWNIKdu++ i/AORAnnKKObJnLwHLf/7VmeLY7hseHR54w5NxfF0m9PjMT0w+luREaZDLldZkIi0QJs5UtI1Qdjw rF2f442uvPKtzRrisMyTObtjJ/riopmBKSFzdkhNC6S3NyA7UysrzkfCpW7Jtdx2T1RkCHszPMg+C B/i70LjoHWmjPrTI/TfAVVIyGQhlj1JF9sJrlci8BHfQ2R0xJsY4zMU7vr7zlSiKWkp6AWkf1Xv9U ir7B8YFsofpyKn2qkgmiqZImofXt7yGMFJCLWrzP5ZMaxoo5799bkFGexb4QkJhhdutyx1jWQbpMJ QQmyBMOcA==; Received: from regular1.263xmail.com ([211.150.99.140]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dcpJX-0000de-N1; Wed, 02 Aug 2017 08:47:36 +0000 Received: from andy.yan?rock-chips.com (unknown [192.168.167.139]) by regular1.263xmail.com (Postfix) with ESMTP id 624C14CF0; Wed, 2 Aug 2017 16:47:10 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id C611F9F2; Wed, 2 Aug 2017 16:47:04 +0800 (CST) X-RL-SENDER: andy.yan@rock-chips.com X-FST-TO: heiko@sntech.de X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: andy.yan@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-SENDER: yxj@rock-chips.com X-DNS-TYPE: 0 Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.263.net (Postfix) whith ESMTP id 8064VZ7UGY; Wed, 02 Aug 2017 16:47:09 +0800 (CST) From: Andy Yan To: heiko@sntech.de Subject: [PATCH v2 15/23] ARM: dts: rockchip: add spi dt node for rv1108 Date: Wed, 2 Aug 2017 16:46:56 +0800 Message-Id: <1501663616-12538-1-git-send-email-andy.yan@rock-chips.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1501662303-11687-1-git-send-email-andy.yan@rock-chips.com> References: <1501662303-11687-1-git-send-email-andy.yan@rock-chips.com> 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, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, Andy Yan , 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 Add SPI device tree node for rv1108. Signed-off-by: Andy Yan --- Changes in v2: None arch/arm/boot/dts/rv1108.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 124ed97..f6fb47f 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -200,6 +200,19 @@ status = "disabled"; }; + spi: spi@10270000 { + compatible = "rockchip,rv1108-spi"; + reg = <0x10270000 0x1000>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&cru SCLK_SPI>, <&cru PCLK_SPI>; + clock-names = "spiclk", "apb_pclk"; + dmas = <&pdma 8>, <&pdma 9>; + #dma-cells = <2>; + status = "disabled"; + }; + grf: syscon@10300000 { compatible = "rockchip,rv1108-grf", "syscon"; reg = <0x10300000 0x1000>;