arm64: dts: rockchip: rename and sort the rk356x usb2 phy handles
authorMichael Riesch <michael.riesch@wolfvision.net>
Thu, 27 Jan 2022 19:04:55 +0000 (20:04 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 8 Feb 2022 16:50:14 +0000 (17:50 +0100)
All nodes and handles related to USB have the prefix usb or usb2,
whereas the phy handles are prefixed with u2phy. Rename for
consistency reasons and to facilitate sorting.

This patch also updates the handles in the only board file that
uses them (rk3566-quartz64-a.dts).

Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net>
Link: https://lore.kernel.org/r/20220127190456.2195527-1-michael.riesch@wolfvision.net
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
arch/arm64/boot/dts/rockchip/rk356x.dtsi

index 8332627f483b1d2e32281852aa474db1b828d1f0..868ddac96433399a79dd6c715998ff41f98b4872 100644 (file)
        status = "okay";
 };
 
-&u2phy1_host {
-       phy-supply = <&vcc5v0_usb20_host>;
+&usb_host0_ehci {
        status = "okay";
 };
 
-&u2phy1_otg {
-       phy-supply = <&vcc5v0_usb20_host>;
+&usb_host0_ohci {
        status = "okay";
 };
 
-&u2phy1 {
+&usb_host1_ehci {
        status = "okay";
 };
 
-&usb_host0_ehci {
+&usb_host1_ohci {
        status = "okay";
 };
 
-&usb_host0_ohci {
+&usb2phy1 {
        status = "okay";
 };
 
-&usb_host1_ehci {
+&usb2phy1_host {
+       phy-supply = <&vcc5v0_usb20_host>;
        status = "okay";
 };
 
-&usb_host1_ohci {
+&usb2phy1_otg {
+       phy-supply = <&vcc5v0_usb20_host>;
        status = "okay";
 };
index 00fcf1c1968216024af3fbd87359bc50e0b19602..ff16892839964ee4b99a89142f9f08f2f603d2b3 100644 (file)
                interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&cru HCLK_USB2HOST0>, <&cru HCLK_USB2HOST0_ARB>,
                         <&cru PCLK_USB>;
-               phys = <&u2phy1_otg>;
+               phys = <&usb2phy1_otg>;
                phy-names = "usb";
                status = "disabled";
        };
                interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&cru HCLK_USB2HOST0>, <&cru HCLK_USB2HOST0_ARB>,
                         <&cru PCLK_USB>;
-               phys = <&u2phy1_otg>;
+               phys = <&usb2phy1_otg>;
                phy-names = "usb";
                status = "disabled";
        };
                interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&cru HCLK_USB2HOST1>, <&cru HCLK_USB2HOST1_ARB>,
                         <&cru PCLK_USB>;
-               phys = <&u2phy1_host>;
+               phys = <&usb2phy1_host>;
                phy-names = "usb";
                status = "disabled";
        };
                interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&cru HCLK_USB2HOST1>, <&cru HCLK_USB2HOST1_ARB>,
                         <&cru PCLK_USB>;
-               phys = <&u2phy1_host>;
+               phys = <&usb2phy1_host>;
                phy-names = "usb";
                status = "disabled";
        };
                status = "disabled";
        };
 
-       u2phy0: usb2phy@fe8a0000 {
+       usb2phy0: usb2phy@fe8a0000 {
                compatible = "rockchip,rk3568-usb2phy";
                reg = <0x0 0xfe8a0000 0x0 0x10000>;
                clocks = <&pmucru CLK_USBPHY0_REF>;
                #clock-cells = <0>;
                status = "disabled";
 
-               u2phy0_host: host-port {
+               usb2phy0_host: host-port {
                        #phy-cells = <0>;
                        status = "disabled";
                };
 
-               u2phy0_otg: otg-port {
+               usb2phy0_otg: otg-port {
                        #phy-cells = <0>;
                        status = "disabled";
                };
        };
 
-       u2phy1: usb2phy@fe8b0000 {
+       usb2phy1: usb2phy@fe8b0000 {
                compatible = "rockchip,rk3568-usb2phy";
                reg = <0x0 0xfe8b0000 0x0 0x10000>;
                clocks = <&pmucru CLK_USBPHY1_REF>;
                #clock-cells = <0>;
                status = "disabled";
 
-               u2phy1_host: host-port {
+               usb2phy1_host: host-port {
                        #phy-cells = <0>;
                        status = "disabled";
                };
 
-               u2phy1_otg: otg-port {
+               usb2phy1_otg: otg-port {
                        #phy-cells = <0>;
                        status = "disabled";
                };