From patchwork Thu Jun 20 18:55:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 683 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 535183F086 for ; Thu, 20 Jun 2019 20:55:34 +0200 (CEST) Received: by mail-pf1-f199.google.com with SMTP id u21sf2603331pfn.15 for ; Thu, 20 Jun 2019 11:55:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1561056933; cv=pass; d=google.com; s=arc-20160816; b=c6yuDhOcwDwKgq2GFpzwNKY4B78scWVaDN2K8Ocp4vI3b3Fb1JJc3OuqZ778GTjPcz awCCE/3X/XtjN/BIxNzqSZVzjp8R7+AZ8+zji4X+veDGqCvG+izOxP8eQ5aOq4792TmV PsRtqVBd6Xg3xX2+eNyZGQInyq6K6CyiUfzTApQNJ0eYL+flJ9eL/3+6mXy9yQpoPNrY fzwnFbrBep3TVxd9KNqiNpqb7zZ7/CNzwvgzkjyPmOBkuvoebwACrgyg4Q2utSANb0xu 4hZWZU1RXBCmbEKTzVqNlUtiUJncTRotaMJQf4vmcY65x9TK9iZYlVA9jUDx40FAksrr IXhg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=HYXxxr6Wc0ouows4ZKz7Du1ta1ot2a6j4TK6BxZWnv4=; b=PpARZAPBqBC02qzTUJ2NxeWgGzH7/pYtbfGCLBXXtymNvLZem8vEZR3qcILEplcokQ wfxuQN+fiSx64MGQYT3pxupFgIX8aufHluYSWo4LW4RjlmiSTefPawq7kL77iy5Gc84F 9O9+JxEWY8AQPb7QVd2o2ceRAk6+1Q307yXZW/KDkrsu3KV63x9qvCTaGIORhnyD0e3a ZqiyMgAvAVGC1+yvp5grKklXyJ+p0Yg4sgGIsWwfkLk2askoHva80ENipM1nPx4E7iuH o9g+8m4P93Z5Nx702f1BCyyPDz8waTBtQG5Ccc0IRYuit35AkbmZ9scba8A9CFFIZy1F QotQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=o5EyLc1x; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=HYXxxr6Wc0ouows4ZKz7Du1ta1ot2a6j4TK6BxZWnv4=; b=fArnkrSmMT0lz3wbUUX2kUaz5VcqgHZ9Dq+ta2p/uAKztx3QWp/L2aceo3bnI8lWTw D0QrUy7QhmjM4WlWfNv88HnjWwKoFgorQswZ9ZGEuAHAK6CzOQ952BcJCYqPJr+dS2kY 4NNr73Rhzrp9rlnaqz/sWmQYvXpg/Cp3MQj9M= 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:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=HYXxxr6Wc0ouows4ZKz7Du1ta1ot2a6j4TK6BxZWnv4=; b=ni1KGfWt+O7aIT2jmfZmrpjqVgb+glbqLMqsjy6an8L+5Dqf7Uf1Emwy3hQXibL8bY axmm0EGuWShDIu3hQs+pXXolSW03ftS1WF5SW9AGY84PiIcshjJZCXh08/HqSyeuPTQF G/tzLyZlD0ooZgczojIsq8oFT9GiNPxGVIIDcRFtV6hQis4ZDt5JeetIhy6FMxvzWYPT HSPrcSZSFlM+4dUMFT27gl8SrqWX3Frp3dabRFDvTJTLd1UrpNbYUmfufUz/KfRU6DNH 08wMxETrPojngikLcwAhVyta/bclDdoAJ7dM4PLN9SiCVltktDC6nMBc89gea+fORJbE yHiw== X-Gm-Message-State: APjAAAUJuvQwDDerTc87SvV5x0MW0gfqvVfHIZRs6k3fIZowvi8LEkSt as+Hl8DR1+oIiqzbnM1VMlYSNQFk X-Google-Smtp-Source: APXvYqz6WUcFXoSXiKmYmSRLSRcJZrmaBA7JkIHpaN+QdU1K49K8EBjl9kmkQOe+wR2vkh7XatwocQ== X-Received: by 2002:a17:90a:710c:: with SMTP id h12mr1158199pjk.36.1561056933175; Thu, 20 Jun 2019 11:55:33 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:2b0b:: with SMTP id r11ls1363832pgr.4.gmail; Thu, 20 Jun 2019 11:55:32 -0700 (PDT) X-Received: by 2002:aa7:80d9:: with SMTP id a25mr33663706pfn.50.1561056932842; Thu, 20 Jun 2019 11:55:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561056932; cv=none; d=google.com; s=arc-20160816; b=hgOeEMt7EN0i7/K02+nHbHTLg4BSTlFaWFk5aU743WfWLnI1AlOfrJ92IKsVVqldTV XA9SbHvJ8R7W503p/eVnR2o5EbH+RsJPUGmu5VthQn37W1HgiNEGJGktSM8+6NnqaNfz xnlP2IR8Wmt7AJipC1K2DagpOe/8gcdfdq/e7WLejJyfHpR4CTGBaHyIFzQ6CRsGgZqC 2wG2HijDw7M6zySEFKZaS4unpzhF7U08GagEV7UiI7KlJBkhMs8oktQCjefQV7+lUXBY XxnPJiPzLfU1NMjG0OVJO0lfmGMoTq5+oeX6fO3hdlgqgXMfsK1MdXQQKx+YsoB95wD0 ncUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=ejKhZV0ZePK8koi6sjYi9JqAEP6CgbDzTjWopYnMhJU=; b=yTrnIq58qCgyHc3wZf0GQSV/AKWx2rxXlGz58GM5Mmyy+enBgzWXgabuVHVnpgKjxY IjEVfYHXmkkCxHDO8IrtitqN69q/wh+1gBapTl5pXznI8D3UjtgRO7Mj4UZ+LxLqfIKK tLpPRKOIv5zNCsge0DXiFG0n8cp0OspZl/YVjJ1cKBJxgJ2e4biyW76lPqs1d42WyZdZ qVRmh1nmuighNe1H1nm1CJovOfuh4qCRM8Wubl5F+yuMNZqJ5zYZ1mE4x6yYMSxj8K2s ptu/gpknwYgBfQ6+613FQlkjmUy328IkK2E1TQ3nJoaQB8/r72jFex4+57iGbDhRIrFT KDrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=o5EyLc1x; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id p1sor689129plo.9.2019.06.20.11.55.32 for (Google Transport Security); Thu, 20 Jun 2019 11:55:32 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:2aab:: with SMTP id j40mr83356445plb.76.1561056932569; Thu, 20 Jun 2019 11:55:32 -0700 (PDT) Received: from localhost.localdomain ([183.82.225.128]) by smtp.gmail.com with ESMTPSA id k3sm372183pju.27.2019.06.20.11.55.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Jun 2019 11:55:32 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , u-boot@lists.denx.de Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v2 4/8] rockchip: rk3399: Move u-boot, dm-pre-reloc of uart0, uart2 Date: Fri, 21 Jun 2019 00:25:02 +0530 Message-Id: <20190620185506.11449-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190620185506.11449-1-jagan@amarulasolutions.com> References: <20190620185506.11449-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=o5EyLc1x; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , u-boot,dm-pre-reloc for uart0, uart2 indeed u-boot specific properties. Move them into rk3399-u-boot.dtsi so the boards which enabled these node will available during SPL. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- arch/arm/dts/rk3399-gru.dtsi | 1 - arch/arm/dts/rk3399-puma.dtsi | 1 - arch/arm/dts/rk3399-u-boot.dtsi | 8 ++++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/rk3399-gru.dtsi b/arch/arm/dts/rk3399-gru.dtsi index ca0fc391b2..0e2e047180 100644 --- a/arch/arm/dts/rk3399-gru.dtsi +++ b/arch/arm/dts/rk3399-gru.dtsi @@ -629,7 +629,6 @@ ap_i2c_audio: &i2c8 { &uart2 { status = "okay"; - u-boot,dm-pre-reloc; }; &usb_host0_ohci { diff --git a/arch/arm/dts/rk3399-puma.dtsi b/arch/arm/dts/rk3399-puma.dtsi index 897e0bda85..74368da550 100644 --- a/arch/arm/dts/rk3399-puma.dtsi +++ b/arch/arm/dts/rk3399-puma.dtsi @@ -639,7 +639,6 @@ }; &uart0 { - u-boot,dm-pre-reloc; pinctrl-names = "default"; pinctrl-0 = <&uart0_xfer &uart0_cts>; status = "okay"; diff --git a/arch/arm/dts/rk3399-u-boot.dtsi b/arch/arm/dts/rk3399-u-boot.dtsi index 0786c1193a..fcfce9ae02 100644 --- a/arch/arm/dts/rk3399-u-boot.dtsi +++ b/arch/arm/dts/rk3399-u-boot.dtsi @@ -10,3 +10,11 @@ &spi1 { u-boot,dm-pre-reloc; }; + +&uart0 { + u-boot,dm-pre-reloc; +}; + +&uart2 { + u-boot,dm-pre-reloc; +};