From patchwork Sun May 17 08:19:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayagonda Kokatanur X-Patchwork-Id: 1292058 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=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.a=rsa-sha256 header.s=google header.b=SF3fXnLG; 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 49Pw9F6MnNz9sT6 for ; Sun, 17 May 2020 18:21:53 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7762281885; Sun, 17 May 2020 10:20:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.b="SF3fXnLG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C058081861; Sun, 17 May 2020 10:20:48 +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,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (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 611BF81822 for ; Sun, 17 May 2020 10:20:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rayagonda.kokatanur@broadcom.com Received: by mail-wr1-x429.google.com with SMTP id j5so8192970wrq.2 for ; Sun, 17 May 2020 01:20:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=uyNXn8x2jRWpFOp7roVrzYzikns4TNA7uOI3Xb82TME=; b=SF3fXnLGAWBk2XHD75PyXS1FxZ2SAACiDTunZy21zohc/YTSDjdbLyipcaMcqviPla Y5Jn3TMqZuOdv7sjfHJ99oxNjBgwvXj1ES9bHULoPrkFH+D5Cil9AdF4bWbYCTApKOIo qnDHGpcgYypJmHBsp6IQCEyzEBOg3rOxA7q9w= 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=uyNXn8x2jRWpFOp7roVrzYzikns4TNA7uOI3Xb82TME=; b=HGG+V3cgUWd6XxYjb/idqd78tW2tEVAVSLcS0BkjhDSBbUBpMVjB0LYByZq1IIQfYg afe4lh6p18yeO3SuDupSgF6+9LCihgx5w+fcxHIHCiVZB3RPA1T1SHKvfNRR7SwSAPjA xk2Q8wNW7/CBNv0F0C95xy9nvBSHcCv80p17RzyP+0bxbeWSG4qkTNjoMF010845Phbd 1H/OeHWRGT/M/tILNSH/Ac6yMVOImVqQPqqnuE6zjjOge+ZpkuA17yZpJOaXoKLWu5P9 /Ssza70Qa0Df6UXBe8WnIL3TvyIQMHLa3i/3NrYfCoOzhSN8vHAMZIOEKuKwwKxI8hqY TPpw== X-Gm-Message-State: AOAM532of8HczdT+vnUj/WfGNOFQkVic/VqRBuq9P44x5K71tkIn4fDM OXNx8/zj52xYCxgMLYhqIIhO64RWYyIJxboFuv/M7qSIL/6Ax8NydPV1Feu6j6jf7qA2hxi/EhK U6cj8zuc2I+4p+8/eL8a8PjuNED9Auy2Ykds/dlfaQqSDkJujyCN00IAUl50zs6Pparg6/87pU8 z5j7Q= X-Google-Smtp-Source: ABdhPJzuepQ+ejaWRVtlPMRCh3uGyWVCfwSa5ftoJ6xVOEtYZzpyrcpOWXzaeLaVKLS1wpBTKZi5Qg== X-Received: by 2002:adf:8b98:: with SMTP id o24mr13788418wra.156.1589703644392; Sun, 17 May 2020 01:20:44 -0700 (PDT) Received: from rayagonda.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id b65sm11735427wmc.30.2020.05.17.01.20.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 May 2020 01:20:43 -0700 (PDT) From: Rayagonda Kokatanur To: u-boot@lists.denx.de, Simon Glass , Bharat Gooty Cc: Rayagonda Kokatanur Subject: [PATCH v1 08/15] arm: dts: ns3: add qspi node Date: Sun, 17 May 2020 13:49:38 +0530 Message-Id: <20200517081945.21282-9-rayagonda.kokatanur@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200517081945.21282-1-rayagonda.kokatanur@broadcom.com> References: <20200517081945.21282-1-rayagonda.kokatanur@broadcom.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 Add QSPI node and qspi NOR flash node for NS3. Signed-off-by: Rayagonda Kokatanur Reviewed-by: Simon Glass --- arch/arm/dts/ns3-board.dts | 16 ++++++++++++++++ arch/arm/dts/ns3.dtsi | 9 +++++++++ 2 files changed, 25 insertions(+) diff --git a/arch/arm/dts/ns3-board.dts b/arch/arm/dts/ns3-board.dts index 45565c9c73..78a69ac3f9 100644 --- a/arch/arm/dts/ns3-board.dts +++ b/arch/arm/dts/ns3-board.dts @@ -35,6 +35,7 @@ aliases { serial0 = &uart1; + spi0 = &qspi; gpio0 = &gpio_hsls; }; @@ -47,6 +48,21 @@ status = "okay"; }; +&qspi { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + spi_nor_flash: spi_flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <12500000>; + spi-cpol; + spi-cpha; + spi-tx-bus-width = <1>; + spi-rx-bus-width = <4>; + }; +}; + &sdio0 { status = "okay"; }; diff --git a/arch/arm/dts/ns3.dtsi b/arch/arm/dts/ns3.dtsi index 7f94b922fc..7681bbc673 100644 --- a/arch/arm/dts/ns3.dtsi +++ b/arch/arm/dts/ns3.dtsi @@ -33,6 +33,15 @@ status = "disabled"; }; + qspi: spi@370000 { + compatible = "brcm,iproc-qspi"; + reg = <0x00370000 0x100>, + <0x00370100 0x100>, + <0x00370200 0x200>; + reg-names = "bspi", "bspi_raf", "mspi"; + status = "disabled"; + }; + sdio0: sdhci@3f1000 { compatible = "brcm,iproc-sdhci"; reg = <0x003f1000 0x100>;