From patchwork Thu Apr 17 17:42:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 28586 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f69.google.com (mail-pb0-f69.google.com [209.85.160.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E9AFF2013D for ; Thu, 17 Apr 2014 17:43:18 +0000 (UTC) Received: by mail-pb0-f69.google.com with SMTP id md12sf2592950pbc.4 for ; Thu, 17 Apr 2014 10:43:18 -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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=WpEJlc5/k/c+T7PJGBFIAWjSFGT1N3vhiF3DRq36bE8=; b=Zmq9PMkWzqYesRIn9IPnhPEla8sil3uK4qbZRU7qzRCfpHlzbMqQo/pQ6RMbSHbF9u Znf6oNLegYcjsJFJ2H5knAPurRW3ixRjWlCymdcrv1h9cAMEaTG4WbX6zMKiRMnaeqqh X4fM9D/cXMC0o0SRwE8674SEf+LDWA9qfbmOKt1QXI4pGEADQU3EO6HbjcL2EFnoL6SN WrQ5hMVMjFCwu1AB3axtrnEcq2Br6Xk6HVWK89wjxvh2fwDkrGoZRgw1nNf5AMLX2gyM m3Wk3Pkj2Mvwq2gAQskhSM0hDrOQwmaf54CXiHc25q2M7IPQEDCRWnkGY7Q+avYN7e8N 7wfw== X-Gm-Message-State: ALoCoQlThlezkJoevvYj9WdaYZ5tcWu8a6YiaC4lkNY/GezJ5hIhY74Sac9QZ7/wcUcGgKXvpXFh X-Received: by 10.66.150.106 with SMTP id uh10mr7675286pab.13.1397756598171; Thu, 17 Apr 2014 10:43:18 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.86.170 with SMTP id p39ls1210981qgd.49.gmail; Thu, 17 Apr 2014 10:43:18 -0700 (PDT) X-Received: by 10.52.229.97 with SMTP id sp1mr7201516vdc.23.1397756598057; Thu, 17 Apr 2014 10:43:18 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id kp14si4577589vcb.110.2014.04.17.10.43.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Apr 2014 10:43:18 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id la4so876922vcb.3 for ; Thu, 17 Apr 2014 10:43:18 -0700 (PDT) X-Received: by 10.58.207.74 with SMTP id lu10mr12544297vec.15.1397756597919; Thu, 17 Apr 2014 10:43:17 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp53458vcb; Thu, 17 Apr 2014 10:43:17 -0700 (PDT) X-Received: by 10.180.90.79 with SMTP id bu15mr24285272wib.38.1397756597107; Thu, 17 Apr 2014 10:43:17 -0700 (PDT) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by mx.google.com with ESMTPS id ek7si1785346wib.117.2014.04.17.10.43.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Apr 2014 10:43:17 -0700 (PDT) Received-SPF: none (google.com: leif.lindholm@linaro.org does not designate permitted sender hosts) client-ip=209.85.212.180; Received: by mail-wi0-f180.google.com with SMTP id q5so1176893wiv.7 for ; Thu, 17 Apr 2014 10:43:16 -0700 (PDT) X-Received: by 10.180.76.244 with SMTP id n20mr10752769wiw.4.1397756596464; Thu, 17 Apr 2014 10:43:16 -0700 (PDT) Received: from mohikan.mushroom.smurfnet.nu (cpc4-cmbg17-2-0-cust71.5-4.cable.virginm.net. [86.14.224.72]) by mx.google.com with ESMTPSA id lh6sm39895218wjb.27.2014.04.17.10.43.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Apr 2014 10:43:15 -0700 (PDT) From: Leif Lindholm To: linux-kernel@vger.kernel.org Cc: patches@linaro.org, Leif Lindholm , linux-mips@linux-mips.org, devicetree@vger.kernel.org, John Crispin , Mark Rutland Subject: [PATCH 2/3] mips: dts: add device_type="memory" where missing Date: Thu, 17 Apr 2014 18:42:00 +0100 Message-Id: <1397756521-29387-3-git-send-email-leif.lindholm@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1397756521-29387-1-git-send-email-leif.lindholm@linaro.org> References: <1397756521-29387-1-git-send-email-leif.lindholm@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: leif.lindholm@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 this, to permit that quirk to be made ppc only. Signed-off-by: Leif Lindholm Cc: linux-mips@linux-mips.org Cc: devicetree@vger.kernel.org Cc: John Crispin Cc: Mark Rutland Acked-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 fac1f5b..143b8a3 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 35eb874..709f581 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 322d700..0a685db 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 0ac73ea..ec9e9a0 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 2fa6b33..e8df21a 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>; };