Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp22481iob; Tue, 3 May 2022 10:48:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwT5SiBJNCdJ5Vwm0F9/jNfFik+5pWFqJR//1GpzDtU5Onq1VWF+vWjAWeyBqy+oLkEiRry X-Received: by 2002:a17:906:f0e:b0:6ef:ee4c:b558 with SMTP id z14-20020a1709060f0e00b006efee4cb558mr16612736eji.104.1651600108987; Tue, 03 May 2022 10:48:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651600108; cv=none; d=google.com; s=arc-20160816; b=gZwpV5sVA7YD0PV3wM2Ehgk9lcnnQOWeXbNjQNFb+HK2gDOdidCr0siX3duXo0cMrb aA5gOl9BH1nKxxglvbGrGpD74PtZrszkUK6J/IXgbDDdGZ4c+ccHnhYAl2gtLQxPuL0b wtQMFLS0byqX/YpV9pB0czBtrCbzKC/7CtaSEOSpnVB8iECtCLnbeDt6L7BljnH3NJ2M Nx4Mhmjpui7ViIkdCCEtRIyxg2H9gk1jAWyvfBANuVDB7f6MtMkAtl2WjEn4sf76A+gU gAkdS7cOeFE0tLF4wZdunJos+WEE3n6WkJbEUY0xrHB1ibKCSPb0GQcFIZ+5cidci45s szRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=sQtGbqCFB5qpl0dx7eiTeHn82ClgctJ6UE5Cs3EaSvI=; b=JcUq7K9p6/hfoojwtbnP37QAej6hh0N4i7+F396/tADZpoXky8jvDfIlSv8SOiG14h 1s10UpwV72dabLwFhPS9kIfciJDX+TLbo4uPWPRGqsw+SwYzmYWIlGRXxppGIrLEaYit f3YqJcg2ZkZyeE/H13qgkV+YNsi4oZncmPPXhhCAa7T1sJ0WJR3VKjFJ2R7jCt7aZhvg AAm77MYso9ago0BgGy4rrMHyXFzuC4i2NBULNZ4SXpLzjXomvrke8JkcmyTBCdHtK4p4 0zixJOD2/qQbdhdmOv09PIaSxABphCfoHjTaQ9XvHTPAZM73G2M2dY+q/49z0rzcZxwH BWlQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s28-20020a508d1c000000b00425f7ca0ce9si15412096eds.505.2022.05.03.10.47.20; Tue, 03 May 2022 10:48:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234245AbiECKuM (ORCPT + 99 others); Tue, 3 May 2022 06:50:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234269AbiECKtj (ORCPT ); Tue, 3 May 2022 06:49:39 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C243625E8A; Tue, 3 May 2022 03:46:06 -0700 (PDT) Received: from mail-yw1-f182.google.com ([209.85.128.182]) by mrelayeu.kundenserver.de (mreue012 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MuF4v-1o6fdx2cY9-00uVlI; Tue, 03 May 2022 12:46:04 +0200 Received: by mail-yw1-f182.google.com with SMTP id 00721157ae682-2f7b815ac06so175216487b3.3; Tue, 03 May 2022 03:46:04 -0700 (PDT) X-Gm-Message-State: AOAM530SHApsi5p4D3Wx1ZoWrXfqN/TgkqydF9WILkkbIYLyoO2DiLeu 7tv5+SxIHt/QPkY5s48HwaLwDCsG+/350+/aG2c= X-Received: by 2002:a0d:fc83:0:b0:2e5:b0f4:c125 with SMTP id m125-20020a0dfc83000000b002e5b0f4c125mr14878150ywf.347.1651574763350; Tue, 03 May 2022 03:46:03 -0700 (PDT) MIME-Version: 1.0 References: <20220502204050.88316-1-nick.hawkins@hpe.com> <20220502204050.88316-7-nick.hawkins@hpe.com> In-Reply-To: <20220502204050.88316-7-nick.hawkins@hpe.com> From: Arnd Bergmann Date: Tue, 3 May 2022 12:45:47 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 7/8] ARM: dts: Introduce HPE GXP Device tree To: "Hawkins, Nick" Cc: "Verdun, Jean-Marie" , nick@hpe.com, Joel Stanley , Arnd Bergmann , Linux ARM , Linux Kernel Mailing List , Olof Johansson , SoC Team , Rob Herring , Krzysztof Kozlowski , DTML Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:wXneJVDhHANw/r8NfxFZJbswJ5oULr5QQoJSkOab5zb02IKUsK3 hU48wlq9luJx9Qoaz/y6lqRqo5n7oJNPBxLfvqaj8nctFIQCVlU5tKgYq+02fahppNXbB0V Vzj9eLNbGpAh7x+eGFiamO7uSy7tAvhbGGakj89UvhYf0/J7GwIXwYt1dyUmuerSLd9EFMY H0Wcb1padTZHYgf0IaKNw== X-UI-Out-Filterresults: notjunk:1;V03:K0:7hyjKbR4LJ4=:yf7szBniFb+nnTPpUNum3x /XO7jhSGCpyiLmiCadG31blS20eHeYAMn9tTRqC7f4TYpSzPbtuDNaQDWsv7vulp6usimvrsx 3/n1QFpAEAxZhjLtAJADndzm8sh3Fep68O9JuocpLwUH5Gha6tjnMtO43MwRQ6DzFBc7bzit9 e/Gmp5CKq2mSC7K1tNdsBdhnlFW8lbnuRbpyNq5LW0k7lP4AK7sgQBonBr1dMD0aCN8A1Dyhh gJ6Bn+Ygv+0F82GgVo6ueAm6FVA3vibtefDhwHMJ0Vk14e5rBJrATbGx/F9DrnrOTKLmog4k8 0x4jQg7NE5aZb+GTYkgTUTTpNfZTMGzOuA9er1/t2S9hFbqqwHfb4h974TR1QLLhQFGh4glrz cKQLLAACQnE7wTFvixDR+Dza0rNSNA2ohxi27f9VQvqwkgNTvcrCB/UFzCW+pxVl0BagwViNF xdarzmVSKhOxKhNkXRt5Nx9DfEIy4jALh7yy6/3trRIlOfCLMxy+3kxs8Ma28gTLD/OwtcXX/ 26Fh0wpYqf2C5q1USwjheQwcXM6DzmBbZNBvkQ+KX48Z0yyLRmGnuhrbosyRpbBVYcQYJLdJF ZFbRiqQ6QCJHK3IThp9su3qWoEqPvSZjh3dVb1or9qWVRgwmr1GHGnYy+oLvpklWtduLOcLK/ SFDJoukHhU1x9hjN71WbME6yd1AA7dlyyOxnsOzEIcNrJwta3UX5l9T05vbL05byv4bjrjq3j qYvpm509Jw64fu9QPLx21yaXVvAdlvkzZDHkAVKMG9G/nOG3dFFDdQjqFjVNf8068ETD3m24h fTDWaDGuqUlYGboIlcFPOiJol1gdX4b/7BYWg9dgo+02cYdGA4= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 2, 2022 at 10:40 PM wrote: > --- /dev/null > +++ b/arch/arm/boot/dts/hpe-bmc-dl360gen10.dts > @@ -0,0 +1,13 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Device Tree file for HPE DL360Gen10 > + */ > + > +/include/ "hpe-gxp.dtsi" > + > +/ { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "hpe,gxp-dl360gen10","hpe,gxp"; > + model = "Hewlett Packard Enterprise ProLiant dl360 Gen10"; > +}; In the board specific file, you normally have "aliases", "chosen" and "memory" nodes that define e.g. which uart is used for the console. > diff --git a/arch/arm/boot/dts/hpe-gxp.dtsi b/arch/arm/boot/dts/hpe-gxp.dtsi > new file mode 100644 > index 000000000000..7a99e174e4b3 > --- /dev/null > +++ b/arch/arm/boot/dts/hpe-gxp.dtsi > @@ -0,0 +1,132 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Device Tree file for HPE GXP > + */ > + > +/dts-v1/; > +/ { > + model = "Hewlett Packard Enterprise GXP BMC"; > + compatible = "hpe,gxp", "hpe,gxp-dl360gen10"; I think "hpe,gxp-dl360gen10" is misplaced here, if that is the identifier of a particular machine rather than the SoC. > + memory@40000000 { > + device_type = "memory"; > + reg = <0x40000000 0x20000000>; > + }; If the memory is outside of the SoC, it should not be here. > + axi { > + compatible = "simple-bus"; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges; > + dma-ranges; > + > + L2: cache-controller@b0040000 { > + compatible = "arm,pl310-cache"; > + reg = <0xb0040000 0xFFC>; > + cache-unified; > + cache-level = <2>; > + }; The length of the register area looks wrong, this is usually the full 4KB area, rather than leaving out the last four bytes. Arnd