Skip to contentSkip to conversation

dt-bindings: arm: rockchip: Add 100ASK DShanPi A1

PATCH Applied Hsun Lai 3 participants 4 messages Oct 14, 2025 – Oct 29, 2025 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Hsun Lai

author
#1 lore raw

PATCH v4 1/2 dt-bindings: arm: rockchip: Add 100ASK DShanPi A1

In reply to a message not in the archive

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
index 28db6bd6a..033730861 100644
@@ -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.43.0
author
#3 lore raw

PATCH v4 2/2 arm64: dts: rockchip: add DTs for 100ASK DShanPi A1

In reply to a message not in the archive

Add 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

---

Changes in v4:
- Fix PCIE

Changes in v3:
- Update the name of vcc_in regulator (Chukun Pan, v2)
- Fix PCIE (Chukun Pan, v2)
- Update the name of typec5v_pwren_h pinctrl (Chukun Pan, v2)
- Fix USB3 (Chukun Pan, v2)
- Remove i2c2 node, unsupported RTC model rs4c1338 (Chukun Pan, v2)

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 | 795 ++++++++++++++++++
 2 files changed, 796 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index 099520962..2a8a8f263 100644
@@ -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 +795 -0

795 lines not on this page · raw message

Signature · 7 lines
2.43.0


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
maintainer Applied
#2 lore raw
In reply to Hsun Lai
Quoted 5 lines · Hsun Lai

This documents 100ASK DShanPi A1 which is a SBC based on RK3576 SoC.

Applied, thanks!

[1/2] dt-bindings: arm: rockchip: Add 100ASK DShanPi A1

      commit: ff29a83cda0f6eebb57d14f0a6456e3d1e5dc7c3
[2/2] arm64: dts: rockchip: add DTs for 100ASK DShanPi A1
      commit: d809417c5a4012feb4379cd1767549b3568906e3

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>
#4 lore raw

Re: [PATCH v4 2/2] arm64: dts: rockchip: add DTs for 100ASK DShanPi A1

In reply to Hsun Lai

Hi,

From the schematic, DT still has some things wrong:
https://dl.100ask.net/Hardware/MPU/RK3576-DshanPi-A1/DshanPi-A1-RK3576-SCH_V1.1.pdf

Do you want to resend the whole patch or I send some patches fixing them?

arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 178

Quoted 4 lines
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +4 -0
+	vcc_1v2_ufs_vccq_s0: regulator-vcc-1v2-ufs-vccq-s0 {
+	vcc_1v8_ufs_vccq2_s0: regulator-vcc-1v8-ufs-vccq2-s0 {
+	vcc_3v3_rtc_s5: regulator-vcc-3v3-rtc-s5 {
+	vcc_3v3_ufs_s0: regulator-vcc-ufs-s0 {

These ufs and rtc regulators do not actually exist.

arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 172

Quoted 2 lines
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +2 -0
+	vcc_5v0_typec0: regulator-vcc-5v0-typec0 {
+		regulator-name = "vcc_5v0_typec0";

The name on the schematic is vbus5v0_typec.

arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 252

Quoted 11 lines

+&gmac1 {

arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +10 -0
+	clock_in_out = "output";
+	phy-mode = "rgmii-id";
+	phy-handle = <&rgmii_phy1>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&eth1m0_miim
+		     &eth1m0_tx_bus2
+		     &eth1m0_rx_bus2
+		     &eth1m0_rgmii_clk
+		     &eth1m0_rgmii_bus
+		     &ethm0_clk1_25m_out>;

This should be ethm1_clk0_25m_out.
It seems that the 25m clock is not used.

arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 644

Quoted 6 lines

+&i2c4 {

arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +5 -0
+	status = "okay";
+
+	es8388: audio-codec@10 {
+		compatible = "everest,es8388", "everest,es8328";
+		reg = <0x10>;

i2cdetect reports that its address is 0x11

arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 649

Quoted 5 lines
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +5 -0
+		clocks = <&cru CLK_SAI1_MCLKOUT_TO_IO>;
+		AVDD-supply = <&vcca_3v3_s0>;
+		DVDD-supply = <&vcc_3v3_s0>;
+		HPVDD-supply = <&vcca_3v3_s0>;
+		PVDD-supply = <&vcc_3v3_s0>;

These are all from VCC3P3 (VCC3V3_S0).

arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 653

Quoted 4 lines
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +4 -0
+		assigned-clocks = <&cru CLK_SAI1_MCLKOUT_TO_IO>;
+		assigned-clock-rates = <12288000>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&sai1m0_mclk>;

In fact, this is connected to sai2.
The schematic is quite misleading here:
RK3576 - SAI2_xxx - SAI1_xxx - ES8388

arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 661

Quoted 8 lines
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +7 -0
+		#sound-dai-cells = <0>;
+	};
+};
 
+&mdio0 {
+	rgmii_phy0: phy@1 {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x1>;

The phy address configured in the schematic is 0,
which is also the case in practice.

arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 662

Quoted 1 line
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +1 -0
+		clocks = <&cru REFCLKO25M_GMAC0_OUT>;

This 25m clock is not used.

arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 674

Quoted 4 lines

+&mdio1 {

arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +3 -0
+	rgmii_phy1: phy@1 {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x1>;

The phy address is 0.

arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 675

Quoted 1 line
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +1 -0
+		clocks = <&cru REFCLKO25M_GMAC1_OUT>;

This 25m clock is not used.

arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 705

Quoted 3 lines
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +3 -0
+	headphone {
+		hp_det: hp-det {
+			rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;

According to the schematic, this should be GPIO0_A2?

arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 738

Quoted 7 lines
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +6 -0
+		};
+	};
 
+&sdhci {
+	bus-width = <8>;
+	full-pwr-cycle-in-suspend;
+	max-frequency = <200000000>;

max-frequency is already defined in dtsi

arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 752

Quoted 6 lines

+&sdmmc {

arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +5 -0
+	bus-width = <4>;
+	cap-mmc-highspeed;
+	cap-sd-highspeed;
+	disable-wp;
+	max-frequency = <200000000>;

max-frequency is already defined in dtsi

arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts line 754

Quoted 2 lines
arch/arm64/boot/dts/rockchip/rk3576-100ask-dshanpi-a1.dts new file +2 -0
+	sd-uhs-sdr104;
+	vmmc-supply = <&vcc_3v3_s3>;

This comes from VCC3P3 (VCC3V3_S0).