arm64: dts: imx8mm-evk: Move port under USB connector
authorFabio Estevam <festevam@denx.de>
Thu, 7 Dec 2023 15:58:41 +0000 (12:58 -0300)
committerShawn Guo <shawnguo@kernel.org>
Thu, 14 Dec 2023 02:50:57 +0000 (10:50 +0800)
Per nxp,ptn5110.yaml, 'port' should be placed under 'connector'.

Do as requested to fix the following dt-schema warning:

imx8mm-evkb.dtb: tcpc@50: 'port' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/usb/nxp,ptn5110.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi

index a882c86ec3132b88479a13720ee7cb92cca7aac1..b53104ed89199339b67535fc6b9741e0177a2a2d 100644 (file)
                interrupts = <11 8>;
                status = "okay";
 
-               port {
-                       typec1_dr_sw: endpoint {
-                               remote-endpoint = <&usb1_drd_sw>;
-                       };
-               };
-
                typec1_con: connector {
                        compatible = "usb-c-connector";
                        label = "USB-C";
                                     PDO_VAR(5000, 20000, 3000)>;
                        op-sink-microwatt = <15000000>;
                        self-powered;
+
+                       port {
+                               typec1_dr_sw: endpoint {
+                                       remote-endpoint = <&usb1_drd_sw>;
+                               };
+                       };
                };
        };
 };