From patchwork Mon Feb 3 15:13:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 1232884 X-Patchwork-Delegate: narmstrong@baylibre.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=fZHg7w8F; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48BBFm2x3Hz9sPK for ; Tue, 4 Feb 2020 02:14:52 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 400CA819D1; Mon, 3 Feb 2020 16:13:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fZHg7w8F"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 91B43819D2; Mon, 3 Feb 2020 16:13:56 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_BL_SPAMCOP_NET,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CF996819BF for ; Mon, 3 Feb 2020 16:13:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=linux.amoon@gmail.com Received: by mail-pj1-x1043.google.com with SMTP id gv17so6563902pjb.1 for ; Mon, 03 Feb 2020 07:13:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=TsoQgyAvC2ZuEc7HBxOV+gcWnhjiA8D0hmQfC2JXCDc=; b=fZHg7w8F5HCzTqYIeRsE1hUvdW5VGVAdXdUY0pS2SaYziE0uhmNPLBDed9H/KgFI8Y bZMuBAnK8xtS1ndsyWitSKo5FnibfR92rdmPch3UBxYM+p4Gh5prsNFacMA0GRI0ovjQ C7TMtViwFhOct6S4m6JEPb9qeGvQRDdrIgKo0JgXAVMikrQxZbwlgVfSBoAQ5G2Q0+Eg gv2g1zccOBxMgHKiBzQMjmVeJcwYpI+gbWKrr7KKKT1wfs99kNB+AFhYjDodLHGT4pys 7CuKBvuI6wX0snl2iXovw3KPHE5MUR2c16yrHILWqQ3atfvviPDQtwO8GL219ExALvP8 XwDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TsoQgyAvC2ZuEc7HBxOV+gcWnhjiA8D0hmQfC2JXCDc=; b=VjFdcruosk2u/cmY3a21bHrUbKlmZbNTqbCVuHdmUUxlfPs2BBUzfo2/6RDDSuvN4b iY7B8tfp5atr6/wIbrv3rzB0uRwxE+19LC/Qu/zyd9tZ2EfI6sJNHRY2k6hL6lyIPaLH nGbmWow260KrHJAIkQMYgBr0RAo4liAFDPyCLWdsqkV6W1Dd8Mq8KC2hwJFWt2qFR+cC Q5GY1hQ4zTt+xx6JjNYtUmpYQlRKzNtHD06FfYgn5blXqXoyFKfIzNTbLlGa1vNFkukt ImjEGBCdZg64TEHjSo6Z2ewzbbMOiYBkwgUZ43rs7CwE3jeXSrwk48wxd0ER6TCwUzTS t2qA== X-Gm-Message-State: APjAAAU2hIZzbuFRUCJ04MMJGiAYN4fGhwmY1mvxZVFzw6yP9XaLJQe6 n2xZHkEOTV8gXa94kZIKo5o= X-Google-Smtp-Source: APXvYqyRe7O4lO2gCClf8lXlLi/aPtRyGNXUen1QylGVNtF/89eNhTYm239Z/8R/F3HdfnZNU1mUgQ== X-Received: by 2002:a17:902:76c5:: with SMTP id j5mr17700339plt.172.1580742832414; Mon, 03 Feb 2020 07:13:52 -0800 (PST) Received: from localhost.localdomain ([45.112.0.38]) by smtp.gmail.com with ESMTPSA id f43sm21609845pje.23.2020.02.03.07.13.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Feb 2020 07:13:52 -0800 (PST) From: Anand Moon To: Neil Armstrong , Jerome Brunet , Peng Fan , Jaehoon Chung , u-boot-amlogic@groups.io, u-boot@lists.denx.de Subject: [PATCHv5 5/5] arm: dts: s400: Move common nodes to the -u-boot.dtsi Date: Mon, 3 Feb 2020 15:13:23 +0000 Message-Id: <20200203151323.4615-6-linux.amoon@gmail.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200203151323.4615-1-linux.amoon@gmail.com> References: <20200203151323.4615-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean Move u-boot specific common nodes in the dts files to meson-axg-s400-u-boot.dtsi. This allows us to keep the basic dts[i] files up-to-date with the ones in kernel, but at the same time allowing the u-boot to add its own properties to the existing nodes. Also add missing mmc alias to dts nodes to avoid below debug warning. mmc_bind: alias ret=-2, devnum=-1 mmc_bind: alias ret=-2, devnum=-1 Signed-off-by: Anand Moon --- New patch is the series --- arch/arm/dts/meson-axg-s400-u-boot.dtsi | 16 ++++++++++++++++ arch/arm/dts/meson-axg-s400.dts | 9 --------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/arch/arm/dts/meson-axg-s400-u-boot.dtsi b/arch/arm/dts/meson-axg-s400-u-boot.dtsi index c46eb3f38d..74241e9fcd 100644 --- a/arch/arm/dts/meson-axg-s400-u-boot.dtsi +++ b/arch/arm/dts/meson-axg-s400-u-boot.dtsi @@ -2,6 +2,22 @@ /* * Copyright (c) 2017 Amlogic, Inc. All rights reserved. */ +/ { + soc { + u-boot,dm-pre-reloc; + }; + + aliases { + serial0 = &uart_AO; + serial1 = &uart_A; + mmc1 = &sd_emmc_b; + mmc2 = &sd_emmc_c; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; /* wifi module */ &sd_emmc_b { diff --git a/arch/arm/dts/meson-axg-s400.dts b/arch/arm/dts/meson-axg-s400.dts index 18778ada7b..feb84255ad 100644 --- a/arch/arm/dts/meson-axg-s400.dts +++ b/arch/arm/dts/meson-axg-s400.dts @@ -55,11 +55,6 @@ }; }; - aliases { - serial0 = &uart_AO; - serial1 = &uart_A; - }; - linein: audio-codec@0 { #sound-dai-cells = <0>; compatible = "everest,es7241"; @@ -100,10 +95,6 @@ reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; }; - chosen { - stdout-path = "serial0:115200n8"; - }; - memory@0 { device_type = "memory"; reg = <0x0 0x0 0x0 0x40000000>;