From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796308362; b=uDOOQiNOLYWTlbKFAiH+OHnpsX+UsuFOXYnqFg6X9JB/6LkecJmNZ78MqGPKpKZdvbd3 ziEEZceMUftgVVLqstWNtSY9V09LEiRsnJP6LmSQPV8kYhtvbDtsvhhoJ7nSOpwFflwyI e5awMyvKSsYFlY2on+8X4KVmEg7fmMD2Pfbg48f+lnWoG0pVOSJ3gWp2Vpb0pv2g/YxmV TDSUrHlp/hCKYFelE/6f8alBxkRr2RU2hYirtzAdBCL1IUZzmJNB2LTISaf5E2hEzBhoI xqkAejrK8Vrymv7Xl4GNwkGEojT0s6WJYfOykU7C7eAw5vdZDj3ltT39bTIEZF9bMYA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796308362; h=Received:DKIM-Signature:Received:X-Forwarded-Encrypted: X-Gm-Message-State:X-Received:MIME-Version:References:In-Reply-To: Reply-To:From:Date:X-Gmail-Original-Message-ID:X-Gm-Features: Message-ID:Subject:To:Cc:Content-Type:Content-Transfer-Encoding; bh=f4qznPJCSIcK9auB8IAaT3BHLOjMPQYhGqHh8ikzEVY=; b=wJKxNyqArka2tamhPlSk1H9tjsel35r8U8jvU7YJpDJBVgi0HgI1LRXUjfWvwF01uAyx DOhvc/nZ9LtWIcGYWObIYZQhcvzbJCOi6B13n9E0Q8s6p0YWi6hvVbUqUnBlFaanl/DtO 6VkQSfojaXi4UYLpD4n++BVp7aDVpU20MVDJpx1F/2ylfC0JRD540E9LV7YJ7A0FjHyRz +sJ2bYBT2yzyQ7Te4oIZ+LOdemIwlSo2Ge3d5grka/dhQxjwIl9s/mRg4BOqQh0WAh+xR OsHm5UhmTU1WK9KUcPJPcH32eA2eGkan5bRAdvG5c2FQXy2IOj5y8csvZErWcuf4HzQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=QvuTLkL1; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0667C606A334 for ; Thu, 3 Dec 2026 14:32:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=QvuTLkL1 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 372DC1F00899 for ; Thu, 3 Dec 2026 14:32:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796308361; bh=f4qznPJCSIcK9auB8IAaT3BHLOjMPQYhGqHh8ikzEVY=; h=References:In-Reply-To:Reply-To:From:Date:Subject:To:Cc; b=QvuTLkL1qcpsqylOVQQxqTrwB6UsI+5JuJdTJXqvFBDPNEf4F4IbC38jmIMK1Ak6e 9Xjguz1pm0cgLBO096gZOGhviW77cRWZhs6W7g1vdRFNJbP/MMgvVEdJa+YjNurOsO AMLmHoOqGwWqnEJsa9MxHvws8UjLyEjUfBXud5dsgNc/Le6uG43oFVzx0u7+umvR8J mAm0Wxbxzy3BdeC+tUpKNBd5/1Zz6k5ba4LDj+AunOes4aiSAN/RFEtys4SYi8PfgJ Q5NA7Cq492GkD0BH5rlS7PCmw+nmaGHTmOPRQ3W0zz9SsaB2SdoUOZdfO93O9ArGVh OmSrOnODQzmPA== Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-5c08539c827so11475729e87.2 for ; Thu, 03 Dec 2026 06:32:41 -0800 (PST) X-Forwarded-Encrypted: i=1; AL+hErFCrsDbQqiz7RhnohopBqOQBHCJAeu5pU0sQb3PoweQlaGPWARfz9Fank9b8vTE3/kroeyRn557pBxwt+E=@vger.kernel.org X-Gm-Message-State: APuU4Z85gvVAQUxmztz4hd08zE1yQwfFjONKygKdXZmsL3b4yDWIYA42 Jl4RXwYV0dh5g8xNnj/p179mXMS7GpvcN0bm0N9zRAYxOwRcASXwODRH5JG87ZVfT+CvbLNLBwV zVkx556Zd7FumjjCsBpkdNMMjvgAyBjo= X-Received: by 2002:a05:6512:3093:b0:5c1:595f:b370 with SMTP id 2adb3069b0e04-5c1bc6d253fmr12708597e87.3.1796308359720; Thu, 03 Dec 2026 06:32:39 -0800 (PST) X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 References: <20261126-a733-cubie-a7s-dt-v6-0@gmail.com> <20261126-a733-cubie-a7s-dt-v6-2@gmail.com> In-Reply-To: <20261126-a733-cubie-a7s-dt-v6-2@gmail.com> Reply-To: wens@kernel.org From: Chen-Yu Tsai Date: Thu, 3 Dec 2026 23:32:26 +0900 X-Gmail-Original-Message-ID: X-Gm-Features: Aa3M54rsFdVUfsWhP3tYL1HTmI9rV70oUBEe_OuNQxwN5lAtH0r_P9DkPRj9Ggk Message-ID: Subject: Re: [PATCH v6 2/5] arm64: dts: allwinner: add A733 SoC description To: Enzo Adriano Cc: andre.przywara@arm.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, jernej.skrabec@gmail.com, samuel@sholland.org, Maxime Ripard , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Junhui Liu , Jerome Brunet , Pablo Mazzini , Vinicius Pedrosa , Alexander Sverdlin , Jun Yan , Lukas Schmid , Cristian Filipescu , Norman Herms Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Nov 27, 2026 at 5:35=E2=80=AFAM Enzo Adriano wrote: > > The Allwinner A733 combines six Cortex-A55 and two Cortex-A76 cores. > Add the common device tree for the first Cubie A7A, A7S and A7Z board > DTS files. Describe the CPUs, PSCI, architectural timers, GIC, RTC, > main and always-on clock/reset and pin controllers, UART, I2C and > MMC. The preceding revision booted on the A7S and A7Z. > > The A7S schematic, sheets 7 and 16, shows the EEPROM wired to I2C0 > on PG8/PG9. Use mux 6 as documented in the A733 Datasheet v1.00, > section 4.2.6, table 4-36. The A7A schematic shows the external RTC > on S_TWI1. Add its R-I2C1 pin group on PL12/PL13, mux 3. > > The GIC maintenance PPI 9 and ARMv8.2 EL2 virtual-timer PPI 12 follow > the A733 User Manual v1.00, section 12.2.3. The GICD/GICR/ITS windows > and noncoherent attributes follow Andre Przywara's A733 reference > and the A523 precedent. The CPUX interconnect diagram in section > 5.1.2 supports the noncoherency inference. Leave the ITS disabled > pending clock/reset and MSI integration. > > Describe the single DynamIQ unit and shared L3 shown in section > 5.1.2, figure 5-1. Partition PPI 7 (section 12.2.3, table 12-1) > between the Cortex-A55 and Cortex-A76 PMUs so each probes its own > core type. Defer capacity-dmips-mhz until it is measured on A733. > > Link: https://gist.githubusercontent.com/apritzel/60fd7379b9560a15b8b3529= 86b69d39f/raw/efd9cdf8f26ba5b0c7e138f093af44a1cf322469/sun60i-a733.dts > Link: https://lore.kernel.org/r/20261126172253.1097838-2-andre.przywara@a= rm.com > Reviewed-by: Andre Przywara > Tested-by: Vinicius Pedrosa # Radxa = Cubie A7Z V1.11 > Tested-by: Norman Herms # Radxa Cubie A7S (A733) > Co-developed-by: Andre Przywara > Signed-off-by: Andre Przywara > Signed-off-by: Enzo Adriano > --- > Changes since v5: > - Mark the I2C0 PG8/PG9 group /omit-if-no-ref/, as requested. This > satisfies Andre's review condition. > - Move the RTC clock include after the A733 clock headers and cite > the A733 datasheet and A7S schematic for the I2C0 pins. > - Fold in Andre's R-I2C1 pin group for A7A. A7S and A7Z leave > it unused. A7S still references the I2C0 group. > - Vinicius tested the v5 DTSI with his A7Z v1.11 board DT. Norman > tested the v5 series on A7S. Their tags here cover the SoC DTSI. > > .../arm64/boot/dts/allwinner/sun60i-a733.dtsi | 671 ++++++++++++++++++ > 1 file changed, 671 insertions(+) > create mode 100644 arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi > > diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi b/arch/arm64/= boot/dts/allwinner/sun60i-a733.dtsi > new file mode 100644 > index 000000000000..e062b08006da > --- /dev/null > +++ b/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi > @@ -0,0 +1,671 @@ Just a couple more comments. [...] > + cpu0: cpu@0 { > + compatible =3D "arm,cortex-a55"; > + device_type =3D "cpu"; The upstream dts coding style doc says "device_type" should be the first property when it is present. Please fix it so we have a clean start. Same for the other cores. > + reg =3D <0x0>; > + enable-method =3D "psci"; > + }; [...] > + mmc0_pins: mmc0-pins { > + pins =3D "PF0", "PF1", "PF2", "PF3", "PF4= ", "PF5"; > + function =3D "mmc0"; > + allwinner,pinmux =3D <2>; Vendor-prefixed properties come after common properties, so this should go after bias-pull-up. > + drive-strength =3D <30>; > + bias-pull-up; > + }; > + > + mmc1_pins: mmc1-pins { > + pins =3D "PG0", "PG1", "PG2", "PG3", "PG4= ", "PG5"; > + function =3D "mmc1"; > + allwinner,pinmux =3D <2>; Same here. > + drive-strength =3D <30>; > + bias-pull-up; > + }; > + > + mmc2_pins: mmc2-pins { > + pins =3D "PC5", "PC6", "PC8", "PC9", "PC1= 0", "PC11", > + "PC13", "PC14", "PC15", "PC16"; > + function =3D "mmc2"; > + allwinner,pinmux =3D <3>; And here. [...]