From patchwork Mon Oct 12 06:12:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 317618 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp4332471ilm; Sun, 11 Oct 2020 23:13:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJz/LRbR0s5H+Wgo26F9wTwUyNKmWTO40FnRZnSe9CmHW42A5WjVMuVjbzyNkQIv+xW0lQ X-Received: by 2002:a17:906:4dc3:: with SMTP id f3mr27527586ejw.50.1602483186099; Sun, 11 Oct 2020 23:13:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602483186; cv=none; d=google.com; s=arc-20160816; b=DC5zvaaF0lyyyOQr+OyUNme/exRXB0D9GoXcDaVyvcqdDrXOgeJXuznU7wSVtqRKhL 0SRf/K6aADelXzAH5qfx9qjW4kWmGPGiPQ4uZPHppHZ7i5EI4OpnIUbfiNPSKnVRWJVp S6xblA5BzEdFd4fEvRCMcD4d5jaycesTZRsaF8zpgAk7ZenJHgVQF0WYZaUrWO6YXlrM aRByx/4NEEq3ZWhWnBl9O1tsA5DSC6OmxcoW2LXMUCYrI0RMbFIGCwL6pyHOC1N59XGy tV0I5roJ5NywX2cfVQIHomK3W4t5LxCSPLWwkbRpfYVTaJ+PJPtk+7pz+wDXaX6ahcg5 VtVg== 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=F+WdkQEe2w4QCDJXigyViOgqTKq24dMUdIy49S8PuI4DpODlXRddiPsdfAvGfzU0B9 FGDoMe2itFnznT/Oc2Lef96qCRWLdbYnewsLR7R1Yn5X+GP1HONRr834W2EAeZIo44Wk dbyk+CHt3oim2DojJAkgi3t14MystSmPN+3uoS1wATHENXdaVjs34r571iAIaii2Uj1N CgxNFDrcIoDrKLLwnBCDfPYRVbc25u5IR9ugR4HgQAdSDolwELAoU4FgcRc6uHXj+Clx YL8G9vQ4F6HH3mvxeqoFOqbgvDK1CrNgrmki1hjQMAfGPAAhUZPZsGPPoS6Kw/Hmvb2X n4IA== 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 v22si11309995ejj.27.2020.10.11.23.13.05; Sun, 11 Oct 2020 23:13:06 -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 S1727349AbgJLGM7 (ORCPT + 6 others); Mon, 12 Oct 2020 02:12:59 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:33554 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727198AbgJLGMs (ORCPT ); Mon, 12 Oct 2020 02:12:48 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id CBD91FCA812FABA8556E; Mon, 12 Oct 2020 14:12:45 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.177.134) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.487.0; Mon, 12 Oct 2020 14:12:37 +0800 From: Zhen Lei To: Wei Xu , Rob Herring , devicetree , linux-arm-kernel , linux-kernel CC: Zhen Lei Subject: [PATCH v2 05/10] ARM: dts: hisilicon: fix errors detected by root-node.yaml Date: Mon, 12 Oct 2020 14:12:20 +0800 Message-ID: <20201012061225.1597-6-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20201012061225.1597-1-thunder.leizhen@huawei.com> References: <20201012061225.1597-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>; };