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 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 42986C48BF6 for ; Wed, 21 Feb 2024 10:31:08 +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-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EN4pkaN5mhz5Wf/Pe4YQC0sMk5P+i+z+mOwS5kOVOiI=; b=zQKrVEABfGAT6CyruHBh8vcRs4 fbq85J92xcv0mcjlht7NS8No02JOdbdl9JO4Rynin8RqWIZlMdJSfUvYwPIOtn7DmTNQueuB4Le1q ZwRuhZkCz8SEUi9sx/GtHMnN0xTqa5ZyAD2POR//U8o3bUgD/j08tlZ0c5cMc5ty6o9z9I2WsXdXS NlW6ds/Zd6+oe1aHJ1RmK3rOPmle5ekA2FgFAMe19PG5SnAej0H4ek2DOxIlb7X94MgE3KzzyeCjR rNSdFXD4D1DHufW/k6yCzsPHDV4UGpHd/XBY99YI1WWcBj2VMMlRjWBtOGIniWKxh0nAOZ3LdmCK4 M0J9Rb3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcjsL-00000000W5g-1nRO; Wed, 21 Feb 2024 10:30:53 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcjsI-00000000W4U-2ZhV for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 10:30:52 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id F32B2CE1CE1; Wed, 21 Feb 2024 10:30:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B1EC7C433C7; Wed, 21 Feb 2024 10:30:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708511448; bh=J0YyaehfcrO54beByd/o2DbRGlOFbAcfP2y4HWHjhWc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VcsKRm4xkM2Mx5aufi1F0ZVSZPfJy0Rd7QF+feE8ZpthakQq6VBrym4bZFgId/j9H CbWJzcu4TVBcKiBkhwFYjj59aGE0oSQmWCHJMsFwJdjTVipEX3LrO0eMZcpUaqxP2s mqGVUk6WLDUOMbvDjpT91Rfxe0NX+WMmDkTqB+QBtG0IfLQi5yCCgfpkuFCVtfLlvh hVTNZwz3t8x4tGPBvpuPzYMyoGMKhdDkbRmmk+4o1S5gGpQo7zGCg5e2ryWwzxbPrw kU5Ru1EExQWRDRQzjaAPDdkPGPbVKPKzgji+DZogA6uwpmT29uMAUUrgLYZ1sl2zDh SSiphSuJsnUKg== Date: Wed, 21 Feb 2024 11:30:44 +0100 From: Lorenzo Bianconi To: Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, lorenzo.bianconi@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, nbd@nbd.name, john@phrozen.org, devicetree@vger.kernel.org, dd@embedd.com, catalin.marinas@arm.com, will@kernel.org, angelogioacchino.delregno@collabora.com Subject: Re: [PATCH v2 2/4] arm64: dts: Add Airoha EN7581 SoC and EN7581 Evaluation Board Message-ID: References: <2e8e6a0a-44ce-45e4-8321-592f08852412@linaro.org> MIME-Version: 1.0 In-Reply-To: <2e8e6a0a-44ce-45e4-8321-592f08852412@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240221_023051_039439_5A27171B X-CRM114-Status: GOOD ( 23.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: , Content-Type: multipart/mixed; boundary="===============0071747754990768577==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============0071747754990768577== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FzQ0dmwhpInBsEzt" Content-Disposition: inline --FzQ0dmwhpInBsEzt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > On 21/02/2024 01:04, Lorenzo Bianconi wrote: > > From: Daniel Danzberger > >=20 > > Introduce the Airoha EN7581 SoC's dtsi and the Airoha EN7581 Evaluation > > Board's dts file, as well as the required Makefiles. > >=20 > > Signed-off-by: Daniel Danzberger > > Signed-off-by: Lorenzo Bianconi > > --- > > arch/arm64/boot/dts/Makefile | 1 + > > arch/arm64/boot/dts/airoha/Makefile | 2 + > > arch/arm64/boot/dts/airoha/en7581-evb.dts | 27 +++++ > > arch/arm64/boot/dts/airoha/en7581.dtsi | 137 ++++++++++++++++++++++ > > 4 files changed, 167 insertions(+) > > create mode 100644 arch/arm64/boot/dts/airoha/Makefile > > create mode 100644 arch/arm64/boot/dts/airoha/en7581-evb.dts > > create mode 100644 arch/arm64/boot/dts/airoha/en7581.dtsi > >=20 > > diff --git a/arch/arm64/boot/dts/Makefile b/arch/arm64/boot/dts/Makefile > > index 30dd6347a929..21cd3a87f385 100644 > > --- a/arch/arm64/boot/dts/Makefile > > +++ b/arch/arm64/boot/dts/Makefile > > @@ -1,5 +1,6 @@ > > # SPDX-License-Identifier: GPL-2.0 > > subdir-y +=3D actions > > +subdir-y +=3D airoha > > subdir-y +=3D allwinner > > subdir-y +=3D altera > > subdir-y +=3D amazon > > diff --git a/arch/arm64/boot/dts/airoha/Makefile b/arch/arm64/boot/dts/= airoha/Makefile > > new file mode 100644 > > index 000000000000..ebea112ce1d7 > > --- /dev/null > > +++ b/arch/arm64/boot/dts/airoha/Makefile > > @@ -0,0 +1,2 @@ > > +# SPDX-License-Identifier: GPL-2.0-only > > +dtb-$(CONFIG_ARCH_AIROHA) +=3D en7581-evb.dtb > > diff --git a/arch/arm64/boot/dts/airoha/en7581-evb.dts b/arch/arm64/boo= t/dts/airoha/en7581-evb.dts > > new file mode 100644 > > index 000000000000..4eaa8ac431c3 > > --- /dev/null > > +++ b/arch/arm64/boot/dts/airoha/en7581-evb.dts > > @@ -0,0 +1,27 @@ > > +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +/dts-v1/; > > + > > +/* Bootloader installs ATF here */ > > +/memreserve/ 0x80000000 0x200000; > > + > > +#include "en7581.dtsi" > > + > > +/ { > > + model =3D "Airoha EN7581 Evaluation Board"; > > + compatible =3D "airoha,en7581-evb", "airoha,en7581"; > > + > > + aliases { > > + serial0 =3D &uart1; > > + }; > > + > > + chosen { > > + bootargs =3D "console=3DttyS0,115200 earlycon"; >=20 > You have console below. You don't need earlycon for mainline, broad > usage, because it is purely debugging part, so drop entire bootargs. ack, I will fix it in v3. >=20 > > + stdout-path =3D "serial0:115200n8"; > > + linux,usable-memory-range =3D <0x0 0x80200000 0x0 0x1fe00000>; > > + }; > > + > > + memory@80000000 { > > + device_type =3D "memory"; > > + reg =3D <0x0 0x80000000 0x2 0x00000000>; > > + }; > > +}; > > diff --git a/arch/arm64/boot/dts/airoha/en7581.dtsi b/arch/arm64/boot/d= ts/airoha/en7581.dtsi > > new file mode 100644 > > index 000000000000..7a3c0a45c03f > > --- /dev/null > > +++ b/arch/arm64/boot/dts/airoha/en7581.dtsi > > @@ -0,0 +1,137 @@ > > +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > + > > +#include > > +#include > > + > > +/ { > > + interrupt-parent =3D <&gic>; > > + #address-cells =3D <2>; > > + #size-cells =3D <2>; > > + > > + reserved-memory { > > + #address-cells =3D <2>; > > + #size-cells =3D <2>; > > + ranges; > > + > > + npu_binary@84000000 { >=20 > No underscores in nodenames. > ... >=20 ack, I will fix it in v3. > > + > > + L2_0: l2-cache0 { >=20 > Nodename: l2-cache >=20 ack, I will fix it in v3. > > + compatible =3D "cache"; > > + cache-level =3D <2>; > > + cache-unified; > > + }; > > + }; > > + > > + gic: interrupt-controller@9000000 { >=20 > Why this is outside of SoC? Where is your SoC node BTW? ack, I will fix it in v3. >=20 > It does not look like you tested the DTS against bindings. Please run > `make dtbs_check W=3D1` (see > Documentation/devicetree/bindings/writing-schema.rst or > https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sou= rces-with-the-devicetree-schema/ > for instructions). >=20 > > + compatible =3D "arm,gic-v3"; > > + interrupt-controller; > > + #interrupt-cells =3D <3>; > > + #address-cells =3D <1>; > > + #size-cells =3D <1>; > > + reg =3D <0x0 0x09000000 0x0 0x20000>, > > + <0x0 0x09080000 0x0 0x80000>, > > + <0x0 0x09400000 0x0 0x2000>, > > + <0x0 0x09500000 0x0 0x2000>, > > + <0x0 0x09600000 0x0 0x20000>; > > + interrupts =3D ; > > + }; > > + > > + timer { > > + compatible =3D "arm,armv8-timer"; > > + interrupt-parent =3D <&gic>; > > + interrupts =3D , > > + , > > + , > > + ; > > + }; > > + > > + uart1: serial@1fbf0000 { >=20 > This cannot be outside of SoC. ack, I will fix it in v3. >=20 > > + compatible =3D "ns16550"; > > + reg =3D <0x0 0x1fbf0000 0x0 0x30>; > > + reg-io-width =3D <4>; > > + reg-shift =3D <2>; > > + interrupts =3D ; > > + clock-frequency =3D <1843200>; > > + status =3D "okay"; >=20 > Drop ack, I will fix it in v3. Regards, Lorenzo >=20 >=20 > Best regards, > Krzysztof >=20 --FzQ0dmwhpInBsEzt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQTquNwa3Txd3rGGn7Y6cBh0uS2trAUCZdXQ1AAKCRA6cBh0uS2t rPAkAP4hJvk3e9CcLRh0k7EQ3wYtxC0tQPvNyZ38OEbvMuwEGgD+Pkjls+MRmBxF ShRkCKJR1T1jTNHXcpPLwYsmiWqUCQo= =5KjC -----END PGP SIGNATURE----- --FzQ0dmwhpInBsEzt-- --===============0071747754990768577== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============0071747754990768577==--