arm64: dts: allwinner: Add basic Allwinner A523 support
Status from this message: The following commit has been merged into the irq/drivers branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | dt-bindings: mmc: sunxi: Simplify compatible string listingDocumentation/ | +14 | 1 reply | |
| 2/15 | dt-bindings: mmc: sunxi: add compatible strings for Allwinner A523Documentation/ | +4 | 1 reply | |
| 3/15 | dt-bindings: watchdog: sunxi: add Allwinner A523 compatible stringDocumentation/ | +2 | 1 reply | |
| 4/15 | watchdog: sunxi_wdt: Add support for Allwinner A523drivers/ | +11 | 0 replies | |
| 5/15 | dt-bindings: irq: sun7i-nmi: document the Allwinner A523 NMI controllerDocumentation/ | +1 | 0 replies | |
| 6/15 | irqchip/sunxi-nmi: Support Allwinner A523 NMI controllerdrivers/ | +47 | 0 replies | |
| 7/15 | dt-bindings: phy: document Allwinner A523 USB-2.0 PHYDocumentation/ | +3 | 0 replies | |
| 8/15 | arm64: dts: allwinner: Add Allwinner A523 .dtsi filearch/ | +598 | 0 replies | |
| 9/15 | dt-bindings: vendor-prefixes: Add YuzukiHD nameDocumentation/ | +2 | 0 replies | |
| 10/15 | dt-bindings: arm: sunxi: Add new board names for A523 generationDocumentation/ | +15 | 0 replies | |
| 11/15 | arm64: dts: allwinner: a523: add Avaota-A1 router supportarch/ arch/ | +309 | 0 replies | |
| 12/15 | arm64: dts: allwinner: a523: add X96Q-Pro+ supportarch/ arch/ | +288 | 0 replies | |
| 13/15 | arm64: dts: allwinner: a523: add Radxa A5E supportarch/ arch/ | +300 | 0 replies | |
| 14/15 | dt-bindings: arm: sunxi: Add YuzukiHD Chameleon board nameDocumentation/ | +5 | 0 replies | |
| 15/15 | arm64: dts: allwinner: h616: add YuzukiHD Chameleon supportarch/ arch/ | +223 | 0 replies |
Reviews trailers per patch
14 of 15 patches have a Reviewed-by or Acked-by.
| Patch | Conor Dooley | Jernej Skrabec | Rob Herring (Arm) | Krzysztof Kozlowski |
|---|---|---|---|---|
| 1/15 | A-b | |||
| 2/15 | A-b | |||
| 3/15 | A-b | A-b | ||
| 4/15 | R-b | |||
| 5/15 | A-b | |||
| 6/15 | ||||
| 7/15 | A-b | |||
| 8/15 | R-b | |||
| 9/15 | A-b | |||
| 10/15 | A-b | |||
| 11/15 | A-b | |||
| 12/15 | A-b | |||
| 13/15 | A-b | |||
| 14/15 | A-b | |||
| 15/15 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v3 00/15] arm64: dts: allwinner: Add basic Allwinner A523 support
Hi,
this in an update to the series introducing the basic DT support for the Allwinner A523 SoC. It now comes with DTs for three boards, using slightly different packages of that SoC.[1] Functionality-wise it relies on the pinctrl[2] and clock[3] support series, though there are no direct code dependency series between the series. Two binding patches from there are required to pass dtbs_check, git put their patch IDs in the footer below.
Compared to v2 only small fixes in the NMI controller driver: renaming the struct to better reflect its new usage, add adding the DS pin to the eMMC pingroup list. Adding accrued tags on the way, many thanks to the diligent reviewers! More detailed changelog below.
The first patches add DT binding documentation for the most basic peripherals, most of them actually being already supported, courtesy of identical IP being used. This includes MMC and USB 2.0, so with the above mentioned clock and pinctrl support this gives an already somewhat usable mainline support for this new SoC family.
The watchdog is not completely compatible, but is an easy addition, so this bit is included in here as well, the same is true for the NMI controller, required for delivering PMIC interrupts.
The A523 features 8 Arm Cortex-A55 cores, organised in two clusters, clocked separately, with different OPP limits, in some kind of little/LITTLE configuration. The GPU is a Arm Mali G57 MC01, and the chip also features a single PCIe 2.1 lane, sharing a PHY with some USB 3.1 controller - which means only one of the two can be used.
The rest of the SoC is the usual soup of multimedia SoC IP, with eDP support and two Gigabit Ethernet MACs among the highlights.
The main feature is patch 08/15, which adds the SoC .dtsi. This for now is limited to the parts that are supported and could be tested. Compared to v1 we now have some basic TF-A support, so the PSCI nodes are in now.
The final patches add basic support for the Avaota-A1 router board, the X96QPro+ TV box, and the Radxa A5E development board.
The mainline firmware side in general is coming together now: we have basic U-Boot support working (including MMC and USB), most importantly with proper DRAM support, so no more binary blobs, and some basic TF-A support.
Please have a look at those DT bits here, ideally compare them to the available user manual, and test them if you have access to hardware.
Based on v6.14-rc1.
I pushed a branch with all the three series combined here:
https://github.com/apritzel/linux/commits/a523-v3/
Cheers,
Andre
Changelog v2 .. v3:
- split NMI controller register offset into sub-struct
- properly align NMI controller data definition
- adding ACKs from Rob and Jernej (with thanks!)
Changelog v1 .. v2:
- drop USB, I2C, RTC binding patches: already merged
- add tags from reviewers (with thanks!)
- drop unrelated deprecation comment from MMC binding patch
- drop fallback compatible for NMI controller, stands on its own now
- adjust PHY binding to merged A100 binding (dropping tag)
- .dtsi: add secondary cores
- .dtsi: enable PSCI
- .dtsi: move 32K oscillator to board .dts files
- .dtsi: adjust CCU source clocks
- .dtsi: add MMC1 node (typcially for SDIO WiFi)
- .dtsi: add remaining UARTs
- .dtsi: add remaing I2C devices
- add two new board .dts files
- add DT bindings for those two new board names
- avaota.dts: drop reserved memory from (TF-A now in SRAM)
- avaota.dts: drop SD card dummy supply node
- avaota.dts: add eMMC node (shipped on most boards)
- avaota.dts: fix OTG mode, explain situation
- add Chameleon .dts file (depends on YuzukiHD vendor name patch)
[1] https://linux-sunxi.org/A523#Family_of_sun55iw3
[2] https://lore.kernel.org/linux-sunxi/[email protected]/T/#u
[3] https://lore.kernel.org/linux-sunxi/[email protected]/T/#u
Andre Przywara (15):
dt-bindings: mmc: sunxi: Simplify compatible string listing
dt-bindings: mmc: sunxi: add compatible strings for Allwinner A523
dt-bindings: watchdog: sunxi: add Allwinner A523 compatible string
watchdog: sunxi_wdt: Add support for Allwinner A523
dt-bindings: irq: sun7i-nmi: document the Allwinner A523 NMI
controller
irqchip/sunxi-nmi: Support Allwinner A523 NMI controller
dt-bindings: phy: document Allwinner A523 USB-2.0 PHY
arm64: dts: allwinner: Add Allwinner A523 .dtsi file
dt-bindings: vendor-prefixes: Add YuzukiHD name
dt-bindings: arm: sunxi: Add new board names for A523 generation
arm64: dts: allwinner: a523: add Avaota-A1 router support
arm64: dts: allwinner: a523: add X96Q-Pro+ support
arm64: dts: allwinner: a523: add Radxa A5E support
dt-bindings: arm: sunxi: Add YuzukiHD Chameleon board name
arm64: dts: allwinner: h616: add YuzukiHD Chameleon support
.../devicetree/bindings/arm/sunxi.yaml | 20 + .../allwinner,sun7i-a20-sc-nmi.yaml | 1 + .../bindings/mmc/allwinner,sun4i-a10-mmc.yaml | 38 +- .../phy/allwinner,sun50i-a64-usb-phy.yaml | 4 +- .../devicetree/bindings/vendor-prefixes.yaml | 2 + .../watchdog/allwinner,sun4i-a10-wdt.yaml | 2 + arch/arm64/boot/dts/allwinner/Makefile | 4 + .../sun50i-h618-yuzukihd-chameleon.dts | 222 +++++++ .../arm64/boot/dts/allwinner/sun55i-a523.dtsi | 598 ++++++++++++++++++ .../dts/allwinner/sun55i-a527-radxa-a5e.dts | 299 +++++++++ .../dts/allwinner/sun55i-h728-x96qpro+.dts | 287 +++++++++ .../dts/allwinner/sun55i-t527-avaota-a1.dts | 308 +++++++++ drivers/irqchip/irq-sunxi-nmi.c | 76 ++- drivers/watchdog/sunxi_wdt.c | 11 + 14 files changed, 1821 insertions(+), 51 deletions(-) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h618-yuzukihd-chameleon.dts create mode 100644 arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi create mode 100644 arch/arm64/boot/dts/allwinner/sun55i-a527-radxa-a5e.dts create mode 100644 arch/arm64/boot/dts/allwinner/sun55i-h728-x96qpro+.dts create mode 100644 arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts
base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b
prerequisite-patch-id: 5b8a883819d2f3dfc975735a855291cb8b02dd39
prerequisite-patch-id: 26d4fd19d9e9cf345261bbad4b8c3697fe773e7c
Signature · 1 line
2.46.3