From patchwork Mon May 26 13:42:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grant Likely X-Patchwork-Id: 30930 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f200.google.com (mail-ob0-f200.google.com [209.85.214.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 61A3120E7A for ; Mon, 26 May 2014 13:43:02 +0000 (UTC) Received: by mail-ob0-f200.google.com with SMTP id wo20sf40388654obc.7 for ; Mon, 26 May 2014 06:43:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=weH400+kPc9BFL/C9NAs4a3Tv3J7/qdDWf2sYqYvP7o=; b=dDjGF9a+5NnHYPqf0IFTeF93ImORQz03XRxq/CKUWdGLjoQdWY1r/wCbQGYJHIgUw+ latLxStZdHHdrnEaATIICkD41iuwsYBtWS8Nj5E3nL/JP+yyHe4ZK2k18Rc6fZ6FCFVm 5GpkAZ0oj0eXD1WGvzPwNWFgCH82EQIkzd2FKBf+dlo1U1Ek7X0DbC+89HHY6YndbT8c p39/ILqN5XsgrWOyB5WZLB1SFJDZRuLVq7c+7W+gvsHTSlTZRs7fdN+UuK9IL+dcXrXr TBMtilGuORj0enz7ULiOg8bzlvI4ynHE0Umt7gxwq+K2cdVSM2yoJWjlbN7NZavK17wH wxgA== X-Gm-Message-State: ALoCoQlX0k/v1CJrigmd1dWal+LHQCHCdI/sNDbn3lQ+LbKGSGm/h+nw7MEhx33AFhwWPDmrreMD X-Received: by 10.182.3.6 with SMTP id 6mr10696583oby.2.1401111782011; Mon, 26 May 2014 06:43:02 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.34.46 with SMTP id k43ls2750990qgk.58.gmail; Mon, 26 May 2014 06:43:01 -0700 (PDT) X-Received: by 10.220.167.2 with SMTP id o2mr21726099vcy.8.1401111781886; Mon, 26 May 2014 06:43:01 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id x3si6298149vey.21.2014.05.26.06.43.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 26 May 2014 06:43:01 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id ij19so5779041vcb.23 for ; Mon, 26 May 2014 06:43:01 -0700 (PDT) X-Received: by 10.58.29.106 with SMTP id j10mr12259947veh.31.1401111781808; Mon, 26 May 2014 06:43:01 -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.220.221.72 with SMTP id ib8csp45324vcb; Mon, 26 May 2014 06:43:01 -0700 (PDT) X-Received: by 10.68.197.39 with SMTP id ir7mr28484417pbc.78.1401111780832; Mon, 26 May 2014 06:43:00 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rp16si14905908pab.170.2014.05.26.06.43.00; Mon, 26 May 2014 06:43:00 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752704AbaEZNm5 (ORCPT + 8 others); Mon, 26 May 2014 09:42:57 -0400 Received: from mail-we0-f171.google.com ([74.125.82.171]:59578 "EHLO mail-we0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752589AbaEZNmz (ORCPT ); Mon, 26 May 2014 09:42:55 -0400 Received: by mail-we0-f171.google.com with SMTP id w62so8143978wes.16 for ; Mon, 26 May 2014 06:42:54 -0700 (PDT) X-Received: by 10.180.126.33 with SMTP id mv1mr27920832wib.6.1401111774620; Mon, 26 May 2014 06:42:54 -0700 (PDT) Received: from trevor.secretlab.ca (host109-153-30-27.range109-153.btcentralplus.com. [109.153.30.27]) by mx.google.com with ESMTPSA id ge6sm246662wic.0.2014.05.26.06.42.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 May 2014 06:42:53 -0700 (PDT) Received: by trevor.secretlab.ca (Postfix, from userid 1000) id D11ADC41455; Mon, 26 May 2014 22:42:49 +0900 (JST) From: Grant Likely To: gaurav.minocha@alumni.ubc.ca Cc: Leif Lindholm , linux-mips@linux-mips.org, devicetree@vger.kernel.org, Mark Rutland , , Grant Likely Subject: [PATCH 2/2] mips: dts: Fix missing device_type="memory" property in memory nodes Date: Mon, 26 May 2014 14:42:49 +0100 Message-Id: <1401111769-5334-2-git-send-email-grant.likely@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1401111769-5334-1-git-send-email-grant.likely@linaro.org> References: <1401111769-5334-1-git-send-email-grant.likely@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: grant.likely@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) smtp.mail=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: , From: Leif Lindholm A few platforms lack a 'device_type = "memory"' for their memory nodes, relying on an old ppc quirk in order to discover its memory. Add the missing data so that all parsing code can find memory nodes correctly. Signed-off-by: Leif Lindholm Cc: linux-mips@linux-mips.org Cc: devicetree@vger.kernel.org Cc: Mark Rutland Cc: Acked-by: John Crispin Signed-off-by: Grant Likely --- arch/mips/lantiq/dts/easy50712.dts | 1 + arch/mips/ralink/dts/mt7620a_eval.dts | 1 + arch/mips/ralink/dts/rt2880_eval.dts | 1 + arch/mips/ralink/dts/rt3052_eval.dts | 1 + arch/mips/ralink/dts/rt3883_eval.dts | 1 + 5 files changed, 5 insertions(+) diff --git a/arch/mips/lantiq/dts/easy50712.dts b/arch/mips/lantiq/dts/easy50712.dts index fac1f5b178eb..143b8a37b5e4 100644 --- a/arch/mips/lantiq/dts/easy50712.dts +++ b/arch/mips/lantiq/dts/easy50712.dts @@ -8,6 +8,7 @@ }; memory@0 { + device_type = "memory"; reg = <0x0 0x2000000>; }; diff --git a/arch/mips/ralink/dts/mt7620a_eval.dts b/arch/mips/ralink/dts/mt7620a_eval.dts index 35eb874ab7f1..709f58132f5c 100644 --- a/arch/mips/ralink/dts/mt7620a_eval.dts +++ b/arch/mips/ralink/dts/mt7620a_eval.dts @@ -7,6 +7,7 @@ model = "Ralink MT7620A evaluation board"; memory@0 { + device_type = "memory"; reg = <0x0 0x2000000>; }; diff --git a/arch/mips/ralink/dts/rt2880_eval.dts b/arch/mips/ralink/dts/rt2880_eval.dts index 322d7002595b..0a685db093d4 100644 --- a/arch/mips/ralink/dts/rt2880_eval.dts +++ b/arch/mips/ralink/dts/rt2880_eval.dts @@ -7,6 +7,7 @@ model = "Ralink RT2880 evaluation board"; memory@0 { + device_type = "memory"; reg = <0x8000000 0x2000000>; }; diff --git a/arch/mips/ralink/dts/rt3052_eval.dts b/arch/mips/ralink/dts/rt3052_eval.dts index 0ac73ea28198..ec9e9a035541 100644 --- a/arch/mips/ralink/dts/rt3052_eval.dts +++ b/arch/mips/ralink/dts/rt3052_eval.dts @@ -7,6 +7,7 @@ model = "Ralink RT3052 evaluation board"; memory@0 { + device_type = "memory"; reg = <0x0 0x2000000>; }; diff --git a/arch/mips/ralink/dts/rt3883_eval.dts b/arch/mips/ralink/dts/rt3883_eval.dts index 2fa6b330bf4f..e8df21a5d10d 100644 --- a/arch/mips/ralink/dts/rt3883_eval.dts +++ b/arch/mips/ralink/dts/rt3883_eval.dts @@ -7,6 +7,7 @@ model = "Ralink RT3883 evaluation board"; memory@0 { + device_type = "memory"; reg = <0x0 0x2000000>; };