Skip to contentSkip to conversation

Add two board-families from Theobroma-Systems

PATCH Superseded Heiko Stuebner 3 participants 9 messages May 14, 2025

Subsystems (2)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Heiko Stuebner

author maintainer
#0 lore raw

v3 cover Add two board-families from Theobroma-Systems

Both the Cobra and PP1516 boards are based around the PX30 SoC and can be found with a variety of display options.

As new boards should not use the deprecated snps,reset-* properties in the gmac node, I also added a core mdio-node for the gmac and converted the Theobroma Ringneck board over.

Testing with the new node both before and after converting Ringneck showed the board finding its network both when booting locally and from the tftp/nfs.

changes in v3:
- more sorting
- more Reviewed-bys
- pull-down for dsp-rst
- pp1516 accel pinctrl group

changes in v2:
- add received Acks/Reviews
- drop "rockchip" prefix from system-power-controller (Diederik)
- split out prototype-pins to prototype variant
- address Quentin's review comments
- ethernet0 alias for Cobra
- a number more pinctrl entries for gpios
- drop unused slp pinctrl entries
- additional comments
- use gpio-constants for pmic int
- ordering (nodes + properties)
- clarify vccio_sd more
- interrupt line for pp1516 accelerometer

Heiko Stuebner (6):
arm64: dts: rockchip: add basic mdio node to px30
arm64: dts: rockchip: move reset to dedicated eth-phy node on ringneck
dt-bindings: arm: rockchip: add PX30-Cobra boards from Theobroma
Systems
arm64: dts: rockchip: add px30-cobra base dtsi and board variants
dt-bindings: arm: rockchip: add PX30-PP1516 boards from Theobroma
Systems
arm64: dts: rockchip: add px30-pp1516 base dtsi and board variants

 .../devicetree/bindings/arm/rockchip.yaml     |  18 +
 arch/arm64/boot/dts/rockchip/Makefile         |   6 +
 .../rockchip/px30-cobra-ltk050h3146w-a2.dts   |  39 ++
 .../dts/rockchip/px30-cobra-ltk050h3146w.dts  |  39 ++
 .../dts/rockchip/px30-cobra-ltk050h3148w.dts  |  39 ++
 .../dts/rockchip/px30-cobra-ltk500hd1829.dts  |  73 +++
 arch/arm64/boot/dts/rockchip/px30-cobra.dtsi  | 566 ++++++++++++++++
 .../rockchip/px30-pp1516-ltk050h3146w-a2.dts  |  39 ++
 .../dts/rockchip/px30-pp1516-ltk050h3148w.dts |  39 ++
 arch/arm64/boot/dts/rockchip/px30-pp1516.dtsi | 602 ++++++++++++++++++
 .../boot/dts/rockchip/px30-ringneck.dtsi      |  22 +-
 arch/arm64/boot/dts/rockchip/px30.dtsi        |   6 +
 12 files changed, 1485 insertions(+), 3 deletions(-)
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w-a2.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3148w.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-cobra-ltk500hd1829.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-cobra.dtsi
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3146w-a2.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3148w.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-pp1516.dtsi
Signature · 1 line
2.47.2
author maintainer
#1 lore raw

PATCH v3 1/6 arm64: dts: rockchip: add basic mdio node to px30

From: Heiko Stuebner <[email protected]>

Using snps,reset-* properties for handling the phy-reset is deprecated and instead a real phy node should be defined that then contains the reset-gpios handling.

To facilitate this, add the core mdio node under the px30's gmac, similar to how the other Rockchip socs already do this.

---
 arch/arm64/boot/dts/rockchip/px30.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/rockchip/px30.dtsi +6 -0
index 9137dd76e72c..feabdadfa440 100644
@@ -985,6 +985,12 @@ gmac: ethernet@ff360000 {
 		resets = <&cru SRST_GMAC_A>;
 		reset-names = "stmmaceth";
 		status = "disabled";
+
+		mdio: mdio {
+			compatible = "snps,dwmac-mdio";
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
 	};
 
 	sdmmc: mmc@ff370000 {
Signature · 1 line
2.47.2
author maintainer
#2 lore raw

PATCH v3 2/6 arm64: dts: rockchip: move reset to dedicated eth-phy node on ringneck

In reply to Heiko Stuebner

From: Heiko Stuebner <[email protected]>

Using snps,reset-* properties to handle the ethernet-phy resets is deprecated and instead a real phy node should be used.

Move the Ringneck phy-reset properties to such a node

---
 .../boot/dts/rockchip/px30-ringneck.dtsi      | 22 ++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi +19 -3
index 142244d52706..ab232e5c7ad6 100644
@@ -83,9 +83,7 @@ &emmc {
 
 /* On-module TI DP83825I PHY but no connector, enable in carrierboard */
 &gmac {
-	snps,reset-gpio = <&gpio3 RK_PB0 GPIO_ACTIVE_LOW>;
-	snps,reset-active-low;
-	snps,reset-delays-us = <0 50000 50000>;
+	phy-handle = <&dp83825>;
 	phy-supply = <&vcc_3v3>;
 	clock_in_out = "output";
 };
@@ -344,6 +342,18 @@ &io_domains {
 	status = "okay";
 };
 
+&mdio {
+	dp83825: ethernet-phy@0 {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x0>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&phy_rst>;
+		reset-assert-us = <50000>;
+		reset-deassert-us = <50000>;
+		reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_LOW>;
+	};
+};
+
 &pinctrl {
 	emmc {
 		emmc_reset: emmc-reset {
@@ -351,6 +361,12 @@ emmc_reset: emmc-reset {
 		};
 	};
 
+	ethernet {
+		phy_rst: phy-rst {
+			rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
+		};
+	};
+
 	leds {
 		module_led_pin: module-led-pin {
 			rockchip,pins = <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
Signature · 1 line
2.47.2
author maintainer
#3 lore raw

PATCH v3 3/6 dt-bindings: arm: rockchip: add PX30-Cobra boards from Theobroma Systems

In reply to Heiko Stuebner

From: Heiko Stuebner <[email protected]>

Cobra are Touchscreen devices built around the PX30 SoC using a variety of display options.

The devices feature an EMMC, network port, usb host + OTG ports and a 720x1280 display with a touchscreen.

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +10 -0
index 650fb833d96e..6435c724e682 100644
@@ -1109,6 +1109,16 @@ properties:
               - rockchip,rv1126
               - rockchip,rv1109
 
+      - description: Theobroma Systems PX30-Cobra
+        items:
+          - enum:
+              - tsd,px30-cobra-ltk050h3146w
+              - tsd,px30-cobra-ltk050h3146w-a2
+              - tsd,px30-cobra-ltk050h3148w
+              - tsd,px30-cobra-ltk500hd1829
+          - const: tsd,px30-cobra
+          - const: rockchip,px30
+
       - description: Theobroma Systems PX30-uQ7 with Haikou baseboard
         items:
           - const: tsd,px30-ringneck-haikou
Signature · 1 line
2.47.2
author maintainer
#4 lore raw

PATCH v3 4/6 arm64: dts: rockchip: add px30-cobra base dtsi and board variants

In reply to Heiko Stuebner

From: Heiko Stuebner <[email protected]>

Cobra are Touchscreen devices built around the PX30 SoC using a variety of display options.

The devices feature an EMMC, network port, usb host + OTG ports and a 720x1280 display with a touchscreen.

---
 arch/arm64/boot/dts/rockchip/Makefile         |   4 +
 .../rockchip/px30-cobra-ltk050h3146w-a2.dts   |  39 ++
 .../dts/rockchip/px30-cobra-ltk050h3146w.dts  |  39 ++
 .../dts/rockchip/px30-cobra-ltk050h3148w.dts  |  39 ++
 .../dts/rockchip/px30-cobra-ltk500hd1829.dts  |  73 +++
 arch/arm64/boot/dts/rockchip/px30-cobra.dtsi  | 566 ++++++++++++++++++
 6 files changed, 760 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w-a2.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3148w.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-cobra-ltk500hd1829.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-cobra.dtsi
arch/arm64/boot/dts/rockchip/Makefile +4 -0
index 3e8771ef69ba..8151e8bb1cd3 100644
@@ -1,4 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0
+dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-cobra-ltk050h3146w-a2.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-cobra-ltk050h3146w.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-cobra-ltk050h3148w.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-cobra-ltk500hd1829.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-evb.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-engicam-px30-core-ctouch2.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-engicam-px30-core-ctouch2-of10.dtb
arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w-a2.dts new file +39 -0
new file mode 100644
index 000000000000..1d26164be7b8
@@ -0,0 +1,39 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2025 Cherry Embedded Solutions GmbH
+ */
+
+/dts-v1/;
+#include "px30-cobra.dtsi"
+
+/ {
+	model = "Theobroma Systems Cobra with LTK050H3146W-A2 Display";
+	compatible = "tsd,px30-cobra-ltk050h3146w-a2", "tsd,px30-cobra", "rockchip,px30";
+};
+
+&dsi {
+	status = "okay";
+
+	panel@0 {
+		compatible = "leadtek,ltk050h3146w-a2";
+		reg = <0>;
+		backlight = <&backlight>;
+		iovcc-supply = <&vcc_1v8>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&dsp_rst>;
+		reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
+		vci-supply = <&vcc_2v8>;
+
+		port {
+			mipi_in_panel: endpoint {
+				remote-endpoint = <&mipi_out_panel>;
+			};
+		};
+	};
+};
+
+&dsi_out {
+	mipi_out_panel: endpoint {
+		remote-endpoint = <&mipi_in_panel>;
+	};
+};
arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w.dts new file +39 -0
new file mode 100644
index 000000000000..82c6acdb4fae
@@ -0,0 +1,39 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2025 Cherry Embedded Solutions GmbH
+ */
+
+/dts-v1/;
+#include "px30-cobra.dtsi"
+
+/ {
+	model = "Theobroma Systems Cobra with LTK050H3146W Display";
+	compatible = "tsd,px30-cobra-ltk050h3146w", "tsd,px30-cobra", "rockchip,px30";
+};
+
+&dsi {
+	status = "okay";
+
+	panel@0 {
+		compatible = "leadtek,ltk050h3146w";
+		reg = <0>;
+		backlight = <&backlight>;
+		iovcc-supply = <&vcc_1v8>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&dsp_rst>;
+		reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
+		vci-supply = <&vcc_2v8>;
+
+		port {
+			mipi_in_panel: endpoint {
+				remote-endpoint = <&mipi_out_panel>;
+			};
+		};
+	};
+};
+
+&dsi_out {
+	mipi_out_panel: endpoint {
+		remote-endpoint = <&mipi_in_panel>;
+	};
+};
arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3148w.dts new file +39 -0
new file mode 100644
index 000000000000..94449132df38
@@ -0,0 +1,39 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2025 Cherry Embedded Solutions GmbH
+ */
+
+/dts-v1/;
+#include "px30-cobra.dtsi"
+
+/ {
+	model = "Theobroma Systems Cobra with ltk050h3148w Display";
+	compatible = "tsd,px30-cobra-ltk050h3148w", "tsd,px30-cobra", "rockchip,px30";
+};
+
+&dsi {
+	status = "okay";
+
+	panel@0 {
+		compatible = "leadtek,ltk050h3148w";
+		reg = <0>;
+		backlight = <&backlight>;
+		iovcc-supply = <&vcc_1v8>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&dsp_rst>;
+		reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
+		vci-supply = <&vcc_2v8>;
+
+		port {
+			mipi_in_panel: endpoint {
+				remote-endpoint = <&mipi_out_panel>;
+			};
+		};
+	};
+};
+
+&dsi_out {
+	mipi_out_panel: endpoint {
+		remote-endpoint = <&mipi_in_panel>;
+	};
+};
arch/arm64/boot/dts/rockchip/px30-cobra-ltk500hd1829.dts new file +73 -0

73 lines not on this page · raw message

arch/arm64/boot/dts/rockchip/px30-cobra.dtsi new file +566 -0

566 lines not on this page · raw message

Signature · 1 line
2.47.2
#5 lore raw

Re: [PATCH v3 4/6] arm64: dts: rockchip: add px30-cobra base dtsi and board variants

Hi Heiko,

On 5/14/25 2:09 PM, Heiko Stuebner wrote:
[...]

arch/arm64/boot/dts/rockchip/px30-cobra.dtsi line 422

Quoted 13 lines

+&pinctrl {

arch/arm64/boot/dts/rockchip/px30-cobra.dtsi new file +12 -0
+	pinctrl-names = "default";
+	pinctrl-0 = <&cobra_pin_hog>;
+
+	hog {
+		cobra_pin_hog: cobra-pin-hog {
+			rockchip,pins =
+				/* USB_HUB2_RESET */
+				<0 RK_PA5 RK_FUNC_GPIO &pcfg_output_high>,
+				/* USB_HUB1_RESET */
+				<0 RK_PB4 RK_FUNC_GPIO &pcfg_output_high>,
+				/* The default pull-down can keep the IC in reset. */
+				<3 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;

Small oopsie there, should end with a comma.

arch/arm64/boot/dts/rockchip/px30-cobra.dtsi line 426

Quoted 4 lines
arch/arm64/boot/dts/rockchip/px30-cobra.dtsi new file +4 -0
+				/* USB-A 5V enable */
+				<3 RK_PC0 RK_FUNC_GPIO &pcfg_output_high>,
+				/* USB-A data enable */
+				<3 RK_PD3 RK_FUNC_GPIO &pcfg_output_high>,

Small oopsie there, should end with a semi-colon.

Thanks Rob for the bot :)

Cheers,
Quentin

author maintainer
#6 lore raw

PATCH v3 5/6 dt-bindings: arm: rockchip: add PX30-PP1516 boards from Theobroma Systems

In reply to Heiko Stuebner

From: Heiko Stuebner <[email protected]>

PP1516 are Touchscreen devices built around the PX30 SoC and companion devices to PX30-Cobra, again with multiple display options.

The devices feature an EMMC, OTG port and a 720x1280 display with a touchscreen and camera

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +8 -0
index 6435c724e682..58af37b4d6b8 100644
@@ -1119,6 +1119,14 @@ properties:
           - const: tsd,px30-cobra
           - const: rockchip,px30
 
+      - description: Theobroma Systems PX30-PP1516
+        items:
+          - enum:
+              - tsd,px30-pp1516-ltk050h3146w-a2
+              - tsd,px30-pp1516-ltk050h3148w
+          - const: tsd,px30-pp1516
+          - const: rockchip,px30
+
       - description: Theobroma Systems PX30-uQ7 with Haikou baseboard
         items:
           - const: tsd,px30-ringneck-haikou
Signature · 1 line
2.47.2
author maintainer
#7 lore raw

PATCH v3 6/6 arm64: dts: rockchip: add px30-pp1516 base dtsi and board variants

In reply to Heiko Stuebner

From: Heiko Stuebner <[email protected]>

PP1516 are Touchscreen devices built around the PX30 SoC and companion devices to PX30-Cobra, again with multiple display options.

The devices feature an EMMC, OTG port and a 720x1280 display with a touchscreen and camera

---
 arch/arm64/boot/dts/rockchip/Makefile         |   2 +
 .../rockchip/px30-pp1516-ltk050h3146w-a2.dts  |  39 ++
 .../dts/rockchip/px30-pp1516-ltk050h3148w.dts |  39 ++
 arch/arm64/boot/dts/rockchip/px30-pp1516.dtsi | 602 ++++++++++++++++++
 4 files changed, 682 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3146w-a2.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3148w.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-pp1516.dtsi
arch/arm64/boot/dts/rockchip/Makefile +2 -0
index 8151e8bb1cd3..899113f88a29 100644
@@ -8,6 +8,8 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-engicam-px30-core-ctouch2.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-engicam-px30-core-ctouch2-of10.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-engicam-px30-core-edimm2.2.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-firefly-jd4-core-mb.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-pp1516-ltk050h3146w-a2.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-pp1516-ltk050h3148w.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-ringneck-haikou.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-ringneck-haikou-lvds-9904379.dtbo
 dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-ringneck-haikou-video-demo.dtbo
arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3146w-a2.dts new file +39 -0
new file mode 100644
index 000000000000..b71929bcb33e
@@ -0,0 +1,39 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2025 Cherry Embedded Solutions GmbH
+ */
+
+/dts-v1/;
+#include "px30-pp1516.dtsi"
+
+/ {
+	model = "Theobroma Systems PP-1516 with LTK050H3146W-A2 Display";
+	compatible = "tsd,px30-pp1516-ltk050h3146w-a2", "tsd,px30-pp1516", "rockchip,px30";
+};
+
+&dsi {
+	status = "okay";
+
+	panel@0 {
+		compatible = "leadtek,ltk050h3146w-a2";
+		reg = <0>;
+		backlight = <&backlight>;
+		iovcc-supply = <&vcc_1v8>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&dsp_rst>;
+		reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
+		vci-supply = <&vcc_2v8>;
+
+		port {
+			mipi_in_panel: endpoint {
+				remote-endpoint = <&mipi_out_panel>;
+			};
+		};
+	};
+};
+
+&dsi_out {
+	mipi_out_panel: endpoint {
+		remote-endpoint = <&mipi_in_panel>;
+	};
+};
arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3148w.dts new file +39 -0
new file mode 100644
index 000000000000..a9bd5936c701
@@ -0,0 +1,39 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2025 Cherry Embedded Solutions GmbH
+ */
+
+/dts-v1/;
+#include "px30-pp1516.dtsi"
+
+/ {
+	model = "Theobroma Systems PP-1516 with LTK050H3148W Display";
+	compatible = "tsd,px30-pp1516-ltk050h3148w", "tsd,px30-pp1516", "rockchip,px30";
+};
+
+&dsi {
+	status = "okay";
+
+	panel@0 {
+		compatible = "leadtek,ltk050h3148w";
+		reg = <0>;
+		backlight = <&backlight>;
+		iovcc-supply = <&vcc_1v8>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&dsp_rst>;
+		reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
+		vci-supply = <&vcc_2v8>;
+
+		port {
+			mipi_in_panel: endpoint {
+				remote-endpoint = <&mipi_out_panel>;
+			};
+		};
+	};
+};
+
+&dsi_out {
+	mipi_out_panel: endpoint {
+		remote-endpoint = <&mipi_in_panel>;
+	};
+};
arch/arm64/boot/dts/rockchip/px30-pp1516.dtsi new file +602 -0

602 lines not on this page · raw message

Signature · 1 line
2.47.2
#8 lore raw
In reply to Heiko Stuebner
Quoted 63 lines · Heiko Stuebner

Both the Cobra and PP1516 boards are based around the PX30 SoC and can be found with a variety of display options.

As new boards should not use the deprecated snps,reset-* properties in the gmac node, I also added a core mdio-node for the gmac and converted the Theobroma Ringneck board over.

Testing with the new node both before and after converting Ringneck showed the board finding its network both when booting locally and from the tftp/nfs.

changes in v3:
- more sorting
- more Reviewed-bys
- pull-down for dsp-rst
- pp1516 accel pinctrl group

changes in v2:
- add received Acks/Reviews
- drop "rockchip" prefix from system-power-controller (Diederik)
- split out prototype-pins to prototype variant
- address Quentin's review comments
- ethernet0 alias for Cobra
- a number more pinctrl entries for gpios
- drop unused slp pinctrl entries
- additional comments
- use gpio-constants for pmic int
- ordering (nodes + properties)
- clarify vccio_sd more
- interrupt line for pp1516 accelerometer

Heiko Stuebner (6):
arm64: dts: rockchip: add basic mdio node to px30
arm64: dts: rockchip: move reset to dedicated eth-phy node on ringneck
dt-bindings: arm: rockchip: add PX30-Cobra boards from Theobroma
Systems
arm64: dts: rockchip: add px30-cobra base dtsi and board variants
dt-bindings: arm: rockchip: add PX30-PP1516 boards from Theobroma
Systems
arm64: dts: rockchip: add px30-pp1516 base dtsi and board variants

 .../devicetree/bindings/arm/rockchip.yaml     |  18 +
 arch/arm64/boot/dts/rockchip/Makefile         |   6 +
 .../rockchip/px30-cobra-ltk050h3146w-a2.dts   |  39 ++
 .../dts/rockchip/px30-cobra-ltk050h3146w.dts  |  39 ++
 .../dts/rockchip/px30-cobra-ltk050h3148w.dts  |  39 ++
 .../dts/rockchip/px30-cobra-ltk500hd1829.dts  |  73 +++
 arch/arm64/boot/dts/rockchip/px30-cobra.dtsi  | 566 ++++++++++++++++
 .../rockchip/px30-pp1516-ltk050h3146w-a2.dts  |  39 ++
 .../dts/rockchip/px30-pp1516-ltk050h3148w.dts |  39 ++
 arch/arm64/boot/dts/rockchip/px30-pp1516.dtsi | 602 ++++++++++++++++++
 .../boot/dts/rockchip/px30-ringneck.dtsi      |  22 +-
 arch/arm64/boot/dts/rockchip/px30.dtsi        |   6 +
 12 files changed, 1485 insertions(+), 3 deletions(-)
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w-a2.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3148w.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-cobra-ltk500hd1829.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-cobra.dtsi
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3146w-a2.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3148w.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/px30-pp1516.dtsi
Quoted 5 lines

--
2.47.2

My bot found new DTB warnings on the .dts files added or changed in this series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:

  pip3 install dtschema --upgrade

This patch series was applied (using b4) to base:
Base: attempting to guess base-commit...
Base: tags/v6.15-rc1-23-g0d0947766d87 (exact match)

If this is not the correct base, please add 'base-commit' tag (or use b4 which does this automatically)

New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/rockchip/' for [email protected]:

Error: arch/arm64/boot/dts/rockchip/px30-cobra.dtsi:424.5-6 syntax error
FATAL ERROR: Unable to parse input tree
make[3]: *** [scripts/Makefile.dtbs:131: arch/arm64/boot/dts/rockchip/px30-cobra-ltk500hd1829.dtb] Error 1
make[2]: *** [scripts/Makefile.build:461: arch/arm64/boot/dts/rockchip] Error 2
make[2]: Target 'arch/arm64/boot/dts/rockchip/px30-cobra-ltk500hd1829.dtb' not remade because of errors.
make[1]: *** [/home/rob/proj/linux-dt-testing/Makefile:1475: rockchip/px30-cobra-ltk500hd1829.dtb] Error 2
Error: arch/arm64/boot/dts/rockchip/px30-cobra.dtsi:424.5-6 syntax error
FATAL ERROR: Unable to parse input tree
make[3]: *** [scripts/Makefile.dtbs:131: arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3148w.dtb] Error 1
make[2]: *** [scripts/Makefile.build:461: arch/arm64/boot/dts/rockchip] Error 2
make[2]: Target 'arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3148w.dtb' not remade because of errors.
make[1]: *** [/home/rob/proj/linux-dt-testing/Makefile:1475: rockchip/px30-cobra-ltk050h3148w.dtb] Error 2 arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3148w.dtb: panel@0 (leadtek,ltk050h3148w): 'port' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/display/panel/leadtek,ltk050h3146w.yaml#
Error: arch/arm64/boot/dts/rockchip/px30-cobra.dtsi:424.5-6 syntax error
FATAL ERROR: Unable to parse input tree
make[3]: *** [scripts/Makefile.dtbs:131: arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w.dtb] Error 1
make[2]: *** [scripts/Makefile.build:461: arch/arm64/boot/dts/rockchip] Error 2
make[2]: Target 'arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w.dtb' not remade because of errors.
make[1]: *** [/home/rob/proj/linux-dt-testing/Makefile:1475: rockchip/px30-cobra-ltk050h3146w.dtb] Error 2 arch/arm64/boot/dts/rockchip/px30-pp1516-ltk050h3146w-a2.dtb: panel@0 (leadtek,ltk050h3146w-a2): 'port' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/display/panel/leadtek,ltk050h3146w.yaml#
Error: arch/arm64/boot/dts/rockchip/px30-cobra.dtsi:424.5-6 syntax error
FATAL ERROR: Unable to parse input tree
make[3]: *** [scripts/Makefile.dtbs:131: arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w-a2.dtb] Error 1
make[2]: *** [scripts/Makefile.build:461: arch/arm64/boot/dts/rockchip] Error 2
make[2]: Target 'arch/arm64/boot/dts/rockchip/px30-cobra-ltk050h3146w-a2.dtb' not remade because of errors.
make[1]: *** [/home/rob/proj/linux-dt-testing/Makefile:1475: rockchip/px30-cobra-ltk050h3146w-a2.dtb] Error 2
make: *** [Makefile:248: __sub-make] Error 2
make: Target 'rockchip/rk3399-ficus.dtb' not remade because of errors.
make: Target 'rockchip/rk3588s-odroid-m2.dtb' not remade because of errors.
make: Target 'rockchip/rk3368-r88.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-rockpro64.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-gru-scarlet-dumo.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-pinetab2-v2.0.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-coolpi-cm5-genbook.dtb' not remade because of errors.
make: Target 'rockchip/rk3368-geekbox.dtb' not remade because of errors.
make: Target 'rockchip/rk3326-odroid-go3.dtb' not remade because of errors.
make: Target 'rockchip/rk3528-radxa-e20c.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-gru-scarlet-inx.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-gru-bob.dtb' not remade because of errors.
make: Target 'rockchip/rk3588s-orangepi-5b.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-h96-max-v58.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-soquartz-cm4.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-bigtreetech-pi2.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-armsom-w3.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-orangepi-3b-v2.1.dtb' not remade because of errors.
make: Target 'rockchip/rk3318-a95x-z2.dtb' not remade because of errors.
make: Target 'rockchip/rk3328-orangepi-r1-plus.dtb' not remade because of errors.
make: Target 'rockchip/rk3576-roc-pc.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-orangepi-5-ultra.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-rock-pi-4a-plus.dtb' not remade because of errors.
make: Target 'rockchip/rk3326-anbernic-rg351v.dtb' not remade because of errors.
make: Target 'rockchip/rk3328-rock64.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-jaguar.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-edgeble-neu6b-io.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-ok3588-c.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-rock-pi-4b.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-powkiddy-rgb10max3.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-khadas-edge-v.dtb' not remade because of errors.
make: Target 'rockchip/rk3568-radxa-e25.dtb' not remade because of errors.
make: Target 'rockchip/rk3588s-gameforce-ace.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-rock-4se.dtb' not remade because of errors.
make: Target 'rockchip/rk3568-bpi-r2-pro.dtb' not remade because of errors.
make: Target 'rockchip/rk3588s-orangepi-5.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-tiger-haikou.dtb' not remade because of errors.
make: Target 'rockchip/rk3328-nanopi-r2s.dtb' not remade because of errors.
make: Target 'rockchip/rk3568-photonicat.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-hugsun-x99.dtb' not remade because of errors.
make: Target 'rockchip/rk3582-radxa-e52c.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-anbernic-rg-arc-s.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-rock-4c-plus.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-rockpro64-v2.dtb' not remade because of errors.
make: Target 'rockchip/rk3368-px5-evb.dtb' not remade because of errors.
make: Target 'rockchip/rk3308-rock-s0.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-puma-haikou.dtb' not remade because of errors.
make: Target 'rockchip/rk3568-qnap-ts433.dtb' not remade because of errors.
make: Target 'rockchip/px30-engicam-px30-core-ctouch2.dtb' not remade because of errors.
make: Target 'rockchip/rk3588s-coolpi-4b.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-toybrick-x0.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-rock-pi-4c.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-khadas-edge.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-pinebook-pro.dtb' not remade because of errors.
make: Target 'rockchip/rk3568-nanopi-r5c.dtb' not remade because of errors.
make: Target 'rockchip/rk3588s-khadas-edge2.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-nanopi-m4.dtb' not remade because of errors.
make: Target 'rockchip/rk3326-odroid-go2-v11.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-nanopi-r4s.dtb' not remade because of errors.
make: Target 'rockchip/rk3368-lion-haikou.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-friendlyelec-cm3588-nas.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-lckfb-tspi.dtb' not remade because of errors.
make: Target 'rockchip/px30-cobra-ltk500hd1829.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-sapphire.dtb' not remade because of errors.
make: Target 'rockchip/rk3568-fastrhino-r68s.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-edgeble-neu6a-io.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-anbernic-rg353ps.dtb' not remade because of errors.
make: Target 'rockchip/rk3588s-rock-5a.dtb' not remade because of errors.
make: Target 'rockchip/rk3568-fastrhino-r66s.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-rock-5-itx.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-kobol-helios64.dtb' not remade because of errors.
make: Target 'rockchip/rk3576-armsom-sige5.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-leez-p710.dtb' not remade because of errors.
make: Target 'rockchip/rk3568-wolfvision-pf5.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-gru-kevin.dtb' not remade because of errors.
make: Target 'rockchip/rk3568-nanopi-r5s.dtb' not remade because of errors.
make: Target 'rockchip/rk3588s-evb1-v10.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-anbernic-rg353vs.dtb' not remade because of errors.
make: Target 'rockchip/rk3568-rock-3b.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-powkiddy-rgb30.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-powkiddy-x55.dtb' not remade because of errors.
make: Target 'rockchip/px30-pp1516-ltk050h3148w.dtb' not remade because of errors.
make: Target 'rockchip/rk3326-anbernic-rg351m.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-nanopi-m4b.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-rock960.dtb' not remade because of errors.
make: Target 'rockchip/px30-cobra-ltk050h3148w.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-orangepi.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-rock-5b.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-soquartz-model-a.dtb' not remade because of errors.
make: Target 'rockchip/rk3328-nanopi-r2c.dtb' not remade because of errors.
make: Target 'rockchip/px30-ringneck-haikou.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-sapphire-excavator.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-roc-pc-mezzanine.dtb' not remade because of errors.
make: Target 'rockchip/rk3568-odroid-m1.dtb' not remade because of errors.
make: Target 'rockchip/rk3568-evb1-v10.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-roc-pc-plus.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-powkiddy-rgb20sx.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-gru-scarlet-kd.dtb' not remade because of errors.
make: Target 'rockchip/rk3568-roc-pc.dtb' not remade because of errors.
make: Target 'rockchip/rk3368-evb-act8846.dtb' not remade because of errors.
make: Target 'rockchip/rk3308-bpi-p2-pro.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-quartzpro64.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-turing-rk1.dtb' not remade because of errors.
make: Target 'rockchip/px30-engicam-px30-core-edimm2.2.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-radxa-cm3-io.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-radxa-zero-3e.dtb' not remade because of errors.
make: Target 'rockchip/rk3328-roc-pc.dtb' not remade because of errors.
make: Target 'rockchip/px30-cobra-ltk050h3146w.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-roc-pc.dtb' not remade because of errors.
make: Target 'rockchip/rk3328-nanopi-r2c-plus.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-mnt-reform2.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-nanopc-t6-lts.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-odroid-m1s.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-armsom-sige7.dtb' not remade because of errors.
make: Target 'rockchip/rk3328-rock-pi-e.dtb' not remade because of errors.
make: Target 'rockchip/rk3568-mecsbc.dtb' not remade because of errors.
make: Target 'rockchip/rk3588s-nanopi-r6c.dtb' not remade because of errors.
make: Target 'rockchip/rk3399pro-rock-pi-n10.dtb' not remade because of errors.
make: Target 'rockchip/px30-firefly-jd4-core-mb.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-radxa-zero-3w.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-firefly.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-orangepi-5-plus.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-pinephone-pro.dtb' not remade because of errors.
make: Target 'rockchip/rk3328-evb.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-quartz64-b.dtb' not remade because of errors.
make: Target 'rockchip/rk3328-roc-cc.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-nanopc-t6.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-eaidk-610.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-orangepi-5-max.dtb' not remade because of errors.
make: Target 'rockchip/rk3588s-nanopi-r6s.dtb' not remade because of errors.
make: Target 'rockchip/rk3326-odroid-go2.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-rock-pi-4a.dtb' not remade because of errors.
make: Target 'rockchip/rk3588s-rock-5c.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-anbernic-rg353v.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-firefly-itx-3588j.dtb' not remade because of errors.
make: Target 'rockchip/rk3328-orangepi-r1-plus-lts.dtb' not remade because of errors.
make: Target 'rockchip/rk3576-evb1-v10.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-orangepi-3b-v1.1.dtb' not remade because of errors.
make: Target 'rockchip/rk3568-lubancat-2.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-box-demo.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-powkiddy-rk2023.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-rock-3c.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-bigtreetech-cb2-manta.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-evb1-v10.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-rock-pi-4b-plus.dtb' not remade because of errors.
make: Target 'rockchip/rk3308-roc-cc.dtb' not remade because of errors.
make: Target 'rockchip/rk3326-gameforce-chi.dtb' not remade because of errors.
make: Target 'rockchip/rk3328-a1.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-pinenote-v1.1.dtb' not remade because of errors.
make: Target 'rockchip/px30-pp1516-ltk050h3146w-a2.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-anbernic-rg503.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-soquartz-blade.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-pinenote-v1.2.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-nanopi-r3s.dtb' not remade because of errors.
make: Target 'rockchip/rk3308-evb.dtb' not remade because of errors.
make: Target 'rockchip/px30-evb.dtb' not remade because of errors.
make: Target 'rockchip/rk3588-coolpi-cm5-evb.dtb' not remade because of errors.
make: Target 'rockchip/rk3588s-indiedroid-nova.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-lubancat-1.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-nanopi-r4s-enterprise.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-nanopi-neo4.dtb' not remade because of errors.
make: Target 'rockchip/px30-engicam-px30-core-ctouch2-of10.dtb' not remade because of errors.
make: Target 'rockchip/rk3328-nanopi-r2s-plus.dtb' not remade because of errors.
make: Target 'rockchip/rk3308-rock-pi-s.dtb' not remade because of errors.
make: Target 'rockchip/rk3568-rock-3a.dtb' not remade because of errors.
make: Target 'rockchip/rk3368-orion-r68-meta.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-anbernic-rg353p.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-quartz64-a.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-roc-pc.dtb' not remade because of errors.
make: Target 'rockchip/rk3576-rock-4d.dtb' not remade because of errors.
make: Target 'rockchip/px30-cobra-ltk050h3146w-a2.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-evb.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-anbernic-rg-arc-d.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-nanopc-t4.dtb' not remade because of errors.
make: Target 'rockchip/rk3399-khadas-edge-captain.dtb' not remade because of errors.
make: Target 'rockchip/rk3566-pinetab2-v0.1.dtb' not remade because of errors.
make: Target 'rockchip/rk3368-lba3368.dtb' not remade because of errors.