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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E546FC433EF for ; Wed, 17 Nov 2021 01:25:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CDCF661BFE for ; Wed, 17 Nov 2021 01:25:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230089AbhKQB2a (ORCPT ); Tue, 16 Nov 2021 20:28:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229568AbhKQB23 (ORCPT ); Tue, 16 Nov 2021 20:28:29 -0500 Received: from mail-pj1-x1049.google.com (mail-pj1-x1049.google.com [IPv6:2607:f8b0:4864:20::1049]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98480C061570 for ; Tue, 16 Nov 2021 17:25:31 -0800 (PST) Received: by mail-pj1-x1049.google.com with SMTP id gx17-20020a17090b125100b001a6f72e2dbdso400666pjb.7 for ; Tue, 16 Nov 2021 17:25:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:mime-version:subject:from:to:cc; bh=jzis9D6fqTyyLA02o3dSfzs5yeXW2O0+Qf+DxR2EUps=; b=bTiS7jnTXeCNNkiePPmzv8eI5F02AN9TpuuVmOQmReiT1bttmG112fOlQa2HVmv7iK vaqEBALepUgjzMRx6MtkCQ/yMlvPV+V2UB1XXSG42pyi/mkcKk80NE7oG3E2Er2By4Iw aA2rTyz5rOvRZONXeD3K1GdbBbHYBjDKxA3B+jegyj3qAfQxakwKdwSnGzCAZZKr9D8S 0i88cUzVgCzmVzhpLpqul3o6ducwtkzVXjgo4n6eevI3iq7iorMJ2yGjjECmT5hbNF1q tnOB6GZDkgwU89OAMty7oTApkK18b7Qs4fVGCcYFL2InhDBPtToim1uW5H5sFycHfOx0 yLHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=jzis9D6fqTyyLA02o3dSfzs5yeXW2O0+Qf+DxR2EUps=; b=XzpTOwrN7ZjfAeLZMO2X9caAvOuGLrRtC65RKNkyIQKr7XxvxQyssVvVtR9qRjP3Oc Oav6yJPKa5jQXCku36bErKuJRAppjv8Nf8kqTU9GcBSLv/qbEOEt7Pab3pkIPXZa9eX4 CElulU09R07ezpGAH4BxfvaigSUuuYGbogelQmNr0v3F9ivmcQX+X10j4ks6HqF9A+lr rjppX06Oq9ESMXE1TQin2q9z7ldRmbWZCApNFXpUf+cIIv6zsFGZaTU9sYT5yBi7GSkn YGHP4yv7Xpu6mvK8u9MYJTp6JLOPo66+/vn6bdZLrQxe0bFlvXICkFI2Ei7DiUlvUoJb 31Ow== X-Gm-Message-State: AOAM530vyipRSmENQ4kZhH4OQWpmifyl13jbVRVjf1kgL3vAH4kag1Fs 5yXl2Q5/xyzU6e0YtSJ/9an9b3g= X-Google-Smtp-Source: ABdhPJxKbny7Hyg+azjy336lJqICWE1jEiVwfA8cEngT+yLZ0bq0tdD7vltBF4qoJcDK4j3FUxDsi/A= X-Received: from wak-linux.svl.corp.google.com ([2620:15c:2c5:13:784a:d347:659f:f1f3]) (user=wak job=sendgmr) by 2002:a17:903:18b:b0:141:eda2:d5fa with SMTP id z11-20020a170903018b00b00141eda2d5famr50271146plg.63.1637112331084; Tue, 16 Nov 2021 17:25:31 -0800 (PST) Date: Tue, 16 Nov 2021 17:25:12 -0800 Message-Id: <20211117012512.1081593-1-wak@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.34.0.rc1.387.gb447b232ab-goog Subject: [PATCH] ARM: dts: nuvoton: Fix FIU reg definition From: "William A. Kennington III" To: robh+dt@kernel.org, mark.rutland@arm.com, avifishman70@gmail.com, tali.perry1@gmail.com Cc: joel@jms.id.au, openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, "William A. Kennington III" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The current definitions have a reg-name for "memory", but no corresponding reg space defined. These values were taken from the NPCM7xx documentation and tested on real hardware. Without this definition, the FIU driver does not take advantage of direct read support. Signed-off-by: William A. Kennington III --- arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi b/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi index aca0e0e390d8..c164ec9fc96f 100644 --- a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi +++ b/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi @@ -181,7 +181,7 @@ fiu0: spi@fb000000 { compatible = "nuvoton,npcm750-fiu"; #address-cells = <1>; #size-cells = <0>; - reg = <0xfb000000 0x1000>; + reg = <0xfb000000 0x1000>, <0x80000000 0x10000000>; reg-names = "control", "memory"; clocks = <&clk NPCM7XX_CLK_SPI0>; clock-names = "clk_spi0"; @@ -192,7 +192,7 @@ fiu3: spi@c0000000 { compatible = "nuvoton,npcm750-fiu"; #address-cells = <1>; #size-cells = <0>; - reg = <0xc0000000 0x1000>; + reg = <0xc0000000 0x1000>, <0xa0000000 0x20000000>; reg-names = "control", "memory"; clocks = <&clk NPCM7XX_CLK_SPI3>; clock-names = "clk_spi3"; @@ -265,7 +265,7 @@ fiux: spi@fb001000 { compatible = "nuvoton,npcm750-fiu"; #address-cells = <1>; #size-cells = <0>; - reg = <0xfb001000 0x1000>; + reg = <0xfb001000 0x1000>, <0xf8000000 0x2000000>; reg-names = "control", "memory"; clocks = <&clk NPCM7XX_CLK_SPIX>; clock-names = "clk_spix"; -- 2.34.0.rc1.387.gb447b232ab-goog