arm64: dts: imx8qxp-mek: Move port under USB connector
authorFabio Estevam <festevam@denx.de>
Thu, 14 Dec 2023 09:16:53 +0000 (06:16 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sat, 16 Dec 2023 01:37:46 +0000 (09:37 +0800)
Per nxp,ptn5110.yaml, 'port' should be placed under 'connector'.

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

imx8qxp-mek.dtb: tcpc@50: connector:ports: 'port@0' is a required property
        from schema $id: http://devicetree.org/schemas/usb/nxp,ptn5110.yaml#
imx8qxp-mek.dtb: tcpc@50: connector: Unevaluated properties are not allowed ('ports' was unexpected)
        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/imx8qxp-mek.dts

index 6c3d8715bc11e3af44484a110b30f81b5111c27f..9f660f38603903e74361972cfd6f9d7a71f61ba5 100644 (file)
                interrupt-parent = <&lsio_gpio1>;
                interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
 
-               port {
-                       typec_dr_sw: endpoint {
-                               remote-endpoint = <&usb3_drd_sw>;
-                       };
-               };
-
                usb_con1: connector {
                        compatible = "usb-c-connector";
                        label = "USB-C";
                                #address-cells = <1>;
                                #size-cells = <0>;
 
+                               port@0 {
+                                       reg = <0>;
+
+                                       typec_dr_sw: endpoint {
+                                               remote-endpoint = <&usb3_drd_sw>;
+                                       };
+                               };
+
                                port@1 {
                                        reg = <1>;
+
                                        typec_con_ss: endpoint {
                                                remote-endpoint = <&usb3_data_ss>;
                                        };