arm64: dts: rockchip: Add ArmSoM Sige7s support
Subsystems (2)
cover arm64: dts: rockchip: Add ArmSoM Sige7s support
Add support for the ArmSoM Sige7s, an RK3588S-based single-board computer sharing its hardware design with the CoolPi 4B.
Document the board compatible with coolpi,pi-4b as a fallback, extract the existing CoolPi 4B hardware description into a shared dtsi, and add a Sige7s DTS containing its model and compatible.
The generated CoolPi 4B DTB is byte-for-byte identical before and after the extraction. The Sige7s device tree differs only in its root model and compatible properties.
Boot-tested on an ArmSoM Sige7s v1.0 board, which successfully boots into userspace. This series retains the existing level of hardware support provided by the CoolPi 4B device tree.
Validation:
- Build-tested both DTBs with the arm64 defconfig and W=1.
- Passed dt_binding_check for arm/rockchip.yaml.
- Passed DTB validation against the full processed schema set.
- Ran checkpatch --strict: no errors or checks; the two warnings ask whether MAINTAINERS needs updating for the added files. The files are covered by the existing subsystem entries.
Product documentation: https://docs.armsom.org/armsom-sige7s
AI assistance: Codex reviewed the series, ran the build and schema checks, revised the commit messages and cover letter.
Jianfeng Liu (3):
dt-bindings: arm: rockchip: Add ArmSoM Sige7s
arm64: dts: rockchip: Extract common CoolPi 4B board description
arm64: dts: rockchip: Add ArmSoM Sige7s board
.../devicetree/bindings/arm/rockchip.yaml | 6 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3588s-armsom-sige7s.dts | 10 + .../boot/dts/rockchip/rk3588s-coolpi-4b.dts | 936 +---------------- .../boot/dts/rockchip/rk3588s-coolpi-4b.dtsi | 941 ++++++++++++++++++ 5 files changed, 959 insertions(+), 935 deletions(-) create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-armsom-sige7s.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dtsi
---
base-commit: 8f7df005a7564bd7ffa75da9c3085d5b996f1e16
branch: sige7s-next-20261020
Signature · 1 line
2.47.3
PATCH 1/3 dt-bindings: arm: rockchip: Add ArmSoM Sige7s
The ArmSoM Sige7s is an RK3588S-based single-board computer which shares its hardware design with the CoolPi 4B.
Add its board compatible with coolpi,pi-4b as a fallback.
---
Documentation/devicetree/bindings/arm/rockchip.yaml | 6 ++++++ 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +6 -0
@@ -99,6 +99,12 @@ properties: - const: armsom,sige7 - const: rockchip,rk3588 + - description: ArmSoM Sige7s board + items: + - const: armsom,sige7s + - const: coolpi,pi-4b + - const: rockchip,rk3588s + - description: ArmSoM LM7 SoM items: - enum:
Signature · 1 line
2.47.3
Re: [PATCH 1/3] dt-bindings: arm: rockchip: Add ArmSoM Sige7s
Quoted 2 lines · Jianfeng Liu
The ArmSoM Sige7s is an RK3588S-based single-board computer which shares its hardware design with the CoolPi 4B.
How different devices from different vendors can share design?
What is exactly is shared and how did you verify that?
Quoted 5 lines
Add its board compatible with coolpi,pi-4b as a fallback.
Signed-off-by Jianfeng Liu <[email protected]>---
Best regards,
Krzysztof
Re: [PATCH 1/3] dt-bindings: arm: rockchip: Add ArmSoM Sige7s
Hi Krzysztof,
Quoted 7 lines · Krzysztof Kozlowski
Quoted 2 lines
The ArmSoM Sige7s is an RK3588S-based single-board computer which shares its hardware design with the CoolPi 4B.
How different devices from different vendors can share design?
What is exactly is shared and how did you verify that?
I confirmed this with ArmSoM. They purchased the original CoolPi 4B hardware design from CoolPi and confirmed that no hardware design modifications were made for the Sige7s.
So the Sige7s uses the same hardware design as the CoolPi 4B, rather than being independently designed.
Best regards,
Jianfeng
Heiko Stuebner
maintainerRe: [PATCH 1/3] dt-bindings: arm: rockchip: Add ArmSoM Sige7s
Am Montag, 26. Oktober 2026, 08:59:14 Mitteleuropäische Normalzeit schrieb Jianfeng Liu:
Quoted 9 lines
Hi Krzysztof,
Quoted 6 lines · Krzysztof Kozlowski
Quoted 2 lines
The ArmSoM Sige7s is an RK3588S-based single-board computer which shares its hardware design with the CoolPi 4B.
How different devices from different vendors can share design?
Quoted 8 lines
Quoted 1 line
What is exactly is shared and how did you verify that?
I confirmed this with ArmSoM. They purchased the original CoolPi 4B hardware design from CoolPi and confirmed that no hardware design modifications were made for the Sige7s.
So the Sige7s uses the same hardware design as the CoolPi 4B, rather than being independently designed.
if it's the completely same board, just with a different print on the board, why does it need an empty devicetree. When it's completely unchanged, what's speaking against just re-using the original one?
Heiko
Re: [PATCH 1/3] dt-bindings: arm: rockchip: Add ArmSoM Sige7s
Hi Heiko,
Quoted 10 lines · Heiko Stuebner
Quoted 6 lines
I confirmed this with ArmSoM. They purchased the original CoolPi 4B hardware design from CoolPi and confirmed that no hardware design modifications were made for the Sige7s.
So the Sige7s uses the same hardware design as the CoolPi 4B, rather than being independently designed.
if it's the completely same board, just with a different print on the board, why does it need an empty devicetree. When it's completely unchanged, what's speaking against just re-using the original one?
The existing CoolPi 4B DTB does work on the Sige7s, and I agree that there is no hardware difference requiring a separate device tree.
My main reason for adding a separate DTS is to preserve the Sige7s board identity for long-term upstream support.
The CoolPi 4B appears to be discontinued and is no longer readily available through the purchase channels listed on its official website
(https://www.cool-pi.com/buy/). In contrast, ArmSoM is actively selling the Sige7s and has committed to producing it until at least January 2034.
I'm also planning to add mainline U-Boot support for the Sige7s and integrate it with Stubble-based UEFI booting.
While U-Boot could update the model and compatible properties before booting Linux, Stubble may replace the firmware-provided DTB with one bundled with the kernel. Having a Sige7s-specific DTB would preserve the correct board identity throughout this process without requiring additional distribution-specific modifications.
This would also avoid confusing users who purchase a Sige7s but find their system identified as a CoolPi 4B.
The shared dtsi ensures that we do not duplicate the hardware description, with the two board DTS files differing only in model and compatible.
Would this be a reasonable justification for keeping a separate board DTS?
Best regards,
Jianfeng
Re: [PATCH 1/3] dt-bindings: arm: rockchip: Add ArmSoM Sige7s
Quoted 5 lines · Jianfeng Liu
Hi Heiko,
Quoted 2 lines · Heiko Stuebner
Quoted 2 lines
I confirmed this with ArmSoM. They purchased the original CoolPi 4B hardware design from CoolPi and confirmed that no hardware design
"no hardware design modifications" is quite different than what commit msg said "based on".
Quoted 23 lines
Quoted 8 lines
Quoted 4 lines
modifications were made for the Sige7s.
So the Sige7s uses the same hardware design as the CoolPi 4B, rather than being independently designed.
if it's the completely same board, just with a different print on the board, why does it need an empty devicetree. When it's completely unchanged, what's speaking against just re-using the original one?
The existing CoolPi 4B DTB does work on the Sige7s, and I agree that there is no hardware difference requiring a separate device tree.
My main reason for adding a separate DTS is to preserve the Sige7s board identity for long-term upstream support.
The CoolPi 4B appears to be discontinued and is no longer readily available through the purchase channels listed on its official website
(https://www.cool-pi.com/buy/). In contrast, ArmSoM is actively selling the Sige7s and has committed to producing it until at least January 2034.I'm also planning to add mainline U-Boot support for the Sige7s and integrate it with Stubble-based UEFI booting.
Quoted 8 lines
While U-Boot could update the model and compatible properties before booting Linux, Stubble may replace the firmware-provided DTB with one bundled with the kernel. Having a Sige7s-specific DTB would preserve the correct board identity throughout this process without requiring additional distribution-specific modifications.
This would also avoid confusing users who purchase a Sige7s but find their system identified as a CoolPi 4B.
Maybe just install the DTB under new name if they are identical?
Best regards,
Krzysztof
Re: [PATCH 1/3] dt-bindings: arm: rockchip: Add ArmSoM Sige7s
Hi Krzysztof,
Quoted 1 line · Krzysztof
Maybe just install the DTB under new name if they are identical?
Thanks for the suggestion.
Installing the existing CoolPi 4B DTB under a different filename would solve the DTB naming issue, but the model and compatible properties would still identify the device as a CoolPi 4B.
This is my main concern. Users running Linux on a Sige7s would still see "RK3588S CoolPi 4 Model B" in /proc/device-tree/model, even though they purchased an ArmSoM Sige7s.
I agree that we should avoid duplicating the hardware description, since the boards are identical. However, I think preserving the correct board identity in the device tree is useful, especially for a product that is still being manufactured and will receive ongoing upstream support.
Would it be acceptable to share the entire hardware description while keeping separate model and compatible properties for the two boards?
Best regards,
Jianfeng
Re: [PATCH 1/3] dt-bindings: arm: rockchip: Add ArmSoM Sige7s
Quoted 15 lines · Jianfeng Liu
Hi Krzysztof,
Quoted 1 line · Krzysztof
Maybe just install the DTB under new name if they are identical?
Thanks for the suggestion.
Installing the existing CoolPi 4B DTB under a different filename would solve the DTB naming issue, but the model and compatible properties would still identify the device as a CoolPi 4B.
This is my main concern. Users running Linux on a Sige7s would still see "RK3588S CoolPi 4 Model B" in
/proc/device-tree/model, even though they purchased an ArmSoM Sige7s.
Quoted 7 lines
I agree that we should avoid duplicating the hardware description, since the boards are identical. However, I think preserving the correct board identity in the device tree is useful, especially for a product that is still being manufactured and will receive ongoing upstream support.
Would it be acceptable to share the entire hardware description while keeping separate model and compatible properties for the two boards?
Yes, just be sure to capture this in commit msg and maybe Sige7s DTS comments.
Best regards,
Krzysztof
Re: [PATCH 1/3] dt-bindings: arm: rockchip: Add ArmSoM Sige7s
Hi,
Quoted 2 lines · Krzysztof Kozlowski
Yes, just be sure to capture this in commit msg and maybe Sige7s DTS comments.
Thanks, Krzysztof. I'll clarify the hardware design relationship and the reason for keeping a separate board identity in the v2 commit messages and Sige7s DTS comments.
Best regards,
Jianfeng
Re: [PATCH 1/3] dt-bindings: arm: rockchip: Add ArmSoM Sige7s
In reply to Jianfeng LiuHi Jianfeng Liu,
Quoted 20 lines · Jianfeng Liu
Hi Heiko,
Quoted 10 lines · Heiko Stuebner
Quoted 6 lines
I confirmed this with ArmSoM. They purchased the original CoolPi 4B hardware design from CoolPi and confirmed that no hardware design modifications were made for the Sige7s.
So the Sige7s uses the same hardware design as the CoolPi 4B, rather than being independently designed.
if it's the completely same board, just with a different print on the board, why does it need an empty devicetree. When it's completely unchanged, what's speaking against just re-using the original one?
The existing CoolPi 4B DTB does work on the Sige7s, and I agree that there is no hardware difference requiring a separate device tree.
My main reason for adding a separate DTS is to preserve the Sige7s board identity for long-term upstream support.
Quoted 8 lines
The CoolPi 4B appears to be discontinued and is no longer readily available through the purchase channels listed on its official website
(https://www.cool-pi.com/buy/). In contrast, ArmSoM is actively selling the Sige7s and has committed to producing it until at least January 2034.I'm also planning to add mainline U-Boot support for the Sige7s and integrate it with Stubble-based UEFI booting.
I am not sure I want this in U-Boot. Why should we have add a defconfig (and thus increase the CI build time) for a device that's already entirely covered by another defconfig? I guess the Linux kernel doesn't care about this so we don't need to discuss this here.
Quoted 6 lines
While U-Boot could update the model and compatible properties before booting Linux, Stubble may replace the firmware-provided DTB with one bundled with the kernel. Having a Sige7s-specific DTB would preserve the correct board identity throughout this process without requiring additional distribution-specific modifications.
From U-Boot's perspective, I would have preferred there be a simple difference we can detect at runtime and based on that decide which device tree to load between coolpi-4b and armsom-sige7s.
Quoted 3 lines
This would also avoid confusing users who purchase a Sige7s but find their system identified as a CoolPi 4B.
Quoted 1 line
The shared dtsi ensures that we do not duplicate the hardware
description,
Quoted 2 lines
with the two board DTS files differing only in model and compatible.
I don't know Heiko's or Krzysztof's opinion here, but I think it would better reflect the actual context to NOT use a dtsi and simply have arch/arm64/boot/dts/rockchip/rk3588s-armsom-sige7s.dts include arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts and update the model and compatible properties.
Cheers,
Quentin
Re: [PATCH 1/3] dt-bindings: arm: rockchip: Add ArmSoM Sige7s
Hi Quentin,
Quoted 3 lines · Quentin Schulz
From U-Boot's perspective, I would have preferred there be a simple difference we can detect at runtime and based on that decide which device tree to load between coolpi-4b and armsom-sige7s.
Maybe we can ask ArmSom to write some OEM strings into the OTP of SoC. So we can use one defconfig for two boards. I will check this method with ArmSoM and current OTP support in u-boot.
Quoted 5 lines
I don't know Heiko's or Krzysztof's opinion here, but I think it would better reflect the actual context to NOT use a dtsi and simply have
arch/arm64/boot/dts/rockchip/rk3588s-armsom-sige7s.dtsincludearch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dtsand update the model and compatible properties.
Thanks for the suggestion. I checked the existing mainline DTS files and found similar examples, such as stm32mp157c-ev1.dts including stm32mp157c-ed1.dts directly, and the ARM Juno SCMI variants including their base board DTS files.
I agree that directly including rk3588s-coolpi-4b.dts would better reflect the relationship between the two boards and avoid unnecessary changes to the existing CoolPi DTS.
I'll use this approach in v2 unless Heiko prefers otherwise.
Best regards,
Jianfeng
PATCH 2/3 arm64: dts: rockchip: Extract common CoolPi 4B board description
In reply to Jianfeng LiuMove the CoolPi 4B hardware description into a shared dtsi so that the ArmSoM Sige7s can reuse it. Keep the board model and compatible in the CoolPi 4B DTS.
The generated CoolPi 4B DTB remains unchanged.
---
.../boot/dts/rockchip/rk3588s-coolpi-4b.dts | 936 +---------------- .../boot/dts/rockchip/rk3588s-coolpi-4b.dtsi | 941 ++++++++++++++++++ 2 files changed, 942 insertions(+), 935 deletions(-) create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dtsi
arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts +1 -935
@@ -1,944 +1,10 @@ // SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2023 Rockchip Electronics Co., Ltd. - * - * https://cool-pi.com/topic/130/coolpi-4b-product-spec-introduction - * - */ /dts-v1/; -#include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/leds/common.h> -#include <dt-bindings/pinctrl/rockchip.h> -#include <dt-bindings/soc/rockchip,vop2.h> -#include "rk3588s.dtsi" +#include "rk3588s-coolpi-4b.dtsi" / { model = "RK3588S CoolPi 4 Model B"; compatible = "coolpi,pi-4b", "rockchip,rk3588s"; - - aliases { - mmc0 = &sdhci; - mmc1 = &sdmmc; - mmc2 = &sdio; - }; - - analog-sound { - compatible = "audio-graph-card"; - dais = <&i2s0_8ch_p0>; - label = "rk3588-es8316"; - routing = "MIC2", "Mic Jack", - "Headphones", "HPOL", - "Headphones", "HPOR"; - widgets = "Microphone", "Mic Jack", - "Headphone", "Headphones"; - }; - - chosen { - stdout-path = "serial2:1500000n8"; - }; - - dp-con { - compatible = "dp-connector"; - label = "DP OUT"; - type = "mini"; - - port { - dp_con_in: endpoint { - remote-endpoint = <&dp0_out_con>; - }; - }; - }; - - hdmi-con { - compatible = "hdmi-connector"; - type = "d"; - - port { - hdmi_con_in: endpoint { - remote-endpoint = <&hdmi0_out_con>; - }; - }; - }; - - leds: leds { - compatible = "gpio-leds"; - pinctrl-names = "default"; - pinctrl-0 = <&gpio_leds>; - - led0: led-green { - color = <LED_COLOR_ID_GREEN>; - function = LED_FUNCTION_STATUS; - gpios = <&gpio0 RK_PD0 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "heartbeat"; - }; - - led1: led-red { - color = <LED_COLOR_ID_RED>; - default-state = "off"; - function = LED_FUNCTION_WLAN; - gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "phy0tx"; - }; - }; - - sdio_pwrseq: sdio-pwrseq { - compatible = "mmc-pwrseq-simple"; - clocks = <&hym8563>; - clock-names = "ext_clock"; - pinctrl-names = "default"; - pinctrl-0 = <&wifi_enable_h>; - /* - * On the module itself this is one of these (depending - * on the actual card populated): - * - SDIO_RESET_L_WL_REG_ON - * - PDN (power down when low) - */ - post-power-on-delay-ms = <200>; - reset-gpios = <&gpio0 RK_PC7 GPIO_ACTIVE_LOW>; - }; - - vcc12v_dcin: regulator-vcc12v-dcin { - compatible = "regulator-fixed"; - regulator-name = "vcc12v_dcin"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <12000000>; - regulator-max-microvolt = <12000000>; - }; - - vcc5v0_sys: regulator-vcc5v0-sys { - compatible = "regulator-fixed"; - regulator-name = "vcc5v0_sys"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - vin-supply = <&vcc12v_dcin>; - }; - - vcc5v0_usbdcin: regulator-vcc5v0-usbdcin { - compatible = "regulator-fixed"; - regulator-name = "vcc5v0_usbdcin"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - vin-supply = <&vcc12v_dcin>; - }; - - vcc5v0_usb: regulator-vcc5v0-usb { - compatible = "regulator-fixed"; - regulator-name = "vcc5v0_usb"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - vin-supply = <&vcc5v0_usbdcin>; - }; - - avdd0v85_pcie20: regulator-avdd0v85-pcie20 { - compatible = "regulator-fixed"; - regulator-name = "avdd0v85_pcie20"; - regulator-boot-on; - regulator-always-on; - regulator-min-microvolt = <850000>; - regulator-max-microvolt = <850000>; - vin-supply = <&vdd_0v85_s0>; - }; - - avdd1v8_pcie20: regulator-avdd1v8-pcie20 { - compatible = "regulator-fixed"; - regulator-name = "avdd1v8_pcie20"; - regulator-boot-on; - regulator-always-on; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - vin-supply = <&avcc_1v8_s0>; - }; - - vcc3v3_mipi: regulator-vcc3v3-mipi { - compatible = "regulator-fixed"; - enable-active-high; - gpio = <&gpio3 RK_PC2 GPIO_ACTIVE_HIGH>; - regulator-name = "vcc3v3_mipi"; - regulator-boot-on; - regulator-always-on; - vin-supply = <&vcc_3v3_s3>; - }; - - vcc5v0_host: regulator-vcc5v0-host { - compatible = "regulator-fixed"; - enable-active-high; - gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>; - pinctrl-names = "default"; - pinctrl-0 = <&vcc5v0_host_en>; - regulator-name = "vcc5v0_host"; - regulator-boot-on; - regulator-always-on; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - vin-supply = <&vcc5v0_sys>; - }; - - vcc5v0_otg: regulator-vcc5v0-otg { - compatible = "regulator-fixed"; - enable-active-high; - gpio = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>; - pinctrl-names = "default"; - pinctrl-0 = <&vcc5v0_u3host_en>; - regulator-name = "vcc5v0_otg"; - regulator-boot-on; - regulator-always-on; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - vin-supply = <&vcc5v0_sys>; - }; - - vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { - compatible = "regulator-fixed"; - regulator-name = "vcc_1v1_nldo_s3"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <1100000>; - regulator-max-microvolt = <1100000>; - vin-supply = <&vcc5v0_sys>; - }; -}; - -&combphy0_ps { - status = "okay"; -}; - -&combphy2_psu { - status = "okay"; -}; - -&cpu_l0 { - cpu-supply = <&vdd_cpu_lit_s0>; -}; - -&cpu_b0 { - cpu-supply = <&vdd_cpu_big0_s0>; -}; - -&cpu_b2 { - cpu-supply = <&vdd_cpu_big1_s0>; -}; - -&dp0 { - pinctrl-0 = <&dp0m0_pins>; - pinctrl-names = "default"; - status = "okay"; -}; - -&dp0_in { - dp0_in_vp2: endpoint { - remote-endpoint = <&vp2_out_dp0>; - }; -}; - -&dp0_out { - dp0_out_con: endpoint { - remote-endpoint = <&dp_con_in>; - }; -}; - -&gpu { - mali-supply = <&vdd_gpu_s0>; - status = "okay"; -}; - -&hdmi0 { - frl-enable-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_LOW>; - pinctrl-0 = <&hdmim0_tx0_cec &hdmim0_tx0_hpd - &hdmim0_tx0_scl &hdmim0_tx0_sda &hdmi0_tx_on_h>; - pinctrl-names = "default"; - status = "okay"; -}; - -&hdmi0_in { - hdmi0_in_vp0: endpoint { - remote-endpoint = <&vp0_out_hdmi0>; - }; -}; - -&hdmi0_out { - hdmi0_out_con: endpoint { - remote-endpoint = <&hdmi_con_in>; - }; -}; - -&hdptxphy0 { - status = "okay"; -}; - -&i2c0 { - pinctrl-0 = <&i2c0m2_xfer>; - pinctrl-names = "default"; - status = "okay"; - - vdd_cpu_big0_s0: regulator@42 { - compatible = "rockchip,rk8602"; - reg = <0x42>; - fcs,suspend-voltage-selector = <1>; - regulator-name = "vdd_cpu_big0_s0"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <550000>; - regulator-max-microvolt = <1050000>; - regulator-ramp-delay = <2300>; - vin-supply = <&vcc5v0_sys>; - - regulator-state-mem { - regulator-off-in-suspend; - }; - }; - - vdd_cpu_big1_s0: regulator@43 { - compatible = "rockchip,rk8603", "rockchip,rk8602"; - reg = <0x43>; - fcs,suspend-voltage-selector = <1>; - regulator-name = "vdd_cpu_big1_s0"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <550000>; - regulator-max-microvolt = <1050000>; - regulator-ramp-delay = <2300>; - vin-supply = <&vcc5v0_sys>; - - regulator-state-mem { - regulator-off-in-suspend; - }; - }; -}; - -&i2c2 { - status = "okay"; - - vdd_npu_s0: regulator@42 { - compatible = "rockchip,rk8602"; - reg = <0x42>; - fcs,suspend-voltage-selector = <1>; - regulator-name = "vdd_npu_s0"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <550000>; - regulator-max-microvolt = <950000>; - regulator-ramp-delay = <2300>; - vin-supply = <&vcc5v0_sys>; - - regulator-state-mem { - regulator-off-in-suspend; - }; - }; -}; - -&i2c6 { - pinctrl-0 = <&i2c6m3_xfer>; - pinctrl-names = "default"; - status = "okay"; - - hym8563: rtc@51 { - compatible = "haoyu,hym8563"; - reg = <0x51>; - interrupt-parent = <&gpio0>; - interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>; - #clock-cells = <0>; - clock-output-names = "hym8563"; - pinctrl-names = "default"; - pinctrl-0 = <&hym8563_int>; - }; -}; - -&i2c7 { - pinctrl-0 = <&i2c7m0_xfer>; - pinctrl-names = "default"; - status = "okay"; - - es8316: audio-codec@10 { - compatible = "everest,es8316"; - reg = <0x10>; - assigned-clocks = <&cru I2S0_8CH_MCLKOUT>; - assigned-clock-rates = <12288000>; - clocks = <&cru I2S0_8CH_MCLKOUT>; - clock-names = "mclk"; - #sound-dai-cells = <0>; - - port { - es8316_p0_0: endpoint { - remote-endpoint = <&i2s0_8ch_p0_0>; - }; - }; - }; -}; - -&i2s0_8ch { - pinctrl-0 = <&i2s0_lrck - &i2s0_mclk - &i2s0_sclk - &i2s0_sdi0 - &i2s0_sdo0>; - pinctrl-names = "default"; - status = "okay"; - - i2s0_8ch_p0: port { - i2s0_8ch_p0_0: endpoint { - dai-format = "i2s"; - mclk-fs = <256>; - remote-endpoint = <&es8316_p0_0>; - }; - }; -}; - -&pcie2x1l2 { - pinctrl-names = "default"; - pinctrl-0 = <&rtl8111_isolate>; - reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>; - status = "okay"; -}; - -&pd_gpu { - domain-supply = <&vdd_gpu_s0>; -}; - -&pinctrl { - hdmi { - hdmi0_tx_on_h: hdmi0-tx-on-h { - rockchip,pins = <4 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; - }; - }; - - hym8563 { - hym8563_int: hym8563-int { - rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; - }; - }; - - led { - gpio_leds: gpio-leds { - rockchip,pins = <0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_down>, - <0 RK_PD0 RK_FUNC_GPIO &pcfg_pull_down>; - }; - }; - - rtl8111 { - rtl8111_isolate: rtl8111-isolate { - rockchip,pins = <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; - }; - }; - - sdio-pwrseq { - wifi_enable_h: wifi-enable-h { - rockchip,pins = <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>; - }; - }; - - usb { - vcc5v0_host_en: vcc5v0-host-en { - rockchip,pins = <3 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>, - <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up>; - }; - - vcc5v0_u3host_en: vcc5v0-u3host-en { - rockchip,pins = <3 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>; - }; - }; - - wireless-bluetooth { - bt_reset_gpio: bt-reset-pin { - rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; - }; - - bt_wake_gpio: bt-wake-pin { - rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; - }; - - bt_wake_host_irq: bt-wake-host-irq { - rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_down>; - }; - }; - - wireless-wlan { - wifi_host_wake_irq: wifi-host-wake-irq { - rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_down>; - }; - - wifi_poweren_pin: wifi-poweren-pin { - rockchip,pins = <1 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>; - }; - }; -}; - -&pwm2 { - pinctrl-0 = <&pwm2m1_pins>; - pinctrl-names = "default"; - status = "okay"; -}; - -&pwm13 { - pinctrl-names = "default"; - pinctrl-0 = <&pwm13m2_pins>; - status = "okay"; -}; - -&saradc { - vref-supply = <&vcc_1v8_s0>; - status = "okay"; -}; - -&sdhci { - bus-width = <8>; - max-frequency = <200000000>; - mmc-hs400-1_8v; - mmc-hs400-enhanced-strobe; - no-sdio; - no-sd; - non-removable; - status = "okay"; -}; - -&sdio { - bus-width = <4>; - cap-sd-highspeed; - cap-sdio-irq; - disable-wp; - keep-power-in-suspend; - max-frequency = <150000000>; - mmc-pwrseq = <&sdio_pwrseq>; - no-sd; - no-mmc; - non-removable; - pinctrl-names = "default"; - pinctrl-0 = <&sdiom1_pins>,<&wifi_poweren_pin>; - status = "okay"; -}; - -&sdmmc { - bus-width = <4>; - cap-sd-highspeed; - cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>; - disable-wp; - max-frequency = <150000000>; - no-sdio; - no-mmc; - sd-uhs-sdr104; - vmmc-supply = <&vcc_3v3_s3>; - vqmmc-supply = <&vccio_sd_s0>; - status = "okay"; -}; - -&spi2 { - assigned-clocks = <&cru CLK_SPI2>; - assigned-clock-rates = <200000000>; - num-cs = <1>; - pinctrl-names = "default"; - pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>; - status = "okay"; - - pmic@0 { - compatible = "rockchip,rk806"; - reg = <0x0>; - interrupt-parent = <&gpio0>; - interrupts = <7 IRQ_TYPE_LEVEL_LOW>; - gpio-controller; - #gpio-cells = <2>; - pinctrl-names = "default"; - pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, - <&rk806_dvs2_null>, <&rk806_dvs3_null>; - spi-max-frequency = <1000000>; - vcc1-supply = <&vcc5v0_sys>; - vcc2-supply = <&vcc5v0_sys>; - vcc3-supply = <&vcc5v0_sys>; - vcc4-supply = <&vcc5v0_sys>; - vcc5-supply = <&vcc5v0_sys>; - vcc6-supply = <&vcc5v0_sys>; - vcc7-supply = <&vcc5v0_sys>; - vcc8-supply = <&vcc5v0_sys>; - vcc9-supply = <&vcc5v0_sys>; - vcc10-supply = <&vcc5v0_sys>; - vcc11-supply = <&vcc_2v0_pldo_s3>; - vcc12-supply = <&vcc5v0_sys>; - vcc13-supply = <&vcc_1v1_nldo_s3>; - vcc14-supply = <&vcc_1v1_nldo_s3>; - vcca-supply = <&vcc5v0_sys>; - - rk806_dvs1_null: dvs1-null-pins { - pins = "gpio_pwrctrl1"; - function = "pin_fun0"; - }; - - rk806_dvs2_null: dvs2-null-pins { - pins = "gpio_pwrctrl2"; - function = "pin_fun0"; - }; - - rk806_dvs3_null: dvs3-null-pins { - pins = "gpio_pwrctrl3"; - function = "pin_fun0"; - }; - - regulators { - vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 { - regulator-name = "vdd_gpu_s0"; - regulator-boot-on; - regulator-min-microvolt = <550000>; - regulator-max-microvolt = <950000>; - regulator-ramp-delay = <12500>; - regulator-enable-ramp-delay = <400>; - - regulator-state-mem { - regulator-off-in-suspend; - }; - }; - - vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 { - regulator-name = "vdd_cpu_lit_s0"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <550000>; - regulator-max-microvolt = <950000>; - regulator-ramp-delay = <12500>; - - regulator-state-mem { - regulator-off-in-suspend; - }; - }; - - vdd_log_s0: dcdc-reg3 { - regulator-name = "vdd_log_s0"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <750000>; - regulator-ramp-delay = <12500>; - - regulator-state-mem { - regulator-off-in-suspend; - regulator-suspend-microvolt = <750000>; - }; - }; - - vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 { - regulator-name = "vdd_vdenc_s0"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <550000>; - regulator-max-microvolt = <950000>; - regulator-ramp-delay = <12500>; - - regulator-state-mem { - regulator-off-in-suspend; - }; - }; - - vdd_ddr_s0: dcdc-reg5 { - regulator-name = "vdd_ddr_s0"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <675000>; - regulator-max-microvolt = <900000>; - regulator-ramp-delay = <12500>; - - regulator-state-mem { - regulator-off-in-suspend; - regulator-suspend-microvolt = <850000>; - }; - }; - - vdd2_ddr_s3: dcdc-reg6 { - regulator-name = "vdd2_ddr_s3"; - regulator-always-on; - regulator-boot-on; - - regulator-state-mem { - regulator-on-in-suspend; - }; - }; - - vcc_2v0_pldo_s3: dcdc-reg7 { - regulator-name = "vdd_2v0_pldo_s3"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <2000000>; - regulator-max-microvolt = <2000000>; - regulator-ramp-delay = <12500>; - - regulator-state-mem { - regulator-on-in-suspend; - regulator-suspend-microvolt = <2000000>; - }; - }; - - vcc_3v3_s3: dcdc-reg8 { - regulator-name = "vcc_3v3_s3"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - - regulator-state-mem { - regulator-on-in-suspend; - regulator-suspend-microvolt = <3300000>; - }; - }; - - vddq_ddr_s0: dcdc-reg9 { - regulator-name = "vddq_ddr_s0"; - regulator-always-on; - regulator-boot-on; - - regulator-state-mem { - regulator-off-in-suspend; - }; - }; - - vcc_1v8_s3: dcdc-reg10 { - regulator-name = "vcc_1v8_s3"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - - regulator-state-mem { - regulator-on-in-suspend; - regulator-suspend-microvolt = <1800000>; - }; - }; - - avcc_1v8_s0: pldo-reg1 { - regulator-name = "avcc_1v8_s0"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - - regulator-state-mem { - regulator-off-in-suspend; - }; - }; - - vcc_1v8_s0: pldo-reg2 { - regulator-name = "vcc_1v8_s0"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - - regulator-state-mem { - regulator-off-in-suspend; - regulator-suspend-microvolt = <1800000>; - }; - }; - - avdd_1v2_s0: pldo-reg3 { - regulator-name = "avdd_1v2_s0"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - - regulator-state-mem { - regulator-off-in-suspend; - }; - }; - - vcc_3v3_s0: pldo-reg4 { - regulator-name = "vcc_3v3_s0"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-ramp-delay = <12500>; - - regulator-state-mem { - regulator-off-in-suspend; - }; - }; - - vccio_sd_s0: pldo-reg5 { - regulator-name = "vccio_sd_s0"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - regulator-ramp-delay = <12500>; - - regulator-state-mem { - regulator-off-in-suspend; - }; - }; - - pldo6_s3: pldo-reg6 { - regulator-name = "pldo6_s3"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - - regulator-state-mem { - regulator-on-in-suspend; - regulator-suspend-microvolt = <1800000>; - }; - }; - - vdd_0v75_s3: nldo-reg1 { - regulator-name = "vdd_0v75_s3"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <750000>; - - regulator-state-mem { - regulator-on-in-suspend; - regulator-suspend-microvolt = <750000>; - }; - }; - - vdd_ddr_pll_s0: nldo-reg2 { - regulator-name = "vdd_ddr_pll_s0"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <850000>; - regulator-max-microvolt = <850000>; - - regulator-state-mem { - regulator-off-in-suspend; - regulator-suspend-microvolt = <850000>; - }; - }; - - avdd_0v75_s0: nldo-reg3 { - regulator-name = "avdd_0v75_s0"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <750000>; - - regulator-state-mem { - regulator-off-in-suspend; - }; - }; - - vdd_0v85_s0: nldo-reg4 { - regulator-name = "vdd_0v85_s0"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <850000>; - regulator-max-microvolt = <850000>; - - regulator-state-mem { - regulator-off-in-suspend; - }; - }; - - vdd_0v75_s0: nldo-reg5 { - regulator-name = "vdd_0v75_s0"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <750000>; - - regulator-state-mem { - regulator-off-in-suspend; - }; - }; - }; - }; -}; - -&tsadc { - status = "okay"; -}; - -&u2phy0 { - status = "okay"; -}; - -&u2phy0_otg { - status = "okay"; -}; - -&u2phy2 { - status = "okay"; -}; - -&u2phy3 { - status = "okay"; -}; - -&u2phy2_host { - phy-supply = <&vcc5v0_host>; - status = "okay"; -}; - -&u2phy3_host { - status = "okay"; -}; - -&uart2 { - pinctrl-0 = <&uart2m0_xfer>; - pinctrl-names = "default"; - status = "okay"; -}; - -/* bt */ -&uart9 { - status = "okay"; - pinctrl-names = "default"; - pinctrl-0 = <&uart9m2_xfer &uart9m2_ctsn>; -}; - -&usbdp_phy0 { - /* - * USBDP PHY0 is wired to a USB3 Type-A OTG connector. Additionally - * the differential pairs 0+1 and the aux channel are wired to a - * mini DP connector. - */ - rockchip,dp-lane-mux = <0 1>; - status = "okay"; -}; - -&usb_host0_ehci { - status = "okay"; -}; - -&usb_host0_ohci { - status = "okay"; -}; - -&usb_host0_xhci { - extcon = <&u2phy0>; - status = "okay"; -}; - -&usb_host1_ehci { - status = "okay"; -}; - -&usb_host1_ohci { - status = "okay"; -}; - -&vop { - status = "okay"; -}; - -&vop_mmu { - status = "okay"; -}; - -&vp0 { - vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { - reg = <ROCKCHIP_VOP2_EP_HDMI0>; - remote-endpoint = <&hdmi0_in_vp0>; - }; -}; - -&vp2 { - vp2_out_dp0: endpoint@a { - reg = <ROCKCHIP_VOP2_EP_DP0>; - remote-endpoint = <&dp0_in_vp2>; - }; };
arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dtsi new file +941 -0
941 lines not on this page · raw message
Signature · 1 line
2.47.3
PATCH 3/3 arm64: dts: rockchip: Add ArmSoM Sige7s board
In reply to Jianfeng LiuThe ArmSoM Sige7s shares its hardware design with the CoolPi 4B.
Add a board DTS that includes the shared CoolPi 4B description and provides the ArmSoM model and board compatible. Retain coolpi,pi-4b as a fallback compatible and register the new DTB in the Makefile.
---
arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip/rk3588s-armsom-sige7s.dts | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3588s-armsom-sige7s.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
@@ -231,6 +231,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-turing-rk1.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-vicharak-axon.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-vicharak-vaaman2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-youyeetoo-yy3588.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-armsom-sige7s.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-coolpi-4b.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-evb1-v10.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-gameforce-ace.dtb
arch/arm64/boot/dts/rockchip/rk3588s-armsom-sige7s.dts new file +10 -0
@@ -0,0 +1,10 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; + +#include "rk3588s-coolpi-4b.dtsi" + +/ { + model = "ArmSoM Sige7s"; + compatible = "armsom,sige7s", "coolpi,pi-4b", "rockchip,rk3588s"; +};
Signature · 1 line
2.47.3