From patchwork Mon Apr 6 12:28:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Tomer X-Patchwork-Id: 1266856 X-Patchwork-Delegate: trini@ti.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=2a01:238:438b:c500:173d:9f52:ddab:ee01; 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=NiCO/Pzk; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 48wqdW5m9dz9sRY for ; Mon, 6 Apr 2020 22:30:55 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7472C818FC; Mon, 6 Apr 2020 14:29:45 +0200 (CEST) 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="NiCO/Pzk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A20F1818E7; Mon, 6 Apr 2020 14:29:36 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) (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 E26728188A for ; Mon, 6 Apr 2020 14:29:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=amittomer25@gmail.com Received: by mail-pj1-x1044.google.com with SMTP id cp9so2864660pjb.0 for ; Mon, 06 Apr 2020 05:29:25 -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:in-reply-to:references; bh=AVXgGs0mpjho8F7VGD9+oDiiH8NEdb1TVX0xrhw91AY=; b=NiCO/Pzkroan6I9rDUUcR0SUV1uilymK0jHQOvD5SI/ReL5Ew2pgCLZ4ggIwx2N5B8 LjZyl0mOZl/TkcPsR9/ejGVUJcgrUmAP41X4K2aBYMx+p5MEDksIFvIUMBJinXyPe++i zRi1FfnlH2a5uzuJq9ZvA7tZjfQDvkTEStQOuYneD7F6DcCW7Jae8hNWsrnUjOYyVh+L xiBVAdyqd17kUo/VqW/mDLx5rfFytW4XVG/3U0mYNgtJfBhddhgCtij05AabCG8daRxn OiKrfVIfDzmDTjJJbsU8h4w2kZRS8aGQ3ZIZaX0d8dH0r2kmT9ZzbCdZFFqZtRpdUgQP RcnQ== 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=AVXgGs0mpjho8F7VGD9+oDiiH8NEdb1TVX0xrhw91AY=; b=ABwZfqGJsdZmDLGfg+kMUj1NQ5Y/voKmds0qbr5CFXeeUUUU5H04TTaxtJI6CIO1jm BPcWA41JAinaiIkQ0cSfipvx4TC+Blc+Qt3tmTEqocm1c0YEjyoWwcJ9v8MRIu/hHOHc UKh7nffrRCeDDLsA0KTXvCJOQFXxnXN7rs1PhOwVY6ylbHc2/F9ElkCUAvceUFq1EA71 9EKKtYKLsdbQkDGRap9WQ+Tf+pifo6DRY9BxW6OQTGK73Wwzu708f3FvnSb+L/tznMAV ZsrFGvrvmv3Bl0i5Nniwf2FmI6GQGLiyU3Zfl65P4+xg/5Top9dAuhDx0ON5kUsZNAiM EMgQ== X-Gm-Message-State: AGi0PubPl66WP2pj1wuC01W6G2nRq6lCHHbi6Q1+wlyc4WcIBMmXolvv XRTJxugCY9pqnQj3ZV+C82ndSARv X-Google-Smtp-Source: APiQypIxDIGghhRumI2647QU/5K2MNt8Adw0wfg8GTgeiWi7hsWrw6a8ztATIJc/U05wUCbWC1/Wew== X-Received: by 2002:a17:90a:a014:: with SMTP id q20mr26930087pjp.91.1586176163951; Mon, 06 Apr 2020 05:29:23 -0700 (PDT) Received: from localhost.localdomain ([171.61.172.100]) by smtp.gmail.com with ESMTPSA id h71sm10687247pge.32.2020.04.06.05.29.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Apr 2020 05:29:23 -0700 (PDT) From: Amit Singh Tomar To: u-boot@lists.denx.de Cc: andre.przywara@arm.com, manivannan.sadhasivam@linaro.org, trini@konsulko.com, Amit Singh Tomar Subject: [PATCH v10 08/12] arm: dts: actions: s700: add u-boot specific dtsi file Date: Mon, 6 Apr 2020 17:58:27 +0530 Message-Id: <1586176111-31003-9-git-send-email-amittomer25@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1586176111-31003-1-git-send-email-amittomer25@gmail.com> References: <1586176111-31003-1-git-send-email-amittomer25@gmail.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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.102.2 at phobos.denx.de X-Virus-Status: Clean Devices like uart and clk are needed to be enabled before relocation. this patch adds u-boot.dtsi file that mark these device as dm-pre-reloc. Reviewed-by: Manivannan Sadhasivam Reviewed-by: Andre Przywara Signed-off-by: Amit Singh Tomar --- Changes since v9: * Added Reviewed-by tag from Mani. Changes since v8: * No changes. Changes since v7: * No changes. Changes since v6: * No changes. Changes since v5: * Added reviwed-by tag. Changes since v4: * Moved it to 08/11 to 06/11. Changes since v3: * Replaced dtsi with dts in subject line along with arm:dts: to the prefix. Changes since v2: * Added License. Changes since v1: * This is newly added file that was *not* present in v1 and contains u-boot specific changes. --- arch/arm/dts/s700-u-boot.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 arch/arm/dts/s700-u-boot.dtsi diff --git a/arch/arm/dts/s700-u-boot.dtsi b/arch/arm/dts/s700-u-boot.dtsi new file mode 100644 index 0000000..a527ccc --- /dev/null +++ b/arch/arm/dts/s700-u-boot.dtsi @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2020 Amit Singh Tomar + */ + +/{ + soc { + u-boot,dm-pre-reloc; + }; +}; + +&uart3 { + u-boot,dm-pre-reloc; +}; + +&cmu { + u-boot,dm-pre-reloc; +};