From patchwork Thu Oct 8 07:55:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Feng X-Patchwork-Id: 54624 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by patches.linaro.org (Postfix) with ESMTPS id 9F2C522FF8 for ; Thu, 8 Oct 2015 08:14:52 +0000 (UTC) Received: by wicgb1 with SMTP id gb1sf6451784wic.3 for ; Thu, 08 Oct 2015 01:14:51 -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=sH00E+pXH+JPMN/+c34MgqjAWW06P8/AVSKxy0w/Wnw=; b=Z6a6yXfBb6H33AHXTYqJ6OpCdjwiIhLVsE0Qvk4XolXc581/q88nj98GmOsnLWiqzy fpuRlRS9rYEcGW3t+IrQkLzzD/N8ZOq9RWC5HfVdI56RWTpCT07tQjKsy6ksIupPkt6G HsvBW99/AqD9/2ERhT4H5u60SbJ00rgqy+Og5A+Ao/k8qx7cV0qYso9OvtUKcmqAb9Qs +hKVJJLrOs2SttsGQAMy/O/C0b8HjfrdKeucV1yWM3osukL2BewXqYyPx/BvFmVZq4g7 9rcenA5Jk4T+en6WtJpAmTUiAt16KRKv5Tejrrqp+kFjJhjNfcXjpSxhp5NAEFtkND7d RR3Q== X-Gm-Message-State: ALoCoQl+gapT7OfjSxe0AMf9Ug2LryzSjUTcHZl+AmEpdy2PqXVzgK1SEP5OEu3sWWYkwF30cKqr X-Received: by 10.180.35.132 with SMTP id h4mr408981wij.5.1444292091928; Thu, 08 Oct 2015 01:14:51 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.167.140 with SMTP id q134ls170956lfe.23.gmail; Thu, 08 Oct 2015 01:14:51 -0700 (PDT) X-Received: by 10.112.131.102 with SMTP id ol6mr2918088lbb.6.1444292091744; Thu, 08 Oct 2015 01:14:51 -0700 (PDT) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com. [209.85.217.170]) by mx.google.com with ESMTPS id m5si28731948lbp.169.2015.10.08.01.14.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Oct 2015 01:14:51 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) client-ip=209.85.217.170; Received: by lbos8 with SMTP id s8so37751358lbo.0 for ; Thu, 08 Oct 2015 01:14:51 -0700 (PDT) X-Received: by 10.25.210.206 with SMTP id j197mr1911816lfg.86.1444292091430; Thu, 08 Oct 2015 01:14:51 -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 w3csp430052lbq; Thu, 8 Oct 2015 01:14:50 -0700 (PDT) X-Received: by 10.50.64.211 with SMTP id q19mr1552664igs.76.1444292090485; Thu, 08 Oct 2015 01:14:50 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f5si5778364igt.41.2015.10.08.01.14.50; Thu, 08 Oct 2015 01:14:50 -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 S1753495AbbJHIOs (ORCPT + 30 others); Thu, 8 Oct 2015 04:14:48 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:29821 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751423AbbJHIOp (ORCPT ); Thu, 8 Oct 2015 04:14:45 -0400 Received: from 172.24.1.50 (EHLO szxeml428-hub.china.huawei.com) ([172.24.1.50]) by szxrg03-dlp.huawei.com (MOS 4.4.3-GA FastPath queued) with ESMTP id BOO10158; Thu, 08 Oct 2015 15:55:26 +0800 (CST) Received: from u105-115.huawei.com (10.141.105.115) by szxeml428-hub.china.huawei.com (10.82.67.183) with Microsoft SMTP Server id 14.3.235.1; Thu, 8 Oct 2015 15:55:18 +0800 From: Chen Feng To: , , , , , , , , , , , CC: , , , , , , , , , , Subject: [PATCH 3/3] arm64: dts: Add dts files to enable ION on Hi6220 SoC. Date: Thu, 8 Oct 2015 15:55:13 +0800 Message-ID: <1444290913-76936-3-git-send-email-puck.chen@hisilicon.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1444290913-76936-1-git-send-email-puck.chen@hisilicon.com> References: <1444290913-76936-1-git-send-email-puck.chen@hisilicon.com> MIME-Version: 1.0 X-Originating-IP: [10.141.105.115] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090205.56162553.005E, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: ba1ea29f1e96e1e6cf80245ab0675353 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.217.170 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: , Add ION node to enable ION on hi6220 SoC platform Signed-off-by: Chen Feng Signed-off-by: Yu Dongbin --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 + arch/arm64/boot/dts/hisilicon/hi6220-ion.dtsi | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 arch/arm64/boot/dts/hisilicon/hi6220-ion.dtsi diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index e36a539..44b75d2 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts @@ -11,6 +11,7 @@ /memreserve/ 0x05e00000 0x00100000; #include "hi6220.dtsi" +#include "hi6220-ion.dtsi" / { model = "HiKey Development Board"; diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-ion.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220-ion.dtsi new file mode 100644 index 0000000..24d3722 --- /dev/null +++ b/arch/arm64/boot/dts/hisilicon/hi6220-ion.dtsi @@ -0,0 +1,23 @@ +/ { + hi6220-ion { + compatible = "hisilicon,hi6220-ion"; + + heap_sys_user@0 { + heap-name = "sys_user"; + heap-id = <0x0>; + heap-base = <0x0>; + heap-size = <0x0>; + heap-type = "ion_system"; + }; + + heap_sys_contig@0 { + heap-name = "sys_contig"; + heap-id = <0x1>; + heap-base = <0x0>; + heap-size = <0x0>; + heap-type = "ion_system_contig"; + }; + }; + +}; +