board: rockchip: add OneThing Edge Cube series
Subsystems (2)
v5 cover board: rockchip: add OneThing Edge Cube series
This series adds support for the OneThing Edge Cube series, Rockchip RK3566-based PCDN (P2P Content Delivery Network) devices originally marketed by OneThing Tech.
The V5 patch inlcudes some device tree adjustments, following Kwiboo's suggestions.
The V4 patch includes minor improvements.
The V3 patch merges the separate dts files for OEC and OEC-turbo, following Dragan Simic's suggestion.
The V2 patch adds a new device, the OneThing OEC. Together with the V1 patch OneThing OEC-turbo, these two devices share identical hardware specifications except for the RAM capacity, enabling convenient support implementation.
The V1 patch was submitted quite some time ago and is now in an archived state[1]. it has not been processed due to scheduling conflicts – apologies for this.
Changes in v5:
- Add missing pinctrl for LEDs and ETH-PHY resets.
- Using gpios property instead pf gpio property in pwm-reuglator.
- Adjust and unify the order of regulator-* properties.
- Drop rx/tx-delay properties in the gmac1 node.
- Using PWM_POLARITY_INVERTED for pwms property instead of the trailing 1.
- Link to v4: https://lore.kernel.org/all/[email protected]/
Changes in v4:
- Use a unified compatible name for OEC and OEC-turbo.
- Drop the "series" string from the board dtb name.
- Use a self-descriptive model name for the dtb.
- Link to v3: https://lore.kernel.org/all/[email protected]/
Changes in v3:
- Use a single device tree for both OEC and OEC-turbo.
- Align the compatible strings in dt-bindings and device tree.
- Link to v2: https://lore.kernel.org/all/[email protected]/
Changes in v2:
- Fix typo in vendor-prefixes.
- Simplify company and device names.
- Add the new device OEC as part of the OneThing Edge Cube series for support.
- Set display-subsystem node to "disabled" instead of using "delete-node".
- Using generic node names for leds.
- Follow DTS codeing style in vcc5v0_usb_host_en pinctrl node.
- Modify the phy_mode of GMAC from rgmii to rgmii-id.
- Adjust device tree node ordering to follow code style.
- Link to v1: https://lore.kernel.org/all/[email protected]/
[1] https://patchwork.kernel.org/project/linux-rockchip/cover/[email protected]/
Jun Yan (3):
dt-bindings: vendor-prefixes: Add Shenzhen OneThing Technologies Co.,
Ltd.
dt-bindings: arm: rockchip: Add OneThing Edge Cube series
arm64: dts: rockchip: Add OneThing Edge Cube series
.../devicetree/bindings/arm/rockchip.yaml | 5 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../rockchip/rk3566-onething-edge-cube.dts | 342 ++++++++++++++++++ 4 files changed, 350 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3566-onething-edge-cube.dts
Signature · 1 line
2.53.0
PATCH v5 1/3 dt-bindings: vendor-prefixes: Add Shenzhen OneThing Technologies Co., Ltd.
OneThing is a company engaged in edge computing.
--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -1187,6 +1187,8 @@ patternProperties: description: One Laptop Per Child "^oneplus,.*": description: OnePlus Technology (Shenzhen) Co., Ltd. + "^onething,.*": + description: Shenzhen OneThing Technologies Co., Ltd. "^onie,.*": description: Open Network Install Environment group "^onion,.*":
Signature · 1 line
2.53.0
PATCH v5 2/3 dt-bindings: arm: rockchip: Add OneThing Edge Cube series
In reply to Jun YanAdd devicetree binding for the OneThing OEC and OEC-turbo
The OneThing Edge Cube (OEC) series features the RK3566 SoC, 8GB eMMC storage, and supports one SATA interface, one Gigabit Ethernet port, and one USB 3.0 port.
Among the lineup, the standard OEC model comes with 2GB of RAM, while the OEC-turbo features 4GB of RAM; The rest of the specifications are identical.
The OneThing Edge Cube series (shipping with the vendor firmware) is originally designed as a PCDN (P2P Content Delivery Network) device.
--- Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
@@ -813,6 +813,11 @@ properties: - const: openailab,eaidk-610 - const: rockchip,rk3399 + - description: OneThing Edge Cube series + items: + - const: onething,edge-cube + - const: rockchip,rk3566 + - description: Xunlong Orange Pi RK3399 board items: - const: xunlong,rk3399-orangepi
Signature · 1 line
2.53.0
PATCH v5 3/3 arm64: dts: rockchip: Add OneThing Edge Cube series
In reply to Jun YanThe OneThing Edge Cube (OEC) series features the RK3566 SoC, 8GB eMMC storage, and supports one SATA interface, one Gigabit Ethernet port, and one USB 3.0 port.
Other than the difference in RAM capacity, the OEC and OEC-turbo are identical in all other specifications.
Specification:
- Rockchip RK3566
- LPDDR4X 2GB (OEC) / 4GB (OEC-turbo)
- eMMC 8GB
- Gigabit Ethernet port x 1
- USB 3.0 port x 1
- USB-C 2.0 port x 1
- 12V DC Power supply
- SATA 3.0 connector x 1
These devices do not have a PMIC, and their hardware circuit design is highly similar to that of the rk3566-box-demo[1]. Hardware schematics are not available at this time, with the vendor firmware dts available for reference[2].
Ethernet, USB 3.0 and SATA 3.0 ports tested, all working well.
[1] https://elixir.bootlin.com/linux/v6.18.6/source/arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts
[2] https://archive.org/download/wxy-oec-RK3566-4G-dump/wxy-oec-RK3566-4G-dump.dts
--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../rockchip/rk3566-onething-edge-cube.dts | 342 ++++++++++++++++++ 2 files changed, 343 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3566-onething-edge-cube.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
@@ -104,6 +104,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-anbernic-rg353v.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-anbernic-rg353vs.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-anbernic-rg503.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-odroid-m1s.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-onething-edge-cube.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-orangepi-3b-v1.1.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-orangepi-3b-v2.1.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-pinenote-v1.1.dtb
arch/arm64/boot/dts/rockchip/rk3566-onething-edge-cube.dts new file +342 -0
342 lines not on this page · raw message
Signature · 1 line
2.53.0
Quoted 8 lines · Jun Yan
This series adds support for the OneThing Edge Cube series, Rockchip RK3566-based PCDN (P2P Content Delivery Network) devices originally marketed by OneThing Tech.
The V5 patch inlcudes some device tree adjustments, following Kwiboo's suggestions.
[...]
Applied, thanks!
[1/3] dt-bindings: vendor-prefixes: Add Shenzhen OneThing Technologies Co., Ltd.
commit: c6d26a9425631c69087a407d3cf8372db0afee09
[2/3] dt-bindings: arm: rockchip: Add OneThing Edge Cube series
commit: d49566ff47e7748b291ba82d0620a5c93f30e310
[3/3] arm64: dts: rockchip: Add OneThing Edge Cube series
commit: 53ec6d21fe1ec0677f9db56a23dda8d145eda102Best regards,
Signature · 1 line
Heiko Stuebner <[email protected]>