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: 1293696 X-Patchwork-Delegate: jagannadh.teki@gmail.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=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=AnuMOFdw; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 49RQnh2y6Nz9sPK for ; Wed, 20 May 2020 05:25:12 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 50B5181E2A; Tue, 19 May 2020 21:24:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="AnuMOFdw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6387A81E17; Tue, 19 May 2020 21:24:42 +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,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) (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 E4D4B81584 for ; Tue, 19 May 2020 21:24:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jagan@amarulasolutions.com Received: by mail-pg1-x542.google.com with SMTP id n11so273425pgl.9 for ; Tue, 19 May 2020 12:24:38 -0700 (PDT) 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:content-transfer-encoding; bh=wQRnrCcKBaUZ5qrH7kStrqLRK78MH5/+WJ8rfYLkS4E=; b=AnuMOFdw5+GvR7jKRZ8GkOHu54O63BP6J/WAoe9ci7hekGIPSbG8UbxLWb4qY7AfW3 3GuQpQ/K9Qhn1/aF93FK5Svl/rL0FEN1QOx/TFM4E97AvVK04jjeiyweKLyh8VFNjd6y iGTtkUUwJaKMmAaMqhiBZBQS/WqywN1CO7RLI= 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:content-transfer-encoding; bh=wQRnrCcKBaUZ5qrH7kStrqLRK78MH5/+WJ8rfYLkS4E=; b=eKcLWWRnbg9TioctPfyYxQ6S9M1NrS5a9R1uMoZFqDtkyhCh9zORyqXgci1gR53S0s ZQKEFmI0MjVj22/59XmzAnJPJjGGOMxdysU5ZKkHOITXMVccAl4OytDzUt5A1yqxzHFq U2vAKtwvmchkZdJcElg+SKZ7sAeViflLssuJ+LJMPiG8m6DYLuuJRhpq18lRx1NgD7PV rTt7Ry46EDeIU4+P3pwzF06oo44le+LqrXafpMS5jczxiYLnVjaKa+VnClGlwHa5Zoa8 6L5aKHG/bxzFYcSzI8hGsuO9AhrSNa98eThEdkyOVF4KuQ38AUAcX4DPtCMHSBufTVks VLTw== X-Gm-Message-State: AOAM5330zOgkGwmDDR9Vm8bmGWMgzfH8rw0dMRCowqlKW00sSR0+fQMP qLlwVyZPZeWnzwPYrG/8r2ArBpoL4dV21Q== X-Google-Smtp-Source: ABdhPJw86K9ZPEmmo1pMXwE8ZEsBUASmoHOr+Ecj8jcbrPSwV2FK4FyHjmkHGyVSaTRaFCqNOYPg8w== 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-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 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>;