From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 92CC5C433F5 for ; Tue, 11 Jan 2022 13:21:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1462780FD5; Tue, 11 Jan 2022 14:21:25 +0100 (CET) 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="HKMsU+bL"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 129B1803CE; Tue, 11 Jan 2022 14:21:24 +0100 (CET) Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) (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 308BB80FD5 for ; Tue, 11 Jan 2022 14:21:21 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=aford173@gmail.com Received: by mail-il1-x130.google.com with SMTP id c4so14440350iln.7 for ; Tue, 11 Jan 2022 05:21:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jSMEztolCHoSdJVQDP015PoO89ADRcYOwzKs4DBA8H4=; b=HKMsU+bLY8AKMdzMgHZhzrSaMxE1b9X9YQ92SdvzYXw/ymY8VpVT1Xc4ZHEzeVQowy wF9wyIyMfPPjC3Y2ZSOAapjLB3lHHMv37SrSdKTa881/UkCDt5r+sZnXOI2BoA8LGAo0 AKS2sGJEvoHeoJRRgYpijK5ESRouCuySVJZNXpTuNZ7Zt247C+3p6Y4iecvKMzSqJV/D BcLPqhNKRtsLACTI31sgqPQ9aL4kwnBI3Qm2dCDRCmKKyBbVdMMGY0Y7WxtV/nk8HN+x +UIBjaQ6kvSWmN+yJ9kq+YE3M8S91xP2fJ7tmcX53i2wX9vyGbjWAT2MazBXhGqwJ86E rMdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jSMEztolCHoSdJVQDP015PoO89ADRcYOwzKs4DBA8H4=; b=GbThzhKt6X9TCF4ccSBzIHSV7Jsi7y9k9KWshizWm5zwyfugB3FQnG+NX5BGaSfSgC vpJPgVu3+r+jEKLAQlBS8Nz6q9z2sfcIkgiRdW5PRz3batVoQ8b2/0PcCQLHaBmL83ea z2K2r0Q6xsSDZ0NQ2+x8dOfhNiY7oooizsLC/TXqIpC9nGwR5UejRXB32uhUmzVg5uiE IKGkHZDuCr0DII+6bME/QXb79hWj88xfMWkfb2IIJ392JXmlfs9GhnVFzjBllbx1zXKB o2Ppgb+CXAec61bVdXv6TpMEvQ/dOv8znCiResdjGNvNi8vd7hWoV+GcFv2EWGb3L3te eDoA== X-Gm-Message-State: AOAM531ocj1YjAMMj2CLy7iLaKJj3zk1zOLue9G140vrqdKTyJMzdp+Q RlZw3N8kbBPno52eMamYGTUlS0NZLbp6QQ== X-Google-Smtp-Source: ABdhPJzCRBdLNuvY89JWSPdRJVdxIg2LAX42Nas9ggIpIeWk16eFuc2D+RXSA1d0cXZBBPGFWoL0Wg== X-Received: by 2002:a92:d7c2:: with SMTP id g2mr2472501ilq.213.1641907279161; Tue, 11 Jan 2022 05:21:19 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:4c04:d3be:5d02:89a]) by smtp.gmail.com with ESMTPSA id r9sm3651534iln.30.2022.01.11.05.21.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 05:21:18 -0800 (PST) From: Adam Ford To: u-boot@lists.denx.de Cc: marex@denx.de, Adam Ford Subject: [PATCH] arm: dts: rz-g2-beacon-u-boot: Enable pinmux for QSPI Date: Tue, 11 Jan 2022 07:21:06 -0600 Message-Id: <20220111132106.4669-1-aford173@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.2 at phobos.denx.de X-Virus-Status: Clean When booting from QSPI, the boot ROM appears to mux the QSPI pins, but it's not guaranteed to be setup when booting from eMMC. Fix this by explicitly configuring the pinmux. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/rz-g2-beacon-u-boot.dtsi b/arch/arm/dts/rz-g2-beacon-u-boot.dtsi index ef0b96a71e..4d17854918 100644 --- a/arch/arm/dts/rz-g2-beacon-u-boot.dtsi +++ b/arch/arm/dts/rz-g2-beacon-u-boot.dtsi @@ -33,12 +33,21 @@ u-boot,dm-pre-reloc; }; +&pfc { + qspi_pins: qspi { + groups = "qspi_ctrl", "qspi_data4"; + function = "qspi"; + }; +}; + &prr { u-boot,dm-pre-reloc; }; &rpc { compatible = "renesas,rcar-gen3-rpc"; + pinctrl-0 = <&qspi_pins>; + pinctrl-names = "default"; num-cs = <1>; spi-max-frequency = <40000000>; #address-cells = <1>; -- 2.32.0