Add support for 100ASK DShanPi A1
Subsystems (2)
v2 cover Add support for 100ASK DShanPi A1
This series add support for 100ASK DShanPi A1.
Info of device can be found at:
https://wiki.dshanpi.org/en/docs/DshanPi-A1/intro/
Changes in v2:
- Delete the pwm include file (Chukun Pan, v1)
- Fix vcc3v3_pcie gpios (Chukun Pan, v1)
- Adjust the order of some nodes (Chukun Pan, v1)
- Fix sdmmc (Chukun Pan, v1)
- Add phy-supply for u2phy0_otg (Chukun Pan, v1)
Changes in v1:
- Add support for 100ASK DShanPi A1
Hsun Lai (2):
dt-bindings: arm: rockchip: Add 100ASK DShanPi A1
arm64: dts: rockchip: add DTs for 100ASK DShanPi A1
.../devicetree/bindings/arm/rockchip.yaml | 5 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3576-100ask-dshanpi-a1.dts | 838 ++++++++++++++++++ 3 files changed, 844 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts
Signature · 1 line
2.34.1
PATCH v2 1/2 dt-bindings: arm: rockchip: Add 100ASK DShanPi A1
This documents 100ASK DShanPi A1 which is a SBC based on RK3576 SoC.
---
(no changes since v1)
Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
@@ -15,6 +15,11 @@ properties: compatible: oneOf: + - description: 100ASK DshanPi A1 board + items: + - const: 100ask,dshanpi-a1 + - const: rockchip,rk3576 + - description: 96boards RK3399 Ficus (ROCK960 Enterprise Edition) items: - const: vamrs,ficus
Signature · 1 line
2.34.1
PATCH v2 2/2 arm64: dts: rockchip: add DTs for 100ASK DShanPi A1
In reply to Hsun LaiAdd device tree for 100ASK DShanPi A1 with Rockchip RK3576 SoC (4x Cortex-A72, 4x Cortex-A53, Mali-G52 MC3 GPU, 6 TOPS NPU). Enables basic booting and connectivity.
The device contains the following hardware that is tested/working:
- 32 or 64GB eMMC
- SDMMC card slot
- M.2 WiFi slot
- 4 or 8GB of RAM
- 2x 1Gbps Ethernet
- 2x USB 3.2 Gen 1 Type-A ports
- USB 3.0 port
- HDMI port
- RTC with HYM8563TS
---
Changes in v2:
- Delete the pwm include file (Chukun Pan, v1)
- Fix vcc3v3_pcie gpios (Chukun Pan, v1)
- Adjust the order of some nodes (Chukun Pan, v1)
- Fix sdmmc (Chukun Pan, v1)
- Add phy-supply for u2phy0_otg (Chukun Pan, v1)
Changes in v1:
- Add support for 100ASK DShanPi A1
arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3576-100ask-dshanpi-a1.dts | 838 ++++++++++++++++++ 2 files changed, 839 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
@@ -144,6 +144,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-rock-3b.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5-display-vz.dtbo dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-wolfvision-pf5-io-expander.dtbo +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-100ask-dshanpi-a1.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-armsom-sige5.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-armsom-sige5-v1.2-wifibt.dtbo dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-evb1-v10.dtb
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +838 -0
838 lines not on this page · raw message
Signature · 1 line
2.34.1
Re: [PATCH v2 2/2] arm64: dts: rockchip: add DTs for 100ASK DShanPi A1
Hi,
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 69
Quoted 3 lines
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +3
-0+ vcc_12v0_dcin: regulator-vcc-12v0-dcin { + compatible = "regulator-fixed"; + regulator-name = "vcc_12v0_dcin";
From the schematic [1], it should be called vcc_in?
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 131
Quoted 6 lines
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +6
-0+ vcc3v3_pcie: regulator-vcc3v3-pcie { + compatible = "regulator-fixed"; + enable-active-high; + gpios = <&gpio1 RK_PB7 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pcie_pwren_h>;
Schematic: "PCIE0_PERSTn"
It seems that it should be the reset gpio of pcie
instead of the enable of regulator.
Review
Quoted 2 lines
(quoted diff) +2
-0+ regulator-name = "vcc3v3_pcie"; + vin-supply = <&vcc_12v0_dcin>;
From the schematic, it should be called vcc3v3_m2? VCC5V0_SYS -> VCC3V3_M2
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 161
Quoted 3 lines
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +3
-0+ vcc_5v0_sys: regulator-vcc-5v0-sys { + compatible = "regulator-fixed"; + regulator-name = "vcc_5v0_sys";
Schematic: "VCC5V0_SYS_S5" / "VCC5V0_SYS"
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 184
Quoted 6 lines
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +6
-0+ vcc_5v0_typec0: regulator-vcc-5v0-typec0 { + compatible = "regulator-fixed"; + enable-active-high; + gpios = <&gpio1 RK_PC1 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&usb_otg0_pwren>;
Schematic: "TYPEC5V_PWREN_H"
Review
Quoted 2 lines
(quoted diff) +2
-0+ regulator-name = "vcc_5v0_typec0"; + vin-supply = <&vcc_5v0_device>;
Schematic: "VBUS5V0_TYPEC"VCC5V0_SYS -> VBUS5V0_TYPEC
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 194
Quoted 4 lines
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +4
-0+ vcc_5v0_usbhost: regulator-vcc-5v0-usbhost { + compatible = "regulator-fixed"; + enable-active-high; + gpios = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
Does this regulator really exist?GPIO0_C7_d -> ETH1_INTn
The power supply of USB3 host comes from
USB1_P1_PWR/USB1_P2_PWR - VCC5V0_SYS
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 207
Quoted 5 lines
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +5
-0+ vcc_3v3_ufs_s0: regulator-vcc-ufs-s0 { + compatible = "regulator-fixed"; + regulator-name = "vcc_3v3_ufs_s0"; + regulator-boot-on; + regulator-always-on;
The order of properties should be consistent:
``` regulator-always-on; regulator-boot-on; ```
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 672
Quoted 9 lines
+&i2c2 {
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +8
-0+ status = "okay"; + + hym8563: rtc@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + clock-output-names = "hym8563"; + interrupt-parent = <&gpio0>; + interrupts = <RK_PA0 IRQ_TYPE_LEVEL_LOW>;
GPIO0_A0 is connected to the button in the schematic [1]
[1] https://dl.100ask.net/Hardware/MPU/RK3576-DshanPi-A1/DshanPi-A1-RK3576-SCH_V1.0.pdf
--
2.25.1
Rob Herring (Arm)
maintainerQuoted 19 lines · Hsun Lai
This series add support for 100ASK DShanPi A1.
Info of device can be found at:
https://wiki.dshanpi.org/en/docs/DshanPi-A1/intro/Changes in v2:
- Delete the pwm include file (Chukun Pan, v1)
- Fixvcc3v3_pciegpios (Chukun Pan, v1)
- Adjust the order of some nodes (Chukun Pan, v1)
- Fix sdmmc (Chukun Pan, v1)
- Add phy-supply foru2phy0_otg(Chukun Pan, v1)Changes in v1:
- Add support for 100ASK DShanPi A1Hsun Lai (2):
dt-bindings: arm: rockchip: Add 100ASK DShanPi A1
arm64: dts: rockchip: add DTs for 100ASK DShanPi A1
Quoted 11 lines
.../devicetree/bindings/arm/rockchip.yaml | 5 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3576-100ask-dshanpi-a1.dts | 838 ++++++++++++++++++ 3 files changed, 844 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts--
2.34.1
My bot found new DTB warnings on the .dts files added or changed in this series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments.
If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:
pip3 install dtschema --upgrade
This patch series was applied (using b4) to base:
Base: attempting to guess base-commit...
Base: tags/v6.17-rc1-22-g7d11b8c260ea (exact match)
If this is not the correct base, please add 'base-commit' tag (or use b4 which does this automatically)
New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/rockchip/' for [email protected]:
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dtb: syscon@26034000 (rockchip,rk3576-dcphy-grf): clocks: False schema does not allow [[21, 492]]
from schema $id: http://devicetree.org/schemas/soc/rockchip/grf.yaml#arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dtb: /soc/dsi@27d80000: failed to match any schema with compatible: ['rockchip,rk3576-mipi-dsi2']
Heiko Stuebner
maintainerAm Dienstag, 26. August 2025, 15:56:43 Mitteleuropäische Sommerzeit schrieb Rob Herring (Arm):
Quoted 48 lines · Hsun Lai
Quoted 19 lines
This series add support for 100ASK DShanPi A1.
Info of device can be found at:
https://wiki.dshanpi.org/en/docs/DshanPi-A1/intro/Changes in v2:
- Delete the pwm include file (Chukun Pan, v1)
- Fixvcc3v3_pciegpios (Chukun Pan, v1)
- Adjust the order of some nodes (Chukun Pan, v1)
- Fix sdmmc (Chukun Pan, v1)
- Add phy-supply foru2phy0_otg(Chukun Pan, v1)Changes in v1:
- Add support for 100ASK DShanPi A1Hsun Lai (2):
dt-bindings: arm: rockchip: Add 100ASK DShanPi A1
arm64: dts: rockchip: add DTs for 100ASK DShanPi A1Quoted 11 lines
.../devicetree/bindings/arm/rockchip.yaml | 5 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3576-100ask-dshanpi-a1.dts | 838 ++++++++++++++++++ 3 files changed, 844 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts--
2.34.1My bot found new DTB warnings on the .dts files added or changed in this series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments.
If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:
pip3 install dtschema --upgrade
Quoted 8 lines
This patch series was applied (using b4) to base:
Base: attempting to guess base-commit...
Base: tags/v6.17-rc1-22-g7d11b8c260ea (exact match)If this is not the correct base, please add 'base-commit' tag (or use b4 which does this automatically)
New warnings running 'make CHECK_DTBS=y for
arch/arm64/boot/dts/rockchip/' for [email protected]:
both warnings are not the fault of this board addition, but instead come from "unrelated" sources in the main rk3576 dtsi:
Quoted 2 lines
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dtb: syscon@26034000 (rockchip,rk3576-dcphy-grf): clocks: False schema does not allow [[21, 492]]
from schema $id: http://devicetree.org/schemas/soc/rockchip/grf.yaml#
I messed up and forgot to add the new syscon to the clocks-required list. Will fix that shortly.
Quoted 1 line
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dtb: /soc/dsi@27d80000: failed to match any schema with compatible: ['rockchip,rk3576-mipi-dsi2']
the rk3576 dsi compatible is in drm-misc-next [0], so should hit linux-next shortly.
[0] https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/f05530bdaf42aa0e6bb4cde76ba6a081cf473d44