Commit 96940819 authored by Maxime Ripard's avatar Maxime Ripard

ARM: dts: sun9i: Make sure the USB PHY resources are in the same order

While this is functional, it's a best practice to always have the clocks
and reset lines in order, in case we ever need to have compatibility code.
Acked-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
parent c1cc29f2
...@@ -387,16 +387,16 @@ ehci1: usb@a01000 { ...@@ -387,16 +387,16 @@ ehci1: usb@a01000 {
usbphy2: phy@a01800 { usbphy2: phy@a01800 {
compatible = "allwinner,sun9i-a80-usb-phy"; compatible = "allwinner,sun9i-a80-usb-phy";
reg = <0x00a01800 0x4>; reg = <0x00a01800 0x4>;
clocks = <&usb_clocks CLK_USB1_HSIC>, clocks = <&usb_clocks CLK_USB1_PHY>,
<&usb_clocks CLK_USB_HSIC>, <&usb_clocks CLK_USB_HSIC>,
<&usb_clocks CLK_USB1_PHY>; <&usb_clocks CLK_USB1_HSIC>;
clock-names = "hsic_480M", clock-names = "phy",
"hsic_12M", "hsic_12M",
"phy"; "hsic_480M";
resets = <&usb_clocks RST_USB1_HSIC>, resets = <&usb_clocks RST_USB1_PHY>,
<&usb_clocks RST_USB1_PHY>; <&usb_clocks RST_USB1_HSIC>;
reset-names = "hsic", reset-names = "phy",
"phy"; "hsic";
status = "disabled"; status = "disabled";
#phy-cells = <0>; #phy-cells = <0>;
/* usb1 is always used with HSIC */ /* usb1 is always used with HSIC */
...@@ -429,16 +429,16 @@ ohci2: usb@a02400 { ...@@ -429,16 +429,16 @@ ohci2: usb@a02400 {
usbphy3: phy@a02800 { usbphy3: phy@a02800 {
compatible = "allwinner,sun9i-a80-usb-phy"; compatible = "allwinner,sun9i-a80-usb-phy";
reg = <0x00a02800 0x4>; reg = <0x00a02800 0x4>;
clocks = <&usb_clocks CLK_USB2_HSIC>, clocks = <&usb_clocks CLK_USB2_PHY>,
<&usb_clocks CLK_USB_HSIC>, <&usb_clocks CLK_USB_HSIC>,
<&usb_clocks CLK_USB2_PHY>; <&usb_clocks CLK_USB2_HSIC>;
clock-names = "hsic_480M", clock-names = "phy",
"hsic_12M", "hsic_12M",
"phy"; "hsic_480M";
resets = <&usb_clocks RST_USB2_HSIC>, resets = <&usb_clocks RST_USB2_PHY>,
<&usb_clocks RST_USB2_PHY>; <&usb_clocks RST_USB2_HSIC>;
reset-names = "hsic", reset-names = "phy",
"phy"; "hsic";
status = "disabled"; status = "disabled";
#phy-cells = <0>; #phy-cells = <0>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment