rk3318 A95X Z2 board
Subsystems (2)
v3 cover rk3318 A95X Z2 board
Add rk3318 A95X Z2 board.
What works:
adc key
emmc
ethernet
hdmi
gpu
ir
mmc
sd card
vop
usb2
uart2
Not tested:
av
uart0 / bt
spdif
wifi
No support in mainline:
usb3 (works with manufacturer driver)
front display (works with custom gpio driver AD1628/HT1628)
Problems:
U-boot only starts on emmc, then loads kernel from sd card or emmc.
Hdmi hotplug detects DVI modes, but marks them all BAD. The dw-hdmi driver needs more pre_pll_cfg_table entries. Slow boot behavior. Screen available way after boot. (no penguins)
GPU support for Debian is not up to date. (old version) Use Github version instead.
Test with glmark2-es2-drm gives glmark2 Score: 29 Kernel log:
lima ff300000.gpu: pp pp0 reset time out
lima ff300000.gpu: pp pp1 reset time out
No mainline support for GPU thermal and voltage to frequency. PWM1 supply connected to DMC, GPU and vcodec.
The box only has a model name. Vendor prefix not verified.
Etc.
Changed V3:
add acked by
change adc-keys
change regulator
change SPDIF
rebase
remove disable-wp
remove pinctrl-names
remove vcc_phy
use label u2phy
Changed V2:
add vendor prefix
changed compatible string
changed led active high to active low
removed usb3 regulator node
restyle
Johan Jonker (3):
dt-bindings: Add vendor prefix for Shenzhen Zkmagic Technology Co.,
Ltd.
dt-bindings: arm: rockchip: add Zkmagic A95X Z2 description
arm64: dts: rockchip: add rk3318 A95X Z2 board
Johan Jonker (3):
dt-bindings: Add vendor prefix for Shenzhen Zkmagic Technology Co.,
Ltd.
dt-bindings: arm: rockchip: add Zkmagic A95X Z2 description
arm64: dts: rockchip: add rk3318 A95X Z2 board
.../devicetree/bindings/arm/rockchip.yaml | 5 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip/rk3318-a95x-z2.dts | 374 +++++++++++++++++++++ 4 files changed, 382 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3318-a95x-z2.dts
--
2.11.0
PATCH v3 1/3 dt-bindings: Add vendor prefix for Shenzhen Zkmagic Technology Co., Ltd.
Add vendor prefix for Shenzhen Zkmagic Technology Co., Ltd.
--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -1197,6 +1197,8 @@ patternProperties: description: Shenzhen Zidoo Technology Co., Ltd. "^zii,.*": description: Zodiac Inflight Innovations + "^zkmagic,.*": + description: Shenzhen Zkmagic Technology Co., Ltd. "^zte,.*": description: ZTE Corp. "^zyxel,.*":
Signature · 1 line
2.11.0
PATCH v3 2/3 dt-bindings: arm: rockchip: add Zkmagic A95X Z2 description
In reply to Johan JonkerAdd Zkmagic A95X Z2 description for a board with rk3318 processor.
--- Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
@@ -555,4 +555,9 @@ properties: items: - const: tronsmart,orion-r68-meta - const: rockchip,rk3368 + + - description: Zkmagic A95X Z2 + items: + - const: zkmagic,a95x-z2 + - const: rockchip,rk3318 ...
Signature · 1 line
2.11.0
PATCH v3 3/3 arm64: dts: rockchip: add rk3318 A95X Z2 board
In reply to Johan JonkerThe rk3318 A95X Z2 boards are sold as TV box.
No further documentation is given, but from the dts files extracted it seems that the rk3318 processor is simulair to the rk3328. This dts file contains only the basic nodes that have support in the mainline kernel.
Features:
CPU: RK3318 Quad-Core Cortex-A53
GPU: Mali-450
RAM: 2/4GB DDR3
ROM: EMMC 16/32/64GB
HDMI: HDMI 2.0a for 4k@60Hz
Ethernet: 10/100M standard RJ-45
WiFi: 2.4G+5G WIFI, 802.11 b/g/n
Bluetooth: 4.0
1 x USB 3.0
1 x USB 2.0
1 x Micro SD card slot
1 x SPDIF
1 x AV
1 x DC IN
--- arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip/rk3318-a95x-z2.dts | 374 ++++++++++++++++++++++++ 2 files changed, 375 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3318-a95x-z2.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
@@ -2,6 +2,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-evb.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-evb.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-roc-cc.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3318-a95x-z2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3326-odroid-go2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-a1.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-evb.dtb
arch/arm64/boot/dts/rockchip/rk3318-a95x-z2.dts new file +374 -0
374 lines not on this page · raw message
Signature · 1 line
2.11.0
Quoted 15 lines · Johan Jonker
Add rk3318 A95X Z2 board.
What works:
adc key
emmc
ethernet
hdmi
gpu
ir
mmc
sd card
vop
usb2
uart2
Quoted 1 line
[...]
Applied, thanks!
[1/3] dt-bindings: Add vendor prefix for Shenzhen Zkmagic Technology Co., Ltd.
commit: cb1cc137a2c148cbe60e5065afa1a09e176e0269
[2/3] dt-bindings: arm: rockchip: add Zkmagic A95X Z2 description
commit: 0dc8c62c92d4df35a001b613ebe10f95e4ebf776
[3/3] arm64: dts: rockchip: add rk3318 A95X Z2 board
commit: 964ed0807b5f7b42b8a6ad48531ae9312e19599dBest regards,
Signature · 1 line
Heiko Stuebner <[email protected]>