From patchwork Mon Jan 30 22:00:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hawkins, Nick" X-Patchwork-Id: 13121954 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 179A9C636D3 for ; Mon, 30 Jan 2023 22:04:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8RkX6GMh64BzThg6XLQT8VbKT9d3nA3hrB+vMnJtItw=; b=KNSC+V+M2VhFXC vHKRmXc/3f/+Cj5veprssQ4ehkcRNsi7k8JGpfT7sb5duMrWZ6P6T2TcyXYgK+ooxf40xt/VVkZHB iui+VNCeGsDKKp17F6hf9XE5BKLRMRNMjRo19lQ0aLRkMZxtShtzHxCRRxYTMFhsBflgjbiL3uwmc 8oR+Cca5lWclNldxYX+2ebvmgOzgRlfzOj+g8IpoZ39bm2TlAbf6pLdiUfoaMI0IBavlfv5SxMfDX eoa2sA0ALei/ZZOMeQzA4aW7s4oYcoURRQavG+fhhnuBWcrlLOEOOIUM5yjlzM1Ijmy/Rz4507GMG D41mrTJWsH8HWItBKAhg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMcFp-005aVu-PJ; Mon, 30 Jan 2023 22:03:57 +0000 Received: from mx0a-002e3701.pphosted.com ([148.163.147.86]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMcFT-005aOJ-1I for linux-arm-kernel@lists.infradead.org; Mon, 30 Jan 2023 22:03:36 +0000 Received: from pps.filterd (m0134420.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30UKmOvg012191; Mon, 30 Jan 2023 22:03:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : subject : date : message-id : in-reply-to : references; s=pps0720; bh=+Dkted+K+t3Q4FXtgzvI6mElOa1fT1XFa7VU08pte4w=; b=FZy/tOp/giz1hk6XJpBWx5oxttj0ArByUZMo4xBXQnuelOn6y2Y4afbmw5z1+uX9dAFK 5wdqysQW2qHC1vDbFMoAP0bMsc1kne8QC1f1lCrkSjZkx+VHMG6wd7HTAyJQCtKHtZyw yRu+CV4QlWgZH7ImUGH81haxzqzQiSnu7ukX81F6shdJ9GCBsCmckp1AbrAfWfQb9elY 4k0Z/Tnk0WikKHe52cafc+C5o6TfUkPp5hGIx/F7Z+bAJFM34etMH1I1275RhElMTs46 SNRnh3lrzzUnxV0G03206QGst1Vh1RHQWrryyX7Fnw2EP1V9CBijm7bv02QVKlUvsMPZ sw== Received: from p1lg14880.it.hpe.com (p1lg14880.it.hpe.com [16.230.97.201]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3nefv6vm2v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Jan 2023 22:03:19 +0000 Received: from p1lg14885.dc01.its.hpecorp.net (unknown [10.119.18.236]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by p1lg14880.it.hpe.com (Postfix) with ESMTPS id 59F8B809101; Mon, 30 Jan 2023 22:03:18 +0000 (UTC) Received: from hpe.com (unknown [16.231.227.36]) by p1lg14885.dc01.its.hpecorp.net (Postfix) with ESMTP id F19CE808E84; Mon, 30 Jan 2023 22:03:17 +0000 (UTC) From: nick.hawkins@hpe.com To: soc@kernel.org, arnd@arndb.de, verdun@hpe.com, nick.hawkins@hpe.com, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v1 1/1] ARM: dts: hpe: Correct GXP register ranges Date: Mon, 30 Jan 2023 16:00:56 -0600 Message-Id: <20230130220056.14349-2-nick.hawkins@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230130220056.14349-1-nick.hawkins@hpe.com> References: <20230130220056.14349-1-nick.hawkins@hpe.com> X-Proofpoint-ORIG-GUID: HplMZvtTvFAkQindG2l_9790x9hLiQpu X-Proofpoint-GUID: HplMZvtTvFAkQindG2l_9790x9hLiQpu X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-30_17,2023-01-30_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxscore=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 impostorscore=0 suspectscore=0 mlxlogscore=835 clxscore=1015 adultscore=0 malwarescore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301300202 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230130_140335_110795_EE7BC81A X-CRM114-Status: GOOD ( 16.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Nick Hawkins Correct memory ranges on GXP to include host registers. This corrects a issue where the host interrupt controller is not available. Additionally there is a large gap of reserved registers that will not be used. To avoid this area two ranges are used. Signed-off-by: Nick Hawkins --- arch/arm/boot/dts/hpe-gxp.dtsi | 41 +++++++++++++++++----------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/arch/arm/boot/dts/hpe-gxp.dtsi b/arch/arm/boot/dts/hpe-gxp.dtsi index cf735b3c4f35..30ed921f83ac 100644 --- a/arch/arm/boot/dts/hpe-gxp.dtsi +++ b/arch/arm/boot/dts/hpe-gxp.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * Device Tree file for HPE GXP + * Device Tree for HPE */ /dts-v1/; @@ -43,7 +43,6 @@ #address-cells = <1>; #size-cells = <1>; ranges; - dma-ranges; L2: cache-controller@b0040000 { compatible = "arm,pl310-cache"; @@ -52,73 +51,73 @@ cache-level = <2>; }; - ahb@c0000000 { + ahb@80000000 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; - ranges = <0x0 0xc0000000 0x30000000>; - dma-ranges; + ranges = <0x0 0x80000000 0x20000000>, + <0x40000000 0xc0000000 0x3fff0000>; - vic0: interrupt-controller@eff0000 { + vic0: interrupt-controller@4eff0000 { compatible = "arm,pl192-vic"; - reg = <0xeff0000 0x1000>; + reg = <0x4eff0000 0x1000>; interrupt-controller; #interrupt-cells = <1>; }; - vic1: interrupt-controller@80f00000 { + vic1: interrupt-controller@f00000 { compatible = "arm,pl192-vic"; - reg = <0x80f00000 0x1000>; + reg = <0xf00000 0x1000>; interrupt-controller; #interrupt-cells = <1>; }; - uarta: serial@e0 { + uarta: serial@400000e0 { compatible = "ns16550a"; - reg = <0xe0 0x8>; + reg = <0x400000e0 0x8>; interrupts = <17>; interrupt-parent = <&vic0>; clock-frequency = <1846153>; reg-shift = <0>; }; - uartb: serial@e8 { + uartb: serial@400000e8 { compatible = "ns16550a"; - reg = <0xe8 0x8>; + reg = <0x400000e8 0x8>; interrupts = <18>; interrupt-parent = <&vic0>; clock-frequency = <1846153>; reg-shift = <0>; }; - uartc: serial@f0 { + uartc: serial@400000f0 { compatible = "ns16550a"; - reg = <0xf0 0x8>; + reg = <0x400000f0 0x8>; interrupts = <19>; interrupt-parent = <&vic0>; clock-frequency = <1846153>; reg-shift = <0>; }; - usb0: usb@efe0000 { + usb0: usb@4efe0000 { compatible = "hpe,gxp-ehci", "generic-ehci"; - reg = <0xefe0000 0x100>; + reg = <0x4efe0000 0x100>; interrupts = <7>; interrupt-parent = <&vic0>; }; - st: timer@80 { + st: timer@40000080 { compatible = "hpe,gxp-timer"; - reg = <0x80 0x16>; + reg = <0x40000080 0x16>; interrupts = <0>; interrupt-parent = <&vic0>; clocks = <&iopclk>; clock-names = "iop"; }; - usb1: usb@efe0100 { + usb1: usb@4efe0100 { compatible = "hpe,gxp-ohci", "generic-ohci"; - reg = <0xefe0100 0x110>; + reg = <0x4efe0100 0x110>; interrupts = <6>; interrupt-parent = <&vic0>; };