From patchwork Tue May 19 19:23:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1214 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 D09BC3F086 for ; Tue, 19 May 2020 21:24:38 +0200 (CEST) Received: by mail-pf1-f200.google.com with SMTP id z2sf426684pfz.13 for ; Tue, 19 May 2020 12:24:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1589916277; cv=pass; d=google.com; s=arc-20160816; b=IwyUyPmTVNJwJeY6vtvRgK37GHcTf+uZn/OJoww1/vcN42QVLZTMjE+QKx28IB67IY AtwP38EciXaAHZZoE5njy2fkDiMuarQmWrKu9g94ViKBk561j6vZQHK4Mihs0HlS2wrE LPZ08xXhdsM1jf2eYWVItsxsrfPNHhxDdmxtJwKFtoIh2jFdARxuT64PS2NCNjlL21qn Hfh+HsgYkzaAPD+lptmMY22r5dNhqOPW9QKJOp1MXLI/W9wisRu1EJ9CiGAPBtyLzV5t Y0nc/EcwveRXM9hsOf3TDphWafT2V7ObRsJXJIkprZMBfW8WacNYokHI6X60D6yss17H Y3ig== 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=6U/kS3aODiZDf1gpkkqIzPXQqKLQStCMPf/2/qylWNY=; b=qDb8LPuVXmvRHUYmU5rt8MNPKNxK/SzMo/ouvXqxhbErduyTvafBEF1iGRQT734Lp9 lJgcY5MSwvVtYvgzMy+c6/fL0zDTa4EwAnK/MNjZGNu8CgFyfE0YIc8a6No6nsGw3nci tmH+Cq8B2EAobjNIbI//FXeVHbtBHKIWKXJnHwG5nMkwqTx6V9alO9VCjrFJsIHkWJUW n8870gtL2ogMSt1ehBKGK9DNrS818QRnjZ1uW8wX8xIVx8JrWZRARc5oTXyh26kPS24q cS5IuTE3sdxIekmRca3Q/5z53U5nQCS/ZVkmYAkBHkHAmj2tMUXXhKBDXXbnYXooZLU9 7Oyw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=AnuMOFdw; 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=6U/kS3aODiZDf1gpkkqIzPXQqKLQStCMPf/2/qylWNY=; b=RU3YQ6EJHNKDYjNGt733SbXqR5om9d3r3yn0c9RcqOiX/epUKOen6SEX8YoiBY27oA Qu/zjG8n9idlqkvB9khyyFOpLSxH/5RYO/1lacAju04TOMsjKYsSf7YOsB/78zuYJQmI YbRAckDHQ7kt7aebAix37Mvx29fll5QcD1omE= 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=6U/kS3aODiZDf1gpkkqIzPXQqKLQStCMPf/2/qylWNY=; b=T4VmiYj9HwsSEgGsiChjc8vy5lGjGYXucXTfr4u0p2PMhBZ9UZ9o0a75MyC4s76iVv kuwG6PCn1/wY/UD6RjJ4o8uJ6Uzty8xeFMkVxIuDSfed/KQcKeGHP7xXPh8GiGevt6qP TISpLBUc+OOJMKhgK2OWh7M3kTXdDLUy+VED7vbRV5EcACexwTx8qWsBUcoKKBgyuuCP hzg3rM57pDeBnBmAH55NLzAw9vveJBK2vdd7UjIU5gX2CVUoVJv7bZ4wqIV0yfK24n0r 6VnM4jx7Lrvienz6rHqvgWUznpA9p7IX79AttMSKyEB5ggjjKAx9WipT/2fQLig6qeX4 uyeQ== X-Gm-Message-State: AOAM53010BoG8rRdXVEeg4wrM0dAG4MDWRX4xWfHeKy2dr2SzCKxoQ+Q 38Ro3XdUR/WIWjR1FG2547DiaA6U X-Google-Smtp-Source: ABdhPJw+FV10bxJfXhEusTHYSeUMc+8pCEczoUx7IZ/NyslFLewxgoccAmIR7kmnS12QJ6I2x1qxxg== X-Received: by 2002:a17:90a:5895:: with SMTP id j21mr1151906pji.92.1589916277057; Tue, 19 May 2020 12:24:37 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:b702:: with SMTP id d2ls94600pls.6.gmail; Tue, 19 May 2020 12:24:36 -0700 (PDT) X-Received: by 2002:a17:90a:4495:: with SMTP id t21mr1076201pjg.185.1589916276586; Tue, 19 May 2020 12:24:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589916276; cv=none; d=google.com; s=arc-20160816; b=X3I0CNlwkv5Yr/We8kPAHQlvpLVqJXVYXq/9shAOpludXf9nisC5ZYt3uEn7KLvnfr +hJ37OVo1ovnSl/d/LHPM07yc8/Fe0bWl1MI5acQxZepR2CP4oQHN4FNFX/frNjljNu5 DabBA0k8Y+fU7Qq+zT5kNTqFoTCnHk2D08vRKNuL3nA+IAnm9US8u1UIKQZcqzbcaBZF tV4vXjomBDSwWIxle8S/uIaYZUCeXQP0KxFYC424G6stab/DhX4HLXrQ0D3zRgBLBn9O 8jzfxgf6yb8/YoeTrKZxvP3hEt+sJruS4Mym8HI1dDS3YxcsTG1Ed2JXAiJn6SIDWh6z VcLA== 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=wQRnrCcKBaUZ5qrH7kStrqLRK78MH5/+WJ8rfYLkS4E=; b=lzuIcXkuUtbEnqquvX+w1Ner5JXwH0shUO0IHEIPBpBuc0T5OM2UFhIlVa6bM4EGjd 7vCIZ/vEiRmLtzYPkHOpzlKQCvuSaKFAObaWwDNom0y5PnAwlSKnG4e7uOwiBWWAdDwp WmG0/BtB+5oMSg/rFwRwx0AmQwIzBpgTXE+SfLyZw1dxms2EPk9sXcvzxgx48ir0KcUY EAhv/sYyzhKKni2LgYrBR4jEi9AIgH7P6G3AEcxIDNndlXlFUf22KwqaqusfuVzo0k5u IKk0dB5pjblVhRY8lV7O5sA5LeotkeARKd2CWt2A1ry0jEaUfFOtZbU7T9SRqr3PwJZj 28hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=AnuMOFdw; 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 66sor417083pfa.0.2020.05.19.12.24.36 for (Google Transport Security); Tue, 19 May 2020 12:24:36 -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:a63:b0f:: with SMTP id 15mr702692pgl.6.1589916276314; Tue, 19 May 2020 12:24:36 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:713c:4a0a:47eb:ffcd]) by smtp.gmail.com with ESMTPSA id w192sm222553pff.126.2020.05.19.12.24.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 12:24:35 -0700 (PDT) From: Jagan Teki To: Rick Chen , Atish Patra , Palmer Dabbelt , Bin Meng , Paul Walmsley , Anup Patel , Sagar Kadam Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v2 3/9] riscv: dts: fu540-c000-u-boot: Add sifive, fu540-modeselect Date: Wed, 20 May 2020 00:53:34 +0530 Message-Id: <20200519192340.16624-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200519192340.16624-1-jagan@amarulasolutions.com> References: <20200519192340.16624-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=AnuMOFdw; 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 sifive,fu540-modeselect node, which usually get runtime boot mode of fu540 boards. Signed-off-by: Jagan Teki --- Changes for v2: - new patch arch/riscv/dts/fu540-c000-u-boot.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/riscv/dts/fu540-c000-u-boot.dtsi b/arch/riscv/dts/fu540-c000-u-boot.dtsi index fc91a7c987..0ccda0e59b 100644 --- a/arch/riscv/dts/fu540-c000-u-boot.dtsi +++ b/arch/riscv/dts/fu540-c000-u-boot.dtsi @@ -48,6 +48,13 @@ soc { u-boot,dm-spl; + + board: mode@1000 { + compatible = "sifive,fu540-modeselect"; + reg = <0x0 0x1000 0x0 0x1FFF>; + u-boot,dm-spl; + }; + otp: otp@10070000 { compatible = "sifive,fu540-c000-otp"; reg = <0x0 0x10070000 0x0 0x0FFF>;