Add Luckfox Omni3576 Carrier Board support for RK3576
Subsystems (2)
v4 cover Add Luckfox Omni3576 Carrier Board support for RK3576
[RESEND]: Addressing Krzysztof Kozlowski's feedback:
- Corrected Cc list: used proper maintainer emails.
- Confirmed Conor Dooley's Acked-by tag in patch 1/3.
This series adds device tree support for the Luckfox Omni3576 Carrier Board with the Core3576 Module, powered by the Rockchip RK3576 SoC (four Cortex-A72 cores, four Cortex-A53 cores, Mali-G52 MC3 GPU). It enables essential functionality for booting Linux and basic connectivity, with plans for future support of peripherals like WiFi, MIPI-DSI, HDMI, and Ethernet.
Tested features (on Linux 6.15-rc4):
- UART: Serial console operational
- SD card: Mounts and reads/writes successfully
- PCIe: NVMe SSD detected, mounted, and fully functional
- USB 2.0: Host ports operational
- RTC: Timekeeping and wake-up tested
- LED: Heartbeat trigger functional
- eMMC: Enabled in device tree, not populated on tested hardware
The series includes three patches:
1. dt-bindings: vendor-prefixes: Add Luckfox vendor prefix
2. dt-bindings: arm: rockchip: Add Luckfox Omni3576 and Core3576 bindings
3. arm64: dts: rockchip: Add Luckfox Omni3576 board support
The device tree is covered by the existing ROCKCHIP ARCHITECTURE entry in MAINTAINERS. I am aware of ongoing RK3576 upstreaming efforts (e.g., by Collabora) and welcome feedback or collaboration to align with mainline driver development.
Changes in v4:
- Patch 1: Unchanged, Acked-by: Conor Dooley <[email protected]>.
- Patch 2: Fixed binding for Omni3576 Carrier Board to use correct enum syntax (enum: [luckfox,omni3576] instead of invalid const), added luckfox,core3576 to compatible string to reflect module dependency.
- Patch 3: Updated compatible string in rk3576-luckfox-omni3576.dts to match revised binding ("luckfox,omni3576", "luckfox,core3576", "rockchip,rk3576").
Changes in v3:
- Split device tree into rk3576-luckfox-core3576.dtsi (module) and rk3576-luckfox-omni3576.dts (carrier board) for better modularity. Previous Acked-by from Krzysztof Kozlowski for Patch 2 no longer applies due to substantial changes.
- Addressed Jonas Karlman's feedback on patch 3/3 (Luckfox Omni3576 device tree):
- Added pinctrl for green LED GPIO (gpio1 RK_PD5) for proper pin setup.
- Reordered regulator node properties for consistent sequence (e.g., regulator-name, regulator-min-microvolt, regulator-max-microvolt, etc.).
- Updated regulator nodes (vcc_3v3_pcie, vbus_5v0_typec, vcc_5v0_host, vcc_5v0_hdmi) to use 'gpios' property instead of deprecated 'gpio'.
- Removed pmic-power-off pinctrl state and pinctrl-1 from RK806 PMIC node, as they are vendor-specific and undocumented in bindings.
- Removed pwrkey node from PMIC, as it lacks binding documentation.
- Added blank line between properties and child nodes in i2c2 node for DT style compliance.
- Removed no-mmc property from sdmmc node to enable MMC support, aligning with RK3576 SD v3.0 and MMC v4.51 capabilities, allowing TF card slot to support MMC devices or eMMC via adapter.
- Removed Ethernet support (gmac0/gmac1 nodes) per Andrew Lunn's feedback, as it used the generic PHY driver with incorrect RGMII delay settings, incompatible with the upcoming MAE0621A driver. Collaborating with Andrew Lunn on a device driver, with Ethernet support to be submitted separately when complete.
- Addressed Rob Herring's DTB check warnings, other warnings (e.g., VOP, PCIe, OTP, HDMI PHY) originate from rk3576.dtsi and are outside this patchset scope.
- Added RNG node to pick up Nicolas Frattaroli's "add RK3576 RNG node" patch.
Changes in v2:
- Enabled HDMI node per feedback from Heiko Stuebner and Nicolas Frattaroli; untested due to upstream driver issues.
- Enabled Ethernet 1 node per Heiko's device tree philosophy; untested due to suspected PHY driver or configuration issues (removed in v3 per Andrew Lunn).
- Clarified eMMC remains enabled but unpopulated on tested board, per Heiko.
---
John Clark (3):
dt-bindings: vendor-prefixes: Add luckfox prefix
dt-bindings: arm: rockchip: Add Luckfox Omni3576 and Core3576 bindings
arm64: dts: rockchip: Add Luckfox Omni3576 Board support
.../devicetree/bindings/arm/rockchip.yaml | 7 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3576-luckfox-core3576.dtsi | 683 ++++++++++++++++++ .../dts/rockchip/rk3576-luckfox-omni3576.dts | 53 ++ 5 files changed, 746 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-luckfox-core3576.dtsi create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dts
Signature · 1 line
2.39.5
PATCH RESEND v4 1/3 dt-bindings: vendor-prefixes: Add luckfox prefix
Add vendor prefix for Shenzhen Luckfox Technology Co., Ltd., which produces development boards like the Luckfox Omni3576.
--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -892,6 +892,8 @@ patternProperties: description: Liebherr-Werk Nenzing GmbH "^lxa,.*": description: Linux Automation GmbH + "^luckfox,.*": + description: Shenzhen Luckfox Technology Co., Ltd. "^m5stack,.*": description: M5Stack "^macnica,.*":
Signature · 1 line
2.39.5
Re: [PATCH RESEND v4 1/3] dt-bindings: vendor-prefixes: Add luckfox prefix
Hi John,
Quoted 14 lines · John Clark
Add vendor prefix for Shenzhen Luckfox Technology Co., Ltd., which produces development boards like the Luckfox Omni3576.
Signed-off-by John Clark <[email protected]>Acked-by Conor Dooley <[email protected]>--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)Documentation/devicetree/bindings/vendor-prefixes.yaml +0
-0
Documentation/devicetree/bindings/vendor-prefixes.yaml patternProperties: · line 896
Quoted 5 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +2
-0@@ -892,6 +892,8 @@ patternProperties: description: Liebherr-Werk Nenzing GmbH "^lxa,.*": description: Linux Automation GmbH + "^luckfox,.*": + description: Shenzhen Luckfox Technology Co., Ltd.
Looking at the file, I think we order the vendor prefixes alphanumerically?
So this would be the wrong location for this new vendor prefix and should rather be between lsi and lunzn?
Cheers,
Quentin
Re: [PATCH RESEND v4 1/3] dt-bindings: vendor-prefixes: Add luckfox prefix
Quoted 25 lines · Quentin Schulz
Hi John,
Quoted 14 lines · John Clark
Add vendor prefix for Shenzhen Luckfox Technology Co., Ltd., which produces development boards like the Luckfox Omni3576.
Signed-off-by John Clark <[email protected]>Acked-by Conor Dooley <[email protected]>--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)Documentation/devicetree/bindings/vendor-prefixes.yaml +0
-0Documentation/devicetree/bindings/vendor-prefixes.yaml patternProperties: · line 896
Quoted 5 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +2
-0@@ -892,6 +892,8 @@ patternProperties: description: Liebherr-Werk Nenzing GmbH "^lxa,.*": description: Linux Automation GmbH + "^luckfox,.*": + description: Shenzhen Luckfox Technology Co., Ltd.Looking at the file, I think we order the vendor prefixes alphanumerically?
Quoted 2 lines
So this would be the wrong location for this new vendor prefix and should rather be between lsi and lunzn?
Oh, I missed that. Yeah, alphanumeric ordering please.
PATCH RESEND v4 2/3 dt-bindings: arm: rockchip: Add Luckfox Omni3576 and Core3576 bindings
In reply to John ClarkThis patch adds device tree binding support for Luckfox Core3576 Module based boards, specifically the Luckfox Omni3576, with compatibility for the Rockchip RK3576 SoC.
--- Documentation/devicetree/bindings/arm/rockchip.yaml | 7 +++++++ 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +7 -0
@@ -715,6 +715,13 @@ properties: - const: lckfb,tspi-rk3566 - const: rockchip,rk3566 + - description: Luckfox Core3576 Module based boards + items: + - enum: + - luckfox,omni3576 + - const: luckfox,core3576 + - const: rockchip,rk3576 + - description: Lunzn FastRhino R66S / R68S items: - enum:
Signature · 1 line
2.39.5
Re: [PATCH RESEND v4 2/3] dt-bindings: arm: rockchip: Add Luckfox Omni3576 and Core3576 bindings
Hi John,
Quoted 4 lines · John Clark
This patch adds device tree binding support for Luckfox Core3576 Module based boards, specifically the Luckfox Omni3576, with compatibility for the Rockchip RK3576 SoC.
Thanks!
Quentin
Re: [PATCH RESEND v4 2/3] dt-bindings: arm: rockchip: Add Luckfox Omni3576 and Core3576 bindings
In reply to John ClarkQuoted 9 lines · John Clark
This patch adds device tree binding support for Luckfox Core3576 Module based boards, specifically the Luckfox Omni3576, with compatibility for the Rockchip RK3576 SoC.
Signed-off-by John Clark <[email protected]>--- Documentation/devicetree/bindings/arm/rockchip.yaml | 7 +++++++ 1 file changed, 7 insertions(+)
PATCH RESEND v4 3/3 arm64: dts: rockchip: Add Luckfox Omni3576 Board support
In reply to John ClarkAdd device tree for the Luckfox Omni3576 Carrier Board with Core3576 Module, powered by the Rockchip RK3576 SoC with four Cortex-A72 cores, four Cortex-A53 cores, and a Mali-G52 MC3 GPU. This initial implementation enables essential functionality for booting Linux and basic connectivity.
Supported and tested features:
- UART for serial console
- SD card for storage
- PCIe with NVMe SSD (detected, mounted, and fully functional)
- USB 2.0 host ports
- RK806 PMIC for power management
- RTC with timekeeping and wake-up
- GPIO-controlled LED with heartbeat trigger
- eMMC (enabled, not populated on tested board)
The device tree provides a foundation for further peripheral support, such as WiFi, MIPI-DSI, HDMI, and Ethernet, in future updates.
Tested on Linux 6.15-rc4
--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3576-luckfox-core3576.dtsi | 683 ++++++++++++++++++ .../dts/rockchip/rk3576-luckfox-omni3576.dts | 53 ++ 3 files changed, 737 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-luckfox-core3576.dtsi create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
@@ -136,6 +136,7 @@ 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-armsom-sige5.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-evb1-v10.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-luckfox-omni3576.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-roc-pc.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-rock-4d.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3582-radxa-e52c.dtb
arch/arm64/boot/dts/rockchip/rk3576-luckfox-core3576.dtsi new file +683 -0
683 lines not on this page · raw message
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dts new file +53 -0
53 lines not on this page · raw message
Signature · 1 line
2.39.5
Re: [PATCH RESEND v4 3/3] arm64: dts: rockchip: Add Luckfox Omni3576 Board support
Hi John,
Quoted 48 lines · John Clark
Add device tree for the Luckfox Omni3576 Carrier Board with Core3576 Module, powered by the Rockchip RK3576 SoC with four Cortex-A72 cores, four Cortex-A53 cores, and a Mali-G52 MC3 GPU. This initial implementation enables essential functionality for booting Linux and basic connectivity.
Supported and tested features:
- UART for serial console
- SD card for storage
- PCIe with NVMe SSD (detected, mounted, and fully functional)
- USB 2.0 host ports
- RK806 PMIC for power management
- RTC with timekeeping and wake-up
- GPIO-controlled LED with heartbeat trigger
- eMMC (enabled, not populated on tested board)The device tree provides a foundation for further peripheral support, such as WiFi, MIPI-DSI, HDMI, and Ethernet, in future updates.
Tested on Linux 6.15-rc4
Signed-off-by John Clark <[email protected]>--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3576-luckfox-core3576.dtsi | 683 ++++++++++++++++++ .../dts/rockchip/rk3576-luckfox-omni3576.dts | 53 ++ 3 files changed, 737 insertions(+)create mode 100644
arch/arm64/boot/dts/rockchip/rk3576-luckfox-core3576.dtsicreate mode 100644arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dtsarch/arm64/boot/dts/rockchip/Makefile +1
-0@@ -136,6 +136,7 @@ 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-armsom-sige5.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-evb1-v10.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-luckfox-omni3576.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-roc-pc.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-rock-4d.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3582-radxa-e52c.dtbarch/arm64/boot/dts/rockchip/rk3576-luckfox-core3576.dtsi new file +0
-0
arch/arm64/boot/dts/rockchip/rk3576-luckfox-core3576.dtsi line 4
Quoted 4 lines
arch/arm64/boot/dts/rockchip/rk3576-luckfox-core3576.dtsi new file +4
-0@@ -0,0 +1,683 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2024 Rockchip Electronics Co., Ltd. + *
Is that truly the approrpiate copyright holder?
Quoted 29 lines
arch/arm64/boot/dts/rockchip/rk3576-luckfox-core3576.dtsi new file +29
-0+ */ + +/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 "rk3576.dtsi" + +/ { + model = "Luckfox Core3576 Module"; + compatible = "luckfox,core3576","rockchip,rk3576"; + + chosen { + stdout-path = "serial0:1500000n8"; + }; + + hdmi-con { + compatible = "hdmi-connector"; + hdmi-pwr-supply = <&vcc_5v0_hdmi>; + type = "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + };
arch/arm64/boot/dts/rockchip/rk3576-luckfox-core3576.dtsi line 43
Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3576-luckfox-core3576.dtsi new file +10
-0+ + vcc_5v0_dcin: regulator-vcc-5v0-dcin { + compatible = "regulator-fixed"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-name = "vcc_5v0_dcin"; + }; +
This is not ordered according to the kernel spec, c.f. https://www.kernel.org/doc/html/latest/devicetree/bindings/dts-coding-style.html#order-of-nodes
Quoted 45 lines
arch/arm64/boot/dts/rockchip/rk3576-luckfox-core3576.dtsi new file +45
-0+ vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { + compatible = "regulator-fixed"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1100000>; + regulator-name = "vcc_1v1_nldo_s3"; + vin-supply = <&vcc_5v0_sys>; + }; + + vcc_2v0_pldo_s3: regulator-vcc-2v0-pldo-s3 { + compatible = "regulator-fixed"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <2000000>; + regulator-max-microvolt = <2000000>; + regulator-name = "vcc_2v0_pldo_s3"; + vin-supply = <&vcc_5v0_sys>; + }; + + vcc_3v3_pcie: regulator-vcc-3v3-pcie { + compatible = "regulator-fixed"; + enable-active-high; + gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pcie_pwr_en>; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc_3v3_pcie"; + startup-delay-us = <1000>; + vin-supply = <&vcc_5v0_sys>; + }; + + vcc_3v3_rtc_s5: regulator-vcc-3v3-rtc-s5 { + compatible = "regulator-fixed"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc_3v3_rtc_s5"; + vin-supply = <&vcc_5v0_sys>; + }; + + vbus_5v0_typec: regulator-vbus-5v0-typec { + compatible = "regulator-fixed";
arch/arm64/boot/dts/rockchip/rk3576-luckfox-core3576.dtsi line 98
Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3576-luckfox-core3576.dtsi new file +10
-0+ enable-active-high; + gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&usb_otg0_pwr_en>; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-name = "vbus5v0_typec"; + vin-supply = <&vcc_5v0_device>; + }; +
This is not properly ordered.
Quoted 75 lines
arch/arm64/boot/dts/rockchip/rk3576-luckfox-core3576.dtsi new file +75
-0+ vcc_5v0_device: regulator-vcc-5v0-device { + compatible = "regulator-fixed"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-name = "vcc_5v0_device"; + vin-supply = <&vcc_5v0_dcin>; + }; + + vcc_5v0_hdmi: regulator-vcc-5v0-hdmi { + compatible = "regulator-fixed"; + enable-active-high; + gpios = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_con_en>; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-name = "vcc_5v0_hdmi"; + vin-supply = <&vcc_5v0_sys>; + }; + + vcc_5v0_host: regulator-vcc-5v0-host { + compatible = "regulator-fixed"; + enable-active-high; + gpios = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&usb_host_pwr_en>; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-name = "vcc_5v0_host"; + vin-supply = <&vcc_5v0_device>; + }; + + vcc_5v0_sys: regulator-vcc-5v0-sys { + compatible = "regulator-fixed"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-name = "vcc_5v0_sys"; + vin-supply = <&vcc_5v0_dcin>; + }; +}; + +&combphy0_ps { + status = "okay"; +}; + +&combphy1_psu { + status = "okay"; +}; + +&cpu_l0 { + cpu-supply = <&vdd_cpu_lit_s0>; +}; + +&cpu_l1 { + cpu-supply = <&vdd_cpu_lit_s0>; +}; + +&cpu_l2 { + cpu-supply = <&vdd_cpu_lit_s0>; +}; + +&cpu_l3 { + cpu-supply = <&vdd_cpu_lit_s0>; +}; + +&cpu_b0 { + cpu-supply = <&vdd_cpu_big_s0>; +}; + +&cpu_b1 { + cpu-supply = <&vdd_cpu_big_s0>;
arch/arm64/boot/dts/rockchip/rk3576-luckfox-core3576.dtsi line 183
Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3576-luckfox-core3576.dtsi new file +10
-0+}; + +&cpu_b2 { + cpu-supply = <&vdd_cpu_big_s0>; +}; + +&cpu_b3 { + cpu-supply = <&vdd_cpu_big_s0>; +}; +
Alphabetically, b comes before l, so please reorder the cpu_lX and cpu_bY nodes. c.f. https://www.kernel.org/doc/html/latest/devicetree/bindings/dts-coding-style.html#order-of-nodes
[...]
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dts line 4
Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dts new file +4
-0@@ -0,0 +1,53 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2024 Rockchip Electronics Co., Ltd. + *
Is this the correct copyright holder?
Quoted 4 lines
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dts new file +4
-0+ */ + +/dts-v1/; +
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dts line 18
Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dts new file +10
-0+#include "rk3576-luckfox-core3576.dtsi" + +/ { + model = "Luckfox Omni3576 Carrier Board"; + compatible = "luckfox,omni3576", "luckfox,core3576", "rockchip,rk3576"; + + aliases { + mmc0 = &sdhci; + mmc1 = &sdmmc; + };
I would have assumed this is the kind of information you want to store in the SoM DTSI instead?
Quoted 19 lines
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dts new file +19
-0+ + leds: leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&led_green_pin>; + + green_led: green-led { + color = <LED_COLOR_ID_GREEN>; + function = LED_FUNCTION_HEARTBEAT; + gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "heartbeat"; + }; + }; +}; + +&pinctrl { + leds { + led_green_pin: led-green-pin { + rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dts line 47
Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dts new file +10
-0+ }; + }; +}; + +&sdmmc { + bus-width = <4>; + cap-mmc-highspeed; + cap-sd-highspeed; + disable-wp; + max-frequency = <200000000>;
As far as I could tell, this is already the max frequency in rk3576.dtsi so no need to define it once again?
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dts line 51
Quoted 4 lines
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dts new file +4
-0+ no-sdio; + sd-uhs-sdr104; + vmmc-supply = <&vcc_3v3_s3>; + vqmmc-supply = <&vccio_sd_s0>;
If some of those are well-defined and "forced" by the HW design and pins exposed on the connectors of the module, you could move them to the SoM DTSI instead, to avoid having to specify them for each motherboard using the sdmmc controller?
Cheers,
Quentin