Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4240494ybf; Tue, 3 Mar 2020 23:41:33 -0800 (PST) X-Google-Smtp-Source: ADFU+vt9vEcjC6uP7O3orHpj+Sswyb7eelJGaX1a3qgJx7lWNeny9wN+wcSNHNdAfv0AxctbPw4k X-Received: by 2002:a05:6830:143:: with SMTP id j3mr1344949otp.355.1583307692265; Tue, 03 Mar 2020 23:41:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583307692; cv=none; d=google.com; s=arc-20160816; b=VucEvtCpaGwnpyWiSsAiHEa6l//FLVPVOKcWjaA7ciUiRnyu6Y8ne0/6b4EuNS5Dcb fUSwVsYaU4NzJmjkd2A7cnNvYfnp5JhgSwfQfVrDLgyMMqJj1EduFB1xW7pBSpvGrwhF A/9v9oHUoAS5vEJq0s9LFu28/qaDgE03soo0pV0Gk1Hf2hZF0TIgAnIU7dSuSZVjLNK9 SQ01Zpk/Aj7HMZlbBlSfP9vFT3bLDL6jbzmJFJewvtrN58wB4fgSe9d4bmHQcD9aP527 mzI8Y7xXRxD4BHlkopmIOLrRrK7UV9rB+aNFvxDgawQiVZrN8RMgAPwqJ0ptZLyVU1r0 lScA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=zaJoE8S6ZoYeei3qANBHRGMHafpbqFjs0OJRPS7inbc=; b=G10IlDzLbtnPqja6+H+xOB1dbk4kQrqUwU74fZTtNgM1rUKIfYN1OZl6dnkqp0AJv5 qdzWdVhJCWHDCr+zE9ZEtiW/KiCLVcirYHcUEn9Ku8tXtjFPmBQlkMUx0Au+d5v1l3xz H7a2HvQeNXJ0FTpDjQzAQAJkuHPhsb2Tqe8+9clvr3CJ3VMKR3WfGdY/GHQ6xpzxk9Wk nqmdqFHUJXf08Ha52UCf2/v6ohkaya4H7kNhcxTfgUAgzKYyaHeJY42DIh7UWqD+YXG6 hRH1uBELvJbpeqD7EUElgWnFHnx4RMBrywV3+DJPfVtcmgXCDPkJbIteoPVqG97oSB+O Ji2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="I5oGKA/U"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r12si625077otp.98.2020.03.03.23.41.20; Tue, 03 Mar 2020 23:41:32 -0800 (PST) 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; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="I5oGKA/U"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387665AbgCDHlG (ORCPT + 99 others); Wed, 4 Mar 2020 02:41:06 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:54974 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728515AbgCDHlD (ORCPT ); Wed, 4 Mar 2020 02:41:03 -0500 Received: by mail-wm1-f68.google.com with SMTP id i9so749747wml.4; Tue, 03 Mar 2020 23:41:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=zaJoE8S6ZoYeei3qANBHRGMHafpbqFjs0OJRPS7inbc=; b=I5oGKA/UWW7QwBvJ3wSieVr1KrOam29uhrWVFyJ5NShFtWmXS+wm5O+7mUKNS5Wi8z shOlw/C2PyNt+V8WIOWvMAVn3Kk4InYVY5Wg6OK3nLXbh1EbJb8vouDBFm3yStE1AopM ckEbB82cX+WY6Wyzpci3c1xu9loT169vXv73YWaPeyUc6Q5ZJGzedG0uOqJbTjBGJbWE WS4Upwtv9gUEi9lHfV1Y3GOAaGC5FeZ0TfPCCzY0NMhD4ES8MXVARxwRNqvby2q89v1p LWk4TbrY9acWFcbqcg1JE+hPmviVwkyU8cCYWEDsfZ9+yvo1zJJwMVKZnA+v0ls9j+p2 TgZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=zaJoE8S6ZoYeei3qANBHRGMHafpbqFjs0OJRPS7inbc=; b=Clj0zaRm5WrSk8E8gYw2D3b3fjt0D+H4SZ3T4oKpUjGlLirJ7HSt+l9U/koO5axXX7 RzQ5vIetprYk04c5lXEJQOpoIukjckKOaXWIfTbw6+OyJCs0MyNW8gWbySVrRDcJsEzg ESWymdPCWHSSmld7WZaDn7jtTs8y4wkonHtaEO/Oq/p4f3PzsxedA5MB+BYdiZyoZBK1 Y7wpBW3km7bWYaV60xKZdj8or0KdOtm/NzCZTAwfwfyBHpl4dc7qWGW8RaxaPn0Payda QJmV3ECAAqwqGyuBZJJS80A+bIaJ80vizMIRpWK1/GEwyBrU7tKqZx9bdUyvNriBd8xq F64A== X-Gm-Message-State: ANhLgQ30ndqO3v09tBKWPMf0TqZA/uSCly1TgEwCMtXx855sJCw7W43m W09aV3y4iw+Q30JkHd+CMJ78pQVx X-Received: by 2002:a05:600c:214b:: with SMTP id v11mr2277253wml.13.1583307661540; Tue, 03 Mar 2020 23:41:01 -0800 (PST) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id m16sm6410530wrs.67.2020.03.03.23.41.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Mar 2020 23:41:01 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] ARM: dts: rockchip: add missing @0 to memory nodenames Date: Wed, 4 Mar 2020 08:40:50 +0100 Message-Id: <20200304074051.8742-2-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200304074051.8742-1-jbx6244@gmail.com> References: <20200304074051.8742-1-jbx6244@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A test with the command below gives for example this error: arch/arm/boot/dts/rk3288-tinker.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 0, 0, 2147483648]]} The memory nodes all have a reg property that requires '@' in the nodename. Fix this error by adding the missing '@0' to the involved memory nodenames. make ARCH=arm dtbs_check DT_SCHEMA_FILES=~/.local/lib/python3.5/site-packages/dtschema/ schemas/root-node.yaml Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3288-phycore-som.dtsi | 2 +- arch/arm/boot/dts/rk3288-tinker.dtsi | 2 +- arch/arm/boot/dts/rk3288-veyron.dtsi | 2 +- arch/arm/boot/dts/rk3288-vyasa.dts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/rk3288-phycore-som.dtsi b/arch/arm/boot/dts/rk3288-phycore-som.dtsi index 77a47b9b7..9e76166c3 100644 --- a/arch/arm/boot/dts/rk3288-phycore-som.dtsi +++ b/arch/arm/boot/dts/rk3288-phycore-som.dtsi @@ -16,7 +16,7 @@ * Set the minimum memory size here and * let the bootloader set the real size. */ - memory { + memory@0 { device_type = "memory"; reg = <0x0 0x0 0x0 0x8000000>; }; diff --git a/arch/arm/boot/dts/rk3288-tinker.dtsi b/arch/arm/boot/dts/rk3288-tinker.dtsi index 312582c1b..77ae303b0 100644 --- a/arch/arm/boot/dts/rk3288-tinker.dtsi +++ b/arch/arm/boot/dts/rk3288-tinker.dtsi @@ -12,7 +12,7 @@ stdout-path = "serial2:115200n8"; }; - memory { + memory@0 { reg = <0x0 0x0 0x0 0x80000000>; device_type = "memory"; }; diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi b/arch/arm/boot/dts/rk3288-veyron.dtsi index 54a6838d7..c089ce008 100644 --- a/arch/arm/boot/dts/rk3288-veyron.dtsi +++ b/arch/arm/boot/dts/rk3288-veyron.dtsi @@ -18,7 +18,7 @@ * The default coreboot on veyron devices ignores memory@0 nodes * and would instead create another memory node. */ - memory { + memory@0 { device_type = "memory"; reg = <0x0 0x0 0x0 0x80000000>; }; diff --git a/arch/arm/boot/dts/rk3288-vyasa.dts b/arch/arm/boot/dts/rk3288-vyasa.dts index ba06e9f97..889b95e95 100644 --- a/arch/arm/boot/dts/rk3288-vyasa.dts +++ b/arch/arm/boot/dts/rk3288-vyasa.dts @@ -14,7 +14,7 @@ stdout-path = &uart2; }; - memory { + memory@0 { reg = <0x0 0x0 0x0 0x80000000>; device_type = "memory"; }; -- 2.11.0