From patchwork Sat Oct 10 09:57:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhen Lei X-Patchwork-Id: 317600 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp3371827ilm; Sat, 10 Oct 2020 12:51:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUcu0yAuLz5EK05ezYW7s/uesRinvXNY9yw8CprTUDBTr26gaIv1S8UqfRlxlKKZQLZeUp X-Received: by 2002:a17:906:4c93:: with SMTP id q19mr19646460eju.198.1602359501914; Sat, 10 Oct 2020 12:51:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602359501; cv=none; d=google.com; s=arc-20160816; b=cL/4on2wTnNj9Rzjtl+U47wJtx3H/1BjPkuvjqUndGKejRMFwZsOCptvajf0OKvb14 Sd3RoXCGBURfgSpQKVLpHBE3PH3njocd+NZ4IiJ+9MTb1rAngu0AJ2qEaRYreHWLMKHw 63tsCjr7K+ZxyryuDOFv3mLFAOEaMDwhNkC6bLKML737iaAOBjLSh6Q043qhWbyV5cbt R0E+qRIFsUapDtLyxVHQRBLnPTuY1VtkKqPdj4H+I+aqLxd27WsDiJfJP843ADgOuMST Z7yuDywjp7qufmEp5PlSNBqhWiKvmBCRs/QrFZUulVHcqLF5pq2BRZjFKuOOdLkXOmWi +vtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=dyxPqZl/TblUVK2n668ZeoVMBqNVUxaQ5D8vz9hXRBQ=; b=T2DNa5tCJwKb2Ur4tnije9l0ur6dIAMRGkN1/Hgt1cgQkvFpvGwlGfUz5fFqaSzXa0 RLWy2MbKAppRjKntLdE5AvXLCtHmx4hSzqB/SuwabDNXPYSM2SSvfk9kkmqKT5ecmIAx Kyeur2PT+6T8lWrtiq1A0no5YssmV4DDhOgO5TlP/N1Dn2LMIK3Wm080b+uVsGFcLBPb jpYAQst7DcGi501NjH0zH92nXjC5zfNFLEV51odAdQtXYH5eT4+8CSaawZVnre6jUPHY QxUfD2Zf5v0E5IkpaWO9mwzMj48cE6KROQcbFsWNaE/om4Ciug6uMRufx/3fG6Pl8x8i iDPw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x11si8888896edr.288.2020.10.10.12.51.41; Sat, 10 Oct 2020 12:51:41 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730553AbgJJM7x (ORCPT + 6 others); Sat, 10 Oct 2020 08:59:53 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:54216 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727035AbgJJKQM (ORCPT ); Sat, 10 Oct 2020 06:16:12 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id D3954681641ED91839EE; Sat, 10 Oct 2020 17:57:46 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.177.134) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.487.0; Sat, 10 Oct 2020 17:57:36 +0800 From: Zhen Lei To: Wei Xu , Rob Herring , devicetree , linux-arm-kernel , linux-kernel CC: Zhen Lei Subject: [PATCH 05/10] ARM: dts: hisilicon: fix errors detected by root-node.yaml Date: Sat, 10 Oct 2020 17:57:04 +0800 Message-ID: <20201010095709.1340-6-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20201010095709.1340-1-thunder.leizhen@huawei.com> References: <20201010095709.1340-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.177.134] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Make the momory node name match the regex "^memory(@[0-9a-f]+)?$" which is described in memory.yaml. Otherwise, it will be treated as root node, and misreported by root-node.yaml. Errors misreported by root-node.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': Signed-off-by: Zhen Lei --- arch/arm/boot/dts/hi3519-demb.dts | 2 +- arch/arm/boot/dts/hi3620-hi4511.dts | 2 +- arch/arm/boot/dts/hip01-ca9x2.dts | 2 +- arch/arm/boot/dts/hisi-x5hd2-dkb.dts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) -- 1.8.3 diff --git a/arch/arm/boot/dts/hi3519-demb.dts b/arch/arm/boot/dts/hi3519-demb.dts index 64f8ed126931099..f473fa22e9ce56a 100644 --- a/arch/arm/boot/dts/hi3519-demb.dts +++ b/arch/arm/boot/dts/hi3519-demb.dts @@ -14,7 +14,7 @@ serial0 = &uart0; }; - memory { + memory@80000000 { device_type = "memory"; reg = <0x80000000 0x40000000>; }; diff --git a/arch/arm/boot/dts/hi3620-hi4511.dts b/arch/arm/boot/dts/hi3620-hi4511.dts index 29eedc7fef9861e..ce356c469e1e13e 100644 --- a/arch/arm/boot/dts/hi3620-hi4511.dts +++ b/arch/arm/boot/dts/hi3620-hi4511.dts @@ -17,7 +17,7 @@ stdout-path = "serial0:115200n8"; }; - memory { + memory@40000000 { device_type = "memory"; reg = <0x40000000 0x20000000>; }; diff --git a/arch/arm/boot/dts/hip01-ca9x2.dts b/arch/arm/boot/dts/hip01-ca9x2.dts index f05e74eacfe0bf2..031476304d94614 100644 --- a/arch/arm/boot/dts/hip01-ca9x2.dts +++ b/arch/arm/boot/dts/hip01-ca9x2.dts @@ -37,7 +37,7 @@ }; }; - memory { + memory@80000000 { device_type = "memory"; reg = <0x80000000 0x80000000>; }; diff --git a/arch/arm/boot/dts/hisi-x5hd2-dkb.dts b/arch/arm/boot/dts/hisi-x5hd2-dkb.dts index d55e9cd3b12b420..22b122d3f514e43 100644 --- a/arch/arm/boot/dts/hisi-x5hd2-dkb.dts +++ b/arch/arm/boot/dts/hisi-x5hd2-dkb.dts @@ -35,7 +35,7 @@ }; }; - memory { + memory@0 { device_type = "memory"; reg = <0x00000000 0x80000000>; };