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

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

imx8mn-evk.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/imx8mn-evk.dtsi

index 3f6a19839c9e8e5867ff70f66a021687a09e8f54..a0e13d3324ed1211720a2bae9a8b9bd242bd1727 100644 (file)
                interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
                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>;
+                               };
+                       };
                };
        };
 };