arm64: dts: allwinner: Add Remix Mini PC support
Subsystems (2)
v2 cover arm64: dts: allwinner: Add Remix Mini PC support
Hi,
a small update, addressing the review comments and adding tags. See below for a changelog.
==========================================
These are the DT support patches for the Jide Remix Mini PC, a now somewhat dated Mini-PC, once shipped with some kind of desktop Android OS. It sports an Allwinner H64 SoC, which is basically the same as the venerable A64.
To make it stick out of the crowd, the SoC has "secure boot" enabled, which just means it needs a different (signed) boot code package, already supported by mainline U-Boot. Fortunately there is no public key burned into the SoC, so any key can be used: the U-Boot build system will just make one up.
Apart from Ethernet (blocked by the AC200 PHY) everything should work, including WiFi and Bluetooth.
Please have a look!
Changelog v1 .. v2:
- Update copyright year
- Remove not-working MMC DDR speed mode
- Add HS-400 speed mode property (used by the BSP kernel)
- Remove superfluous pinctrl-names property
Andre Przywara (3):
dt-bindings: vendor-prefixes: add Jide
dt-bindings: arm: sunxi: document Remix Mini PC name
arm64: dts: allwinner: Add Jide Remix Mini PC support
.../devicetree/bindings/arm/sunxi.yaml | 6 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/allwinner/Makefile | 1 + .../allwinner/sun50i-h64-remix-mini-pc.dts | 356 ++++++++++++++++++ 4 files changed, 365 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h64-remix-mini-pc.dts
Signature · 1 line
2.25.1
PATCH v2 1/3 dt-bindings: vendor-prefixes: add Jide
Jide tech once create the Remix OS Android system, and shipped it on some custom hardware. Add their name to the bindings.
--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -719,6 +719,8 @@ patternProperties: description: JetHome (IP Sokolov P.A.) "^jianda,.*": description: Jiandangjing Technology Co., Ltd. + "^jide,.*": + description: Jide Tech "^joz,.*": description: JOZ BV "^kam,.*":
Signature · 1 line
2.25.1
PATCH v2 2/3 dt-bindings: arm: sunxi: document Remix Mini PC name
In reply to Andre PrzywaraThe Jide Remix Mini PC is a mini computer that ships with the Remix OS Android based system. The SoC is an Allwinner H64, which is very close, if not identical to the Allwinner A64.
Add the board/SoC compatible string pair to the list of known boards. There are some drivers that look explicitly for the A64 compatible name, so retain this name to increase compatibility.
--- Documentation/devicetree/bindings/arm/sunxi.yaml | 6 ++++++ 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/sunxi.yaml +6 -0
@@ -815,6 +815,12 @@ properties: - const: allwinner,r7-tv-dongle - const: allwinner,sun5i-a10s + - description: Remix Mini PC + items: + - const: jide,remix-mini-pc + - const: allwinner,sun50i-h64 + - const: allwinner,sun50i-a64 + - description: RerVision H3-DVK items: - const: rervision,h3-dvk
Signature · 1 line
2.25.1
PATCH v2 3/3 arm64: dts: allwinner: Add Jide Remix Mini PC support
In reply to Andre PrzywaraThe Remix Mini PC is a "mini computer" using the Allwinner H64 SoC, which appears to be just a relabelled A64. It was launched in 2015 by the now defunct company Jide, and shipped with a desktop optimised version of Android. It features
- Allwinner H64 Soc (4 * Arm Cortex-A53 cores)
- 1 or 2 GB DRAM
- 8 or 16 GB eMMC flash
- 100 MBit Ethernet port (using an X-Powers AC200 PHY)
- RTL8723BS WiFi & Bluetooth chip
- HDMI port
- two USB 2.0 ports
- 3.5mm AV port
- microSD card slot
The devicetree covers most peripherals, though there is no agreed binding for the PHY chip yet, so this is left out.
The eMMC did not work with the MMC DDR speed mode, so this mode property is omitted.
--- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../allwinner/sun50i-h64-remix-mini-pc.dts | 356 ++++++++++++++++++ 2 files changed, 357 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h64-remix-mini-pc.dts
arch/arm64/boot/dts/allwinner/Makefile +1 -0
@@ -16,6 +16,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pinetab.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pinetab-early-adopter.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-sopine-baseboard.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-teres-i.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h64-remix-mini-pc.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a100-allwinner-perf1.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-bananapi-m2-plus.dtb dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-bananapi-m2-plus-v1.2.dtb
arch/arm64/boot/dts/allwinner/sun50i-h64-remix-mini-pc.dts new file +356 -0
356 lines not on this page · raw message
Signature · 1 line
2.25.1
Re: [PATCH v2 3/3] arm64: dts: allwinner: Add Jide Remix Mini PC support
Dne petek, 09. februar 2024 ob 12:40:18 CET je Andre Przywara napisal(a):
Quoted 14 lines
The Remix Mini PC is a "mini computer" using the Allwinner H64 SoC, which appears to be just a relabelled A64. It was launched in 2015 by the now defunct company Jide, and shipped with a desktop optimised version of Android. It features
- Allwinner H64 Soc (4 * Arm Cortex-A53 cores)
- 1 or 2 GB DRAM
- 8 or 16 GB eMMC flash
- 100 MBit Ethernet port (using an X-Powers AC200 PHY)
- RTL8723BS WiFi & Bluetooth chip
- HDMI port
- two USB 2.0 ports
- 3.5mm AV port
- microSD card slot
Quoted 6 lines
The devicetree covers most peripherals, though there is no agreed binding for the PHY chip yet, so this is left out.
The eMMC did not work with the MMC DDR speed mode, so this mode property is omitted.Signed-off-by Andre Przywara <[email protected]>
Best regards,
Jernej
Dne petek, 09. februar 2024 ob 12:40:15 CET je Andre Przywara napisal(a):
Quoted 18 lines
Hi,
a small update, addressing the review comments and adding tags. See below for a changelog.
==========================================
These are the DT support patches for the Jide Remix Mini PC, a now somewhat dated Mini-PC, once shipped with some kind of desktop Android OS. It sports an Allwinner H64 SoC, which is basically the same as the venerable A64.
To make it stick out of the crowd, the SoC has "secure boot" enabled, which just means it needs a different (signed) boot code package, already supported by mainline U-Boot. Fortunately there is no public key burned into the SoC, so any key can be used: the U-Boot build system will just make one up.
Apart from Ethernet (blocked by the AC200 PHY) everything should work, including WiFi and Bluetooth.
Quoted 1 line
Please have a look!
Applied, thanks!
Best regards,
Jernej
Quoted 20 lines
Changelog v1 .. v2:
- Update copyright year
- Remove not-working MMC DDR speed mode
- Add HS-400 speed mode property (used by the BSP kernel)
- Remove superfluous pinctrl-names propertyAndre Przywara (3):
dt-bindings: vendor-prefixes: add Jide
dt-bindings: arm: sunxi: document Remix Mini PC name
arm64: dts: allwinner: Add Jide Remix Mini PC support.../devicetree/bindings/arm/sunxi.yaml | 6 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/allwinner/Makefile | 1 + .../allwinner/sun50i-h64-remix-mini-pc.dts | 356 ++++++++++++++++++ 4 files changed, 365 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h64-remix-mini-pc.dts