From nobody Mon Sep 15 23:03:10 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95EC0C6379F for ; Tue, 10 Jan 2023 04:26:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230145AbjAJE00 (ORCPT ); Mon, 9 Jan 2023 23:26:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229893AbjAJE0E (ORCPT ); Mon, 9 Jan 2023 23:26:04 -0500 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AF46626E; Mon, 9 Jan 2023 20:26:03 -0800 (PST) Received: from pps.filterd (m0150241.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30A3n9j9010124; Tue, 10 Jan 2023 04:25:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=pps0720; bh=uXvadRzdh452Znhi2px4eeo5gn0RKDj9w51c+kKDe0I=; b=CFZLnpONDrIgMQ7qNVCcp7Y2Jc7FOjlJK4P9zZ8IBzojWTQ3OlytCG17zQgrtcgTxng1 c2u6zArUKvGBPpq6tTtHRaUp9Q2aPNKqCgt8EC2S3vlkZqZS+pcWee2XhzkosCih6GsF mB+MqHsbG96tfDYHk3ZGKWGvQCyVm2DzU9tfO3hugySSplrS9UBGmBNo6ttn4ZlYPOlA sJY1OH+1z23XPGvh8/54bka/DcLi0v0FjmTzjpws4G22goVE8Y7WcncbJHLcg4zcMQ3a RJaJKPOanFbq/PTQlejiYq3gwLoSOO0Z6j6H4Vq0jDRxSEh9iUs/pe8LyZZyh51p7kqU 1Q== Received: from p1lg14881.it.hpe.com (p1lg14881.it.hpe.com [16.230.97.202]) by mx0a-002e3701.pphosted.com (PPS) with ESMTPS id 3n10eq054y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 10 Jan 2023 04:25:54 +0000 Received: from p1lg14886.dc01.its.hpecorp.net (unknown [10.119.18.237]) (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 p1lg14881.it.hpe.com (Postfix) with ESMTPS id 7AE9A8085FF; Tue, 10 Jan 2023 04:25:53 +0000 (UTC) Received: from openbmc-dev.hpecorp.net (unknown [16.231.227.36]) by p1lg14886.dc01.its.hpecorp.net (Postfix) with ESMTP id CCBE580BE24; Tue, 10 Jan 2023 04:25:49 +0000 (UTC) From: clayc@hpe.com To: linux-kernel@vger.kernel.org, soc@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, verdun@hpe.com, nick.hawkins@hpe.com, arnd@arndb.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux@armlinux.org.uk, olof@lixom.net Cc: Clay Chang Subject: [PATCH 3/5] ARM: dts: hpe: Add SROM Driver Date: Tue, 10 Jan 2023 12:25:31 +0800 Message-Id: <20230110042533.12894-4-clayc@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230110042533.12894-1-clayc@hpe.com> References: <20230110042533.12894-1-clayc@hpe.com> X-Proofpoint-GUID: WPa6vxRI7u8Jlhf1wRcVvTcernnNkHUe X-Proofpoint-ORIG-GUID: WPa6vxRI7u8Jlhf1wRcVvTcernnNkHUe X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-10_01,2023-01-09_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 malwarescore=0 impostorscore=0 mlxscore=0 phishscore=0 mlxlogscore=669 lowpriorityscore=0 spamscore=0 adultscore=0 suspectscore=0 priorityscore=1501 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301100026 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Clay Chang Add SROM driver to the device tree. Also re-organize the AHB base address to accommodate the SROM driver register requirements. Add the hpe,gxp-srom compatible. Signed-off-by: Clay Chang --- arch/arm/boot/dts/hpe-gxp.dtsi | 41 +++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/arch/arm/boot/dts/hpe-gxp.dtsi b/arch/arm/boot/dts/hpe-gxp.dtsi index cf735b3c4f35..3e96941721d5 100644 --- a/arch/arm/boot/dts/hpe-gxp.dtsi +++ b/arch/arm/boot/dts/hpe-gxp.dtsi @@ -52,76 +52,81 @@ cache-level =3D <2>; }; =20 - ahb@c0000000 { + ahb@80000000 { compatible =3D "simple-bus"; #address-cells =3D <1>; #size-cells =3D <1>; - ranges =3D <0x0 0xc0000000 0x30000000>; + ranges =3D <0x0 0x80000000 0x7FFFFFFF>; dma-ranges; =20 - vic0: interrupt-controller@eff0000 { + vic0: interrupt-controller@4eff0000 { compatible =3D "arm,pl192-vic"; - reg =3D <0xeff0000 0x1000>; + reg =3D <0x4eff0000 0x1000>; interrupt-controller; #interrupt-cells =3D <1>; }; =20 - vic1: interrupt-controller@80f00000 { + vic1: interrupt-controller@f00000 { compatible =3D "arm,pl192-vic"; - reg =3D <0x80f00000 0x1000>; + reg =3D <0xf00000 0x1000>; interrupt-controller; #interrupt-cells =3D <1>; }; =20 - uarta: serial@e0 { + uarta: serial@400000e0 { compatible =3D "ns16550a"; - reg =3D <0xe0 0x8>; + reg =3D <0x400000e0 0x8>; interrupts =3D <17>; interrupt-parent =3D <&vic0>; clock-frequency =3D <1846153>; reg-shift =3D <0>; }; =20 - uartb: serial@e8 { + uartb: serial@400000e8 { compatible =3D "ns16550a"; - reg =3D <0xe8 0x8>; + reg =3D <0x400000e8 0x8>; interrupts =3D <18>; interrupt-parent =3D <&vic0>; clock-frequency =3D <1846153>; reg-shift =3D <0>; }; =20 - uartc: serial@f0 { + uartc: serial@400000f0 { compatible =3D "ns16550a"; - reg =3D <0xf0 0x8>; + reg =3D <0x400000f0 0x8>; interrupts =3D <19>; interrupt-parent =3D <&vic0>; clock-frequency =3D <1846153>; reg-shift =3D <0>; }; =20 - usb0: usb@efe0000 { + usb0: usb@4efe0000 { compatible =3D "hpe,gxp-ehci", "generic-ehci"; - reg =3D <0xefe0000 0x100>; + reg =3D <0x4efe0000 0x100>; interrupts =3D <7>; interrupt-parent =3D <&vic0>; }; =20 - st: timer@80 { + st: timer@40000080 { compatible =3D "hpe,gxp-timer"; - reg =3D <0x80 0x16>; + reg =3D <0x40000080 0x16>; interrupts =3D <0>; interrupt-parent =3D <&vic0>; clocks =3D <&iopclk>; clock-names =3D "iop"; }; =20 - usb1: usb@efe0100 { + usb1: usb@4efe0100 { compatible =3D "hpe,gxp-ohci", "generic-ohci"; - reg =3D <0xefe0100 0x110>; + reg =3D <0x4efe0100 0x110>; interrupts =3D <6>; interrupt-parent =3D <&vic0>; }; + + srom: srom@fc0000 { + compatible =3D "hpe,gxp-srom"; + reg =3D <0xfc0000 0x100>; + }; }; }; }; --=20 2.17.1