Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1568905ybh; Fri, 13 Mar 2020 03:38:56 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsBhs8y6g1jOo0F28/psTItW1wvMaYM8lzkGiY7lZS8lfgiXZlik0JMi1WslBoUE0+RgwGV X-Received: by 2002:a05:6808:1c5:: with SMTP id x5mr527297oic.82.1584095936538; Fri, 13 Mar 2020 03:38:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584095936; cv=none; d=google.com; s=arc-20160816; b=guDZi3PLARdPCuHcV3pZL1Dh4nSlPqJL6aVc+kcka8TiRY1hlxHa6alGvHxaAbhAnr dqGnML0SB7LQefZZZKlLcFgBfRbdhAC1qymK+F8V9P/R5z3KTYVx9xoPd/1eqrhIT5eR nSEf33f4VMC6rg8cADsvXqvsb0AzKKhpjoHdQFao/tchLc88V/gdE3/wy5NbsgTGUcTQ WGFtkSwVZwcyaXgPIOPUVtDe9Bk0roMxHW7TBfx/XuYf8/qIeSNTzc2sDuCwp0XZYs/K O2UG8xyN4u4bEi27sHAuSNEuJ2lsggS7Lf0D22TqhpNYqs3Kl1/SLwZfAu1WG2L7lCYI 9k+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=rQjq8uKoRrlLiAy2jC9SVIhkfPttmNZUWXbQLhDZM9k=; b=SxbqNFX5ZNGZSqZFbU1EFmTDk/+o+Xs090+Mz0v1tJwAsA0qO93YfAiaZFh58VRNqh pifMwrqXWc2EIREppraaJGv6k7uKXfpfM5W7X0bC55b9/6jPLxra9lOZQrQFfaFxfSRG rkbTdo/aNh919AdXzARSjQBorJNWIlZq+6lfYuA68e4/DSfkFs21MO1nQ+YPjhDRP7bg +FM57nH0rHL5IuS70mX3s6aACrFq58qEMU5X2/QkXaQhpESUGmRY+r/9a5RO3guRwXm1 wjJ+kmiUCa+jaqIjkSTr0+rE3vzm3taJi51x8Nc20cBNVDkDcwvrEngYQJYGzrYRPhXz jeSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UGBliQoj; 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 p25si4384620oto.168.2020.03.13.03.38.44; Fri, 13 Mar 2020 03:38:56 -0700 (PDT) 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=UGBliQoj; 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 S1726554AbgCMKhf (ORCPT + 99 others); Fri, 13 Mar 2020 06:37:35 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:52362 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726539AbgCMKhf (ORCPT ); Fri, 13 Mar 2020 06:37:35 -0400 Received: by mail-wm1-f68.google.com with SMTP id 11so9336366wmo.2; Fri, 13 Mar 2020 03:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=rQjq8uKoRrlLiAy2jC9SVIhkfPttmNZUWXbQLhDZM9k=; b=UGBliQojrFTzcrINN1hj7VaIxQhifS1a+pj8O7CpftaSMpdX/jXa/e2ShvDTKrPtDg /fRJICfUaCPHZHAL/PoJGQZLQbqzlIcyPGAvhNetLxmKmIuVbhuVT/3YC2+sLn6/l/lz YcEuUOumTYQtWC8aSHnVQVQmxI50A+8b/Z1vom5CTboDz/Mr5ZUAmZNTd8D4XkhhACEO 2qdHlYmOrqcec5DzyzF0TDDIPkPkJowmXOs3vydQavbqCyfGBQgcpKRnRAiVbOG50JRJ 4VXELyeSJOTeO7IQmWQtFWAg96CAYdDzO7cj57V0b5pfjxV5jJWQRlXM66ff9YFUmnVx dDBQ== 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; bh=rQjq8uKoRrlLiAy2jC9SVIhkfPttmNZUWXbQLhDZM9k=; b=n27B3IQO7RURQVW+annWOAR+hjkzkq4sHop+7Hac/sy/hZT+wzosTBvnPB2DZyZHaM 9RSLSHWQ0g+zZEiClrVH639hI5xmaFbE8gcsMXGVa50MNI9SB3kkdf3A+zKIOg4S7HhH 6s9fm4486gLcoBjTh1MiDPnuNBhFJgLNmxx695efZt2Aj/hWV7MkFZkpD+YvJ09t7Uxj hg2OwKAL5b7Ld/UJxT6K8PxmtcHo10Abo2wRcy3+m808b+PafH5hrIRyLxWdIlnGa4ut XOKmLlEzR1xQs78Ekk6njsmigwe0x/t5Z1scImYtgy2Sprr4TmMrEf1dHQeenquu0rfj Vuug== X-Gm-Message-State: ANhLgQ3MNUVX19FxLbxKjaFyXSHEEmTYA9Tm73NfqyceM1X6rhfq3PV2 UQCrPI3/zuG+JxSWYgYRDlvDOiL6 X-Received: by 2002:a1c:2048:: with SMTP id g69mr10462496wmg.187.1584095853079; Fri, 13 Mar 2020 03:37:33 -0700 (PDT) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id o3sm17688551wme.36.2020.03.13.03.37.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Mar 2020 03:37:32 -0700 (PDT) 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 v2 1/2] ARM: dts: rockchip: add missing @0 to memory nodenames Date: Fri, 13 Mar 2020 11:37:25 +0100 Message-Id: <20200313103726.1678-1-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 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 --- Changes v2: Skip rk3288-veyron --- arch/arm/boot/dts/rk3288-phycore-som.dtsi | 2 +- arch/arm/boot/dts/rk3288-tinker.dtsi | 2 +- arch/arm/boot/dts/rk3288-vyasa.dts | 2 +- 3 files changed, 3 insertions(+), 3 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-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