From patchwork Tue Oct 20 08:45:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Feng X-Patchwork-Id: 55291 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id 562FA23024 for ; Tue, 20 Oct 2015 08:47:23 +0000 (UTC) Received: by lbbxe8 with SMTP id xe8sf3412490lbb.0 for ; Tue, 20 Oct 2015 01:47:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=3ciQr2zJ4dJk7S3+DcUhtPZ3bncuWE7ShhTqQ8IOhaE=; b=ENDcQ2+jsTvRp7+yKjMK2jXdJ/J+X0G11Pu3AZ0FK8kgdd/6I8RP+BjWpZLEOrNLWG 5BvmydXvzg/110ZclSGyZdU0c6zg2Bl7MBJidwl8z3qbvrmASPp2PHFqZ3pol/iuj7Td Ty7XKSPuxXbdlahNHU52qLD1tQHsvxXhY7o+sXxCKbLb92eg7ZfYtXongG/HFMAp8nm3 ILGynkAtuxy6GU7rxtEhFcHMZcHCs6DFMhvEK0woqumCE82JrmI9KiISo0ACQfPRmhij fOGuU8r/V42m4ma58TykrAncTFioY/NoIhWGMF+vT5E2mPhBUUkRukLYaRLhDdGy/Q/a 0SCQ== X-Gm-Message-State: ALoCoQlPPrqoDobbffZbRhlYUIQsWtTQ63Ee1ki5Ba/b4c61OEQvAMBwKAq9HzDrwoguNBng8lyG X-Received: by 10.180.9.104 with SMTP id y8mr5067809wia.7.1445330842200; Tue, 20 Oct 2015 01:47:22 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.43.133 with SMTP id r127ls39145lfr.74.gmail; Tue, 20 Oct 2015 01:47:22 -0700 (PDT) X-Received: by 10.112.161.201 with SMTP id xu9mr1052093lbb.10.1445330842015; Tue, 20 Oct 2015 01:47:22 -0700 (PDT) Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id t17si1461408lfd.41.2015.10.20.01.47.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Oct 2015 01:47:21 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by lffy185 with SMTP id y185so2055361lff.2 for ; Tue, 20 Oct 2015 01:47:21 -0700 (PDT) X-Received: by 10.25.154.203 with SMTP id c194mr704773lfe.32.1445330841837; Tue, 20 Oct 2015 01:47:21 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1943270lbq; Tue, 20 Oct 2015 01:47:21 -0700 (PDT) X-Received: by 10.50.154.1 with SMTP id vk1mr22790343igb.6.1445330840942; Tue, 20 Oct 2015 01:47:20 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 67si1949720ioe.85.2015.10.20.01.47.19; Tue, 20 Oct 2015 01:47:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932318AbbJTIrN (ORCPT + 28 others); Tue, 20 Oct 2015 04:47:13 -0400 Received: from szxga01-in.huawei.com ([58.251.152.64]:18581 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932298AbbJTIrI (ORCPT ); Tue, 20 Oct 2015 04:47:08 -0400 Received: from 172.24.1.49 (EHLO szxeml434-hub.china.huawei.com) ([172.24.1.49]) by szxrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CXE56508; Tue, 20 Oct 2015 16:45:41 +0800 (CST) Received: from vm163-62.huawei.com (10.184.163.62) by szxeml434-hub.china.huawei.com (10.82.67.225) with Microsoft SMTP Server id 14.3.235.1; Tue, 20 Oct 2015 16:45:30 +0800 From: Chen Feng To: , , , , , , , , , , , , , , , , , , , CC: , , , Subject: [PATCH V2 3/3] Add dts node for smmu on hi6220 SoC Date: Tue, 20 Oct 2015 16:45:24 +0800 Message-ID: <1445330724-129401-3-git-send-email-puck.chen@hisilicon.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1445330724-129401-1-git-send-email-puck.chen@hisilicon.com> References: <1445330724-129401-1-git-send-email-puck.chen@hisilicon.com> MIME-Version: 1.0 X-Originating-IP: [10.184.163.62] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: puck.chen@hisilicon.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , arm64: dts: Add dts node for hi6220 smmu driver Signed-off-by: Chen Feng Signed-off-by: Yu Dongbin --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 3f03380..3ef33b4 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -5,6 +5,7 @@ */ #include +#include / { compatible = "hisilicon,hi6220"; @@ -167,5 +168,19 @@ clocks = <&ao_ctrl 36>, <&ao_ctrl 36>; clock-names = "uartclk", "apb_pclk"; }; + + smmu@f4210000 { + compatible = "hisilicon,hi6220-smmu"; + reg = <0x0 0xf4210000 0x0 0x1000>; + interrupts = ; + clocks = <&sys_ctrl HI6220_MMU_CLK>, + <&media_ctrl HI6220_MED_MMU>, + <&sys_ctrl HI6220_MEDIA_PLL_SRC>; + clock-names = "smmu_clk", + "media_sc_clk", + "smmu_peri_clk"; + #iommu-cells = <1>; + }; + }; };