From patchwork Sat Apr 27 11:42:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 290 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 30C423F08F for ; Sat, 27 Apr 2019 13:42:39 +0200 (CEST) Received: by mail-pf1-f200.google.com with SMTP id d21sf3910939pfr.3 for ; Sat, 27 Apr 2019 04:42:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1556365358; cv=pass; d=google.com; s=arc-20160816; b=SfLvO1DSPfDthxBU3cgZO8qPVN6MhWsqbHUn04gwJbJKUPaB2X6jMUh/vzO2jT7C55 ErLXvTMytZznIYZeb29j+M65T5oTRmBk0NxcxaUna1zu9Ua1ZCIAaCV3qFC0fUYk/LS/ dUsJ0lLVsuKXi4VHxy9CaodhyBhhv8fLcBYCaHPPxS1nc5HMBtnHF1ZzVTwQMCkV4HgS p9nUDgPbNGQZD/gQ6QAVZtjxhYT4DFpNE2RQ3DNydUDwHj+btvSkLMvpQihuFwwaQktg P/px5SW66C8qv+biDGSeUFX/0dIQqIg3/jgsFhLKSZLtf+yPoMkg2uSLfr0aVtJYrCsy QmJg== 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=3quha4aqmwDgL0npqXI4Lghw8OFJr0YqdmzlhtpQHB8=; b=O6ocGDUkyifLNePWuun6DGu8BLo3rDKx3v5m3ybnm/9TktoHCU0CJLJPSHw/LPGzX/ VWClfe33nUu8ezOGVfL5MtfoStZFpTFw+ojJkiJ78Z0PgD+6jgEoimcTGwaYLoeGeerq Z02cns9WyJOPSHYZGUM3onqUDrQ4JbIP/Z2feOzN0InAdVIk1B6F6qKvXnixNBUJr67K aO08o9oe3jccADy3ouqYrxTK8yumwD6X2q2dEUfuT8MDpIP+azaeeeaqGyVQM7heWaql 7ggMoxp+c4VzHfWseQGjVVCStnCZJXUZqoipCQM0qv/a0Atp0FW/k6um2DcWl1l3HPtF kh3g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=P7iFw6Qx; 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=3quha4aqmwDgL0npqXI4Lghw8OFJr0YqdmzlhtpQHB8=; b=lh9PAEYO1qSITCZEm7hwiIWIvkLeqayJId1ZqkMo1N/2Trj4Y8x0TpUkIRE0GsntO3 j9BpTiVs7RpsKfXB2HuLnbMIOmUAwW7Kj1eSZbR8AfkfIt/De1RjTFazDrmDl8SZJPDx CzlGySMju7edb3EJfsBbIlVLIS1w/T2MXBw2k= 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=3quha4aqmwDgL0npqXI4Lghw8OFJr0YqdmzlhtpQHB8=; b=YvdF+r8t7EUa9WtxPnr0f7yQ/csOI2FxRnTAgMrbAfugikGWe7VvclVgKComiCQSWd rB8XXVzMTaTsUFrMauU8m/Ykoifo2VSMPibB/vxNNc5R30wHv3oONbJ8thJ5wn5WSSHs efdHGGP0phe7ROW/2ompwWZTrg/8PEUvsP2jsGRg97+0KkcL8abYCZ/aGU+vx9oIURzi YjrWQh8GA7O6rGBvdvmCpHtJFEiafT8azCzLgPhai5plp8d7hVllfeOjCk+9WPriSCkA MKp3FKvJB+UZ4cOs/IVw2oXG6WuKw20dgxlyhrtMGmXhR/h11sqcBcvK4eiydaDTrNVs TUEA== X-Gm-Message-State: APjAAAV77GRXYjoAQP6ti0pzuTCMbsJY/n3A9K03alHF158/X2uc6tsY aE3sFuMxOtC9QAcS2uVns1cj7yrc X-Google-Smtp-Source: APXvYqzTgLWDDX/I/6Pj3Sfz7WYDMpipfp9eiPCSHEMuEnsCOqsU/a5HiNkbe1zcpy8RvuJWk+uQqg== X-Received: by 2002:a17:902:e101:: with SMTP id cc1mr51883229plb.129.1556365358000; Sat, 27 Apr 2019 04:42:38 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:461d:: with SMTP id t29ls31728pfa.1.gmail; Sat, 27 Apr 2019 04:42:37 -0700 (PDT) X-Received: by 2002:a63:c10d:: with SMTP id w13mr48404744pgf.311.1556365357647; Sat, 27 Apr 2019 04:42:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556365357; cv=none; d=google.com; s=arc-20160816; b=t8WXkk32gCsSppqRyEhZwaYC3U8spFhjxEV47/1O1teJZjIuHjNAQX72e0fHCAwOhX T6LSY8hbPpYJ+BOaV56LGswn2X5JhrpruLs7+qMe1Fhafla00MTN95DyTjELqZ0FnCXJ sKE0OsPGKnQ4+esiiFOsIX1P2CYEeX5e7EC0RIuJ/vr/8+qsMIRwLhN2eqUU/9fcXhJI xJq70OYQ3doj3DuMD6X+gu68mnteFpjQu9OrxyOLM/cuV/Yu8GfCryYQSB5zw4sC8iwW Iu4kvDWwOQ8MQW8DIRLCNTHnG8YrqABz8Dhz1oRewGVH96oOPQIaFu6Sz/XsYJlcwOwL PG9w== 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=IpZFneVy9JVt/DR/0/w8JKHfiyseQp/ECVAIuWSjprc=; b=Oh1VB26XdjdrbagpGo/DzP/xTdN6lI/GhMueNWzs1NQJFbl6pJdx0lIAgy74u3VnKZ O9Q8ILW3l4i2Ki4qNMjaCiF5kyADvQW0eKXij5KAJ2lN3NMiIaeH8JffXHUOE/s8hy/Q MxMSrJrjpXj6/fN3YZe4IJH7Kmta3YPoi0WLKBQIhaLRja01jSz5zbY0My0Rnow7Y5qF zLtlko3LJbFs9N5ZOcarWkPC+GeQrhz8fA5+JZJf9jht4bF6Ocy/+7enlAsRgKWSc2Hp e4Sw2ip7sCzfdxSFT1cw/3ZrEuYh5+J4mJR3DIIk8+vPPR8G7TgxtpD7h4h2ELqrZ775 y1xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=P7iFw6Qx; 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 t23sor4633155plr.33.2019.04.27.04.42.37 for (Google Transport Security); Sat, 27 Apr 2019 04:42:37 -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:820a:: with SMTP id x10mr12306899pln.316.1556365357360; Sat, 27 Apr 2019 04:42:37 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id k79sm68958973pfj.28.2019.04.27.04.42.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Apr 2019 04:42:36 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar , Tom Rini , Manivannan Sadhasivam Cc: Paul Kocialkowski , linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v6 2/3] arm64: rockchip: dts: Add initial rk3399-u-boot.dtsi file Date: Sat, 27 Apr 2019 17:12:01 +0530 Message-Id: <20190427114202.7358-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190427114202.7358-1-jagan@amarulasolutions.com> References: <20190427114202.7358-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=P7iFw6Qx; 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 always managed to use Linux devicetree files with respective bindings, but on the other hand u-boot also has it's own u-boot specific nodes or properties example u-boot,dm-pre-reloc which is required for SPL_OF_CONTROL to allocate particular node. It is always better to maintain these u-boot specific nodes and properties into seperate dts files. This would help to sync the devicetrees directly from Linux. This patch is adding initial rk3399-u-boot.dtsi and move sdmmc, spi1 u-boot,dm-pre-reloc properties into it so-that the subsequent rk3399 boards can include the same on their board dtsi files. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3399-u-boot.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 arch/arm/dts/rk3399-u-boot.dtsi diff --git a/arch/arm/dts/rk3399-u-boot.dtsi b/arch/arm/dts/rk3399-u-boot.dtsi new file mode 100644 index 0000000000..0786c1193a --- /dev/null +++ b/arch/arm/dts/rk3399-u-boot.dtsi @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019 Jagan Teki + */ + +&sdmmc { + u-boot,dm-pre-reloc; +}; + +&spi1 { + u-boot,dm-pre-reloc; +};