[PATCH 1/2] arm64: dts: rockchip: Simplify usb-c-connector port on rk3566-pinenote
Diederik de Haas
diederik at cknow-tech.com
Sun Nov 9 09:05:26 PST 2025
The USB-C connector on the PineNote has only 1 port, so there's no need
for a 'ports' node with address-/size-cells properties as a single
'port' node suffices.
This fixes the following DT validation issue:
Warning (graph_child_address): /i2c at fe5c0000/tcpc at 60/connector/ports:
graph node has single child node 'port at 0',
#address-cells/#size-cells are not necessary
Signed-off-by: Diederik de Haas <diederik at cknow-tech.com>
---
arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi
index 5c6f8cc401c9..7c65fe4900be 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi
@@ -485,16 +485,9 @@ connector {
typec-power-opmode = "default";
pd-disable;
- ports {
- #address-cells = <0x1>;
- #size-cells = <0x0>;
-
- port at 0 {
- reg = <0x0>;
-
- typec_hs_usb2phy0: endpoint {
- remote-endpoint = <&usb2phy0_typec_hs>;
- };
+ port {
+ typec_hs_usb2phy0: endpoint {
+ remote-endpoint = <&usb2phy0_typec_hs>;
};
};
};
--
2.51.0
More information about the Linux-rockchip
mailing list