* [PATCH 0/3] arm64: dts: rockchip: Add Meibeike BeikeYun P1 support
@ 2026-12-05 12:15 Jun Yan
2026-12-05 12:15 ` [PATCH 1/3] dt-bindings: vendor-prefixes: Add Meibeike Jun Yan
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Jun Yan @ 2026-12-05 12:15 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner
Cc: devicetree, linux-arm-kernel, linux-rockchip, linux-kernel,
Jun Yan
This series adds support for the BeikeYun P1, an RK3328 based set-top
box from Shenzhen Meibeike Technology Co., Ltd.
The first two patches add the Meibeike vendor prefix and the board
compatible string, the last one adds a device tree based on unifreq's
out-of-tree Linux v6.18 tree, reworked to follow mainline bindings and
conventions.
Jun Yan (3):
dt-bindings: vendor-prefixes: Add Meibeike
dt-bindings: arm: rockchip: Add Meibeike BeikeYun P1
arm64: dts: rockchip: rk3328: Add Meibeike BeikeYun P1
.../devicetree/bindings/arm/rockchip.yaml | 5 +
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
.../boot/dts/rockchip/rk3328-beikeyun-p1.dts | 257 ++++++++++++++++++
3 files changed, 264 insertions(+)
create mode 100644 arch/arm64/boot/dts/rockchip/rk3328-beikeyun-p1.dts
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/3] dt-bindings: vendor-prefixes: Add Meibeike
2026-12-05 12:15 [PATCH 0/3] arm64: dts: rockchip: Add Meibeike BeikeYun P1 support Jun Yan
@ 2026-12-05 12:15 ` Jun Yan
2026-12-05 12:15 ` [PATCH 2/3] dt-bindings: arm: rockchip: Add Meibeike BeikeYun P1 Jun Yan
2026-12-05 12:15 ` [PATCH 3/3] arm64: dts: rockchip: rk3328: " Jun Yan
2 siblings, 0 replies; 4+ messages in thread
From: Jun Yan @ 2026-12-05 12:15 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner
Cc: devicetree, linux-arm-kernel, linux-rockchip, linux-kernel,
Jun Yan
Add the "meibeike" vendor prefix for Shenzhen Meibeike Technology
Co., Ltd., a company that develops and trades electronic, smart home
and cloud computing hardware and software.
Signed-off-by: Jun Yan <jerrysteve1101@gmail.com>
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 20a3b24319c4..c27ebf581947 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -1069,6 +1069,8 @@ patternProperties:
description: Medion AG
"^megachips,.*":
description: MegaChips
+ "^meibeike,.*":
+ description: Shenzhen Meibeike Technology Co., Ltd.
"^mele,.*":
description: Shenzhen MeLE Digital Technology Ltd.
"^melexis,.*":
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/3] dt-bindings: arm: rockchip: Add Meibeike BeikeYun P1
2026-12-05 12:15 [PATCH 0/3] arm64: dts: rockchip: Add Meibeike BeikeYun P1 support Jun Yan
2026-12-05 12:15 ` [PATCH 1/3] dt-bindings: vendor-prefixes: Add Meibeike Jun Yan
@ 2026-12-05 12:15 ` Jun Yan
2026-12-05 12:15 ` [PATCH 3/3] arm64: dts: rockchip: rk3328: " Jun Yan
2 siblings, 0 replies; 4+ messages in thread
From: Jun Yan @ 2026-12-05 12:15 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner
Cc: devicetree, linux-arm-kernel, linux-rockchip, linux-kernel,
Jun Yan
Document the BeikeYun P1, an RK3328 based set-top box from Meibeike.
Signed-off-by: Jun Yan <jerrysteve1101@gmail.com>
---
Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml
index 887b0ca640af..b06265c02565 100644
--- a/Documentation/devicetree/bindings/arm/rockchip.yaml
+++ b/Documentation/devicetree/bindings/arm/rockchip.yaml
@@ -893,6 +893,11 @@ properties:
- const: widora,mangopi-m28k
- const: rockchip,rk3528
+ - description: Meibeike BeikeYun P1
+ items:
+ - const: meibeike,beikeyun-p1
+ - const: rockchip,rk3328
+
- description: mqmaker MiQi
items:
- const: mqmaker,miqi
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 3/3] arm64: dts: rockchip: rk3328: Add Meibeike BeikeYun P1
2026-12-05 12:15 [PATCH 0/3] arm64: dts: rockchip: Add Meibeike BeikeYun P1 support Jun Yan
2026-12-05 12:15 ` [PATCH 1/3] dt-bindings: vendor-prefixes: Add Meibeike Jun Yan
2026-12-05 12:15 ` [PATCH 2/3] dt-bindings: arm: rockchip: Add Meibeike BeikeYun P1 Jun Yan
@ 2026-12-05 12:15 ` Jun Yan
2 siblings, 0 replies; 4+ messages in thread
From: Jun Yan @ 2026-12-05 12:15 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner
Cc: devicetree, linux-arm-kernel, linux-rockchip, linux-kernel,
Jun Yan
Add a device tree for the BeikeYun P1, an RK3328 based set-top box from
Meibeike.
The device tree is based on unifreq's out-of-tree Linux v6.18 device
tree:
https://github.com/unifreq/linux-6.18.y/blob/main/arch/arm64/boot/dts/rockchip/rk3328-beikeyun-1296mhz.dts
It has been reworked to follow the mainline bindings and conventions.
Hardware description:
- SoC: RK3328 (no PMIC)
- RAM: 1G DDR3L
- Storage: 8G eMMC
- Gigabit Ethernet port
- HDMI port
- USB 3.0 via a GL3520 4-port USB hub
- USB 2.0 OTG
- Two GPIO LEDs
Signed-off-by: Jun Yan <jerrysteve1101@gmail.com>
---
.../boot/dts/rockchip/rk3328-beikeyun-p1.dts | 257 ++++++++++++++++++
1 file changed, 257 insertions(+)
create mode 100644 arch/arm64/boot/dts/rockchip/rk3328-beikeyun-p1.dts
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-beikeyun-p1.dts b/arch/arm64/boot/dts/rockchip/rk3328-beikeyun-p1.dts
new file mode 100644
index 000000000000..db4f51b5708f
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3328-beikeyun-p1.dts
@@ -0,0 +1,257 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+// Copyright (C) 2026 unifreq
+// Copyright (C) 2026 Jun Yan <jerrysteve1101@gmail.com>
+
+/dts-v1/;
+
+#include <dt-bindings/leds/common.h>
+#include "rk3328.dtsi"
+
+/ {
+ model = "BeikeYun P1";
+ compatible = "meibeike,beikeyun-p1", "rockchip,rk3328";
+
+ aliases {
+ mmc0 = &emmc;
+ serial2 = &uart2;
+ };
+
+ chosen {
+ stdout-path = "serial2:1500000n8";
+ };
+
+ gmac_clkin: external-gmac-clock {
+ compatible = "fixed-clock";
+ clock-frequency = <125000000>;
+ clock-output-names = "gmac_clkin";
+ #clock-cells = <0>;
+ };
+
+ leds {
+ compatible = "gpio-leds";
+
+ led-0 {
+ color = <LED_COLOR_ID_RED>;
+ function = LED_FUNCTION_DISK_ACTIVITY;
+ gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "mmc0";
+ };
+
+ led-1 {
+ color = <LED_COLOR_ID_WHITE>;
+ function = LED_FUNCTION_STATUS;
+ gpios = <&gpio2 RK_PC7 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
+ };
+ };
+
+ vcc_sys_12v: vcc-sys-12v {
+ compatible = "regulator-fixed";
+ regulator-name = "vcc_sys_12v";
+ regulator-min-microvolt = <12000000>;
+ regulator-max-microvolt = <12000000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ vcc_sys_5v: vcc-sys-5v {
+ compatible = "regulator-fixed";
+ regulator-name = "vcc_sys_5v";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ vin-supply = <&vcc_sys_12v>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ vccio_1v8: vccio-1v8 {
+ compatible = "regulator-fixed";
+ regulator-name = "vccio_1v8";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-always-on;
+ };
+
+ vccio_3v3: vccio-3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "vccio_3v3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
+
+ vdd_arm: vdd-arm {
+ compatible = "pwm-regulator";
+ pwms = <&pwm0 0 5000 1>;
+ regulator-name = "vcc_arm";
+ regulator-min-microvolt = <950000>;
+ regulator-max-microvolt = <1400000>;
+ regulator-settling-time-up-us = <250>;
+ regulator-ramp-delay = <12500>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ vdd_logic: vdd-logic {
+ compatible = "pwm-regulator";
+ pwms = <&pwm1 0 5000 1>;
+ regulator-name = "vcc_log";
+ regulator-min-microvolt = <900000>;
+ regulator-max-microvolt = <1300000>;
+ regulator-settling-time-up-us = <250>;
+ regulator-ramp-delay = <12500>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+};
+
+&cpu0 {
+ cpu-supply = <&vdd_arm>;
+};
+
+&cpu1 {
+ cpu-supply = <&vdd_arm>;
+};
+
+&cpu2 {
+ cpu-supply = <&vdd_arm>;
+};
+
+&cpu3 {
+ cpu-supply = <&vdd_arm>;
+};
+
+&emmc {
+ bus-width = <8>;
+ max-frequency = <150000000>;
+ cap-mmc-highspeed;
+ mmc-hs200-1_8v;
+ non-removable;
+ pinctrl-names = "default";
+ pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_bus8>;
+ vmmc-supply = <&vccio_3v3>;
+ vqmmc-supply = <&vccio_1v8>;
+ status = "okay";
+};
+
+&gmac2io {
+ assigned-clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_EXT>;
+ assigned-clock-parents = <&gmac_clkin>, <&gmac_clkin>;
+ clock_in_out = "input";
+ phy-handle = <&rtl8211f>;
+ phy-supply = <&vccio_3v3>;
+ /* TX and RX delays are applied by the MAC, see tx_delay/rx_delay. */
+ phy-mode = "rgmii";
+ pinctrl-names = "default";
+ pinctrl-0 = <&rgmiim1_pins>;
+ snps,aal;
+ snps,pbl = <0x4>;
+ tx_delay = <0x26>;
+ rx_delay = <0x11>;
+ status = "okay";
+
+ mdio {
+ compatible = "snps,dwmac-mdio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ rtl8211f: ethernet-phy@0 {
+ reg = <0>;
+ reset-assert-us = <30000>;
+ reset-deassert-us = <50000>;
+ reset-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_LOW>;
+ };
+ };
+};
+
+&gpu {
+ mali-supply = <&vdd_logic>;
+};
+
+&hdmi {
+ status = "okay";
+};
+
+&hdmi_sound {
+ status = "okay";
+};
+
+&hdmiphy {
+ status = "okay";
+};
+
+&i2s0 {
+ status = "okay";
+};
+
+&io_domains {
+ vccio1-supply = <&vccio_3v3>;
+ vccio2-supply = <&vccio_1v8>;
+ vccio3-supply = <&vccio_3v3>;
+ vccio4-supply = <&vccio_1v8>;
+ vccio5-supply = <&vccio_3v3>;
+ vccio6-supply = <&vccio_3v3>;
+ pmuio-supply = <&vccio_3v3>;
+ status = "okay";
+};
+
+&pwm0 {
+ status = "okay";
+};
+
+&pwm1 {
+ status = "okay";
+};
+
+&tsadc {
+ rockchip,hw-tshut-mode = <0>;
+ rockchip,hw-tshut-polarity = <0>;
+ status = "okay";
+};
+
+&uart2 {
+ status = "okay";
+};
+
+&u2phy {
+ status = "okay";
+};
+
+&u2phy_host {
+ status = "okay";
+};
+
+&u2phy_otg {
+ status = "okay";
+};
+
+/*
+ * The OTG port is routed to through-holes on the board and is used
+ * for factory firmware download, so keep it in peripheral mode.
+ */
+&usb20_otg {
+ dr_mode = "peripheral";
+ status = "okay";
+};
+
+&usb_host0_ehci {
+ status = "okay";
+};
+
+&usb_host0_ohci {
+ status = "okay";
+};
+
+/* A Genesys Logic GL3520 4-port USB 3.0 hub is connected to this port. */
+&usbdrd3 {
+ dr_mode = "host";
+ status = "okay";
+};
+
+&vop {
+ status = "okay";
+};
+
+&vop_mmu {
+ status = "okay";
+};
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-12-05 12:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-05 12:15 [PATCH 0/3] arm64: dts: rockchip: Add Meibeike BeikeYun P1 support Jun Yan
2026-12-05 12:15 ` [PATCH 1/3] dt-bindings: vendor-prefixes: Add Meibeike Jun Yan
2026-12-05 12:15 ` [PATCH 2/3] dt-bindings: arm: rockchip: Add Meibeike BeikeYun P1 Jun Yan
2026-12-05 12:15 ` [PATCH 3/3] arm64: dts: rockchip: rk3328: " Jun Yan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox