[PATCH v5 2/3] arm64: dts: allwinner: add A733 SoC description
Andre Przywara
andre.przywara at arm.com
Tue Nov 24 12:03:56 PST 2026
Hi,
On 11/24/26 17:44, Chen-Yu Tsai wrote:
> On Tue, Nov 24, 2026 at 1:42 AM Enzo Adriano
> <enzo.adriano.code at gmail.com> wrote:
>>
>> Provide the SoC description needed by the initial Cubie A7S DTS for its
>> console, PMIC, EEPROM and microSD. Describe the CPUs, PSCI, architectural
>> timers, GIC, RTC, main and always-on clock/reset and pin controllers.
>> Include the main and R-domain UART/I2C instances and MMC0-2 with their
>
>> pin groups. Use mux 6 for I2C0 on PG8/PG9, as in Radxa's BSP pinctrl
>> driver and its Cubie A7S device tree.
>
> This should be evident from the schematic itself (the pins are used for
> I2C). And then the datasheet would tell you which mux value it is.
>
> Just saying, trust the datasheet and schematic a little more than the BSP.
> And one really should write the device tree based on the schematic. The
> BSP is there in case something doesn't work, to look for existing quirks
> or workarounds.
Fully agree with that, the BSP is sketchy at best, especially their DT.
I have seen contradictory information in there already.
Also I think the commit message reads a bit awkward, at least it
deviates from what we typically see. I would start with a brief
introduction of the SoC. Just mentioning that we have the full user
manual and that this has been tested on a real board should be
sufficient, then it's obvious where those values come from.
>> 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 public A733
>> reference and the A523 precedent. The CPUX interconnect diagram in
>> section 5.1.2 supports noncoherency as an integration inference. The
>> ITS stays disabled pending its clock/reset and MSI integration.
>>
>> Describe the single DynamIQ unit and shared L3 shown in section 5.1.2
>> (figure 5-1). The big and little DVFS groups can be described by their
>> clocks, OPP tables and supplies. 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/60fd7379b9560a15b8b352986b69d39f/raw/efd9cdf8f26ba5b0c7e138f093af44a1cf322469/sun60i-a733.dts
>> Link: https://github.com/radxa/allwinner-bsp/blob/2045a3ca2a01f088c0314dc924bda59d154e363e/drivers/pinctrl/pinctrl-sun60iw2.c#L1591-L1610
>> Signed-off-by: Enzo Adriano <enzo.adriano.code at gmail.com>
>> ---
>>
>> v4 -> v5: Rename osc to hosc and add the I2C0 PG8/PG9 group. Keep the
>> one-cluster CPU map and the two PMU partitions.
>>
>> Untested on v5: physical CPU/cache topology, PMU counting, EL2
>> interrupt delivery and ITS/MSI.
>
> Someone please test the PMU.
>
>> .../arm64/boot/dts/allwinner/sun60i-a733.dtsi | 663 ++++++++++++++++++
>> 1 file changed, 663 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..8a258f16751e
>> --- /dev/null
>> +++ b/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi
>> @@ -0,0 +1,663 @@
>
> [...]
>
>> + uart0: serial at 2500000 {
>> + compatible = "allwinner,sun60i-a733-uart",
>> + "snps,dw-apb-uart";
>
> We can't merge this because the bindings haven't been merged. And they seem
> to still be going through a lot of churn?
But I think the binding patch for that is fine? And we are pretty sure
that we need SoC specific compatible strings for every SoC, actually,
regardless of how those UART fixes series' (Vinicius' and James') proceed.
So I wonder if you could take just that binding patch already, to not
block progress here?
Cheers,
Andre
More information about the linux-arm-kernel
mailing list