From patchwork Wed Oct 16 14:58:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 860 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CA5063F039 for ; Wed, 16 Oct 2019 16:58:41 +0200 (CEST) Received: by mail-pl1-f197.google.com with SMTP id w11sf14340651ply.6 for ; Wed, 16 Oct 2019 07:58:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1571237920; cv=pass; d=google.com; s=arc-20160816; b=ewgcfT/BElspQV+3jgxRTcz0s5GaEUdp4Wej5XvboEiJUZWQoRNM+QAX9m+NJObRv/ E0VQ7GBsdzTOao35XelBp9EF15mwJZvXlhwzoyFjDuYCKBXrfKmPPvuCO+8/Pb3WeweI to8RNMxGY3tnXGzUKpQFJbTGO/PhMrhzWCAFs2HVkZvhmVxOhOQpL1UL7ptuIllqS7Za dz+1NgwkGrHo76vmvtczrvMemhbBZxR6UjGzvXG3/Atu6Wppecw1ZUJMYQ2uDLtC2llI prafnLXrJ/UyhvuNXbl25QqXcfiYulGg5wfmeBA88T6VWzpnZUDmh0YY+T2rxHP0XlLt ovgA== 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=G7sbcSxLF+3XkUxgAbdXlrYRoUGIuAfYozLpSZnSVAg=; b=P6hDgh7tkEP7YCTvDKOvG75wqy8H59uI7fBObxZ94vVjxW5/TOYiaoHln9m7q17IIp n0+bgLMfQq7tGqHBnPjl/VfwR8TadWJfVr+BT6tMzzcZsywe6YEuH47kNZVcJ2nEvz2K 5EnzRu+vF0gOfN55qAigJbztIjRAAs6Dc6hqR0WGJdEpotifBnygyW13FrzG1BFjs5oE lR4btIUZ+JhiyFXEu4IbstIU8pzKpIJ0EfTJqTR5LD8rTyyBZt3mG66l3nDNPYrlILgU HriogAjhhBCRZoskJy/++OItL+UHJx/3YQb8n9t2/OnC9QuLjJXbf+nB6ycAlm5tzLaf j/lw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PvSNDpQ9; 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=G7sbcSxLF+3XkUxgAbdXlrYRoUGIuAfYozLpSZnSVAg=; b=GvasaEm+sl7WLZTzvECiRvylxNjECPYAZGQgRnceLalPyKrjyOAyJU4v1yxD79IeCW ZprxKCKZVO1MoZcd4y6x+Iz1pu2SpVjFhcVByrw+FlKNen4Y92u2eK2DisCSEaDNgRXK QRy1AbOTX80dh4x1ddcHacmRxNXD1oFZoezRg= 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=G7sbcSxLF+3XkUxgAbdXlrYRoUGIuAfYozLpSZnSVAg=; b=t6mIlNsWd5iB7Ss96vWcNv1qFG4Adf6BV8GeyUvdeDHGKRsrZkt4Ro1oJl8ylm7KrZ yvhq58oUYZ7FkiP9AjfjtsmE8UGD9UmVEd0Mw5TXajbQKjKqSd/5ZWIKiXemUrPDd35g EFvEdf/N/c1402REuu9dOXALA5e/7Sn5u9yDRquahYRxq3o2rLjlewc6T9/OFxBTitod 9a5+r7bZtrzzkZ5FgTiM9Zu2lAHbVcWSEPTaVQ8vfEsMtNhwzrif6QMv9gu9XHacclH4 NY2NBfEqeU5l+aan+6DXBs6l6IGMlZR0tYLb0z467XI46h6e9VbDc57tXvHeQvwGOZet Ty9A== X-Gm-Message-State: APjAAAXxw2ag4IG6KKUCA8zGdGCHt3sb1gef98ZQ+vtsdngyqbXxlbzb vhMkn5VpXt3i1LRdSbpZEFPdu14U X-Google-Smtp-Source: APXvYqwICt4J9NKoVV53WQYrBsaVfgooS/rD9kV5DPHLXO25dZUTMdCDCsOAd25b4FCZM7v2AZwXVw== X-Received: by 2002:a63:710:: with SMTP id 16mr18999797pgh.329.1571237920454; Wed, 16 Oct 2019 07:58:40 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:4d1:: with SMTP id 200ls5822026pge.16.gmail; Wed, 16 Oct 2019 07:58:40 -0700 (PDT) X-Received: by 2002:a63:6f0c:: with SMTP id k12mr43215362pgc.97.1571237919849; Wed, 16 Oct 2019 07:58:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571237919; cv=none; d=google.com; s=arc-20160816; b=d2r+8QGIl4Wh+i4EX027SMvDo8CuNz4rhrOHwAOPeP2TPKb2pTm1Dl22dcCmtB4jey CFech6dpfLS1XurXHNprqRr/y8oQ+K96cCoyZV8umSUZcb9s9L2a3WcE3CWDYJfJnJ6c Xj46bU2IvNhmHGxWWeIXRF3dAM11zw2+a/og9Z3iKe6gx4s4wHUncNSiQOwpQQ+BcdhB 3IffCWTVDo4aByfMCPUBgKEIbYrhZR9mZL1aevqt5GUrEfS+T5o1J4Tg6A+7rjRBy8PB fogMfewTYHQIvOWQNvZfOH8tLRfdRl+l7sBBj34r8EePIqdjH3WqVLphcM/QITmThPt4 liEA== 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=WCrSXHULd2WrBjIQ3nvzpUExJcEaw9mMZr11Mt1cgm0=; b=qvhIf7TL4AVkkKeUl/vM7fMv2THpfIgPOWZdB5H5MNXiSnLvhQKCjUKwiJjmRwMS+W AUEo88P9eZXpkl2kH59WQN01+CiUL3sDX3Rj9LlDR9vohir1QH+bXzV3siU5ynFrO1Y1 ZhfGw2cUjL3RPOc+MJ6OC0N6nnev5W2PXq50sDNGmmKGuD7UFUy4gtKt8ZIytn5Uny3s TQ5Y3ZQ1iIsgyQwSRx7mO4dL9fLKdkStGwQcB+48VmKYGU3/s5Cm1PVXCXDqgbExLQNt q6siEuo5EBH8djzl0AUBFizjq4L75DAI2FnGkGkmtOKOnoj5k9s9obNaRR07vdhda/ST m1vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PvSNDpQ9; 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 g2sor32072205plj.52.2019.10.16.07.58.39 for (Google Transport Security); Wed, 16 Oct 2019 07:58:39 -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:a581:: with SMTP id az1mr40718752plb.311.1571237919464; Wed, 16 Oct 2019 07:58:39 -0700 (PDT) Received: from localhost.localdomain ([115.97.180.31]) by smtp.gmail.com with ESMTPSA id q29sm5534110pgc.36.2019.10.16.07.58.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2019 07:58:39 -0700 (PDT) From: Jagan Teki To: Rick Chen , Paul Walmsley , Palmer Dabbelt , Anup Patel , Atish Patra , Bin Meng Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v2 4/5] riscv: dts: hifive-unleashed-a00: Add -u-boot.dtsi Date: Wed, 16 Oct 2019 20:28:13 +0530 Message-Id: <20191016145814.19036-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20191016145814.19036-1-jagan@amarulasolutions.com> References: <20191016145814.19036-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=PvSNDpQ9; 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: , Add u-boot specific dts file for hifive-unleashed-a00, this would help to add u-boot specific properties and other node changes without touching the base dts(i) files which are easy to sync from Linux. Added spi2 alias for qspi2 as an initial u-boot specific property change. spi probing in current dm model is very much rely on aliases numbering. even though the qspi2 can't comes under any associated spi nor flash it would require to specify the same to make proper binding happen for other spi slaves. Signed-off-by: Jagan Teki Reviewed-by: Bin Meng --- arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi diff --git a/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi b/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi new file mode 100644 index 0000000000..25ec8265a5 --- /dev/null +++ b/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi @@ -0,0 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019 Jagan Teki + */ + +/ { + aliases { + spi2 = &qspi2; + }; +};