Commit 915fbe59 authored by Rob Herring's avatar Rob Herring Committed by Shawn Guo

ARM: dts: imx: Add missing #phy-cells to usb-nop-xceiv

"usb-nop-xceiv" is using the phy binding, but is missing #phy-cells
property. This is probably because the binding was the precursor to the phy
binding.

Fixes the following warning in i.MX dts files:

Warning (phys_property): Missing property '#phy-cells' in node ...
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent cab54cea
...@@ -628,11 +628,13 @@ usbphy { ...@@ -628,11 +628,13 @@ usbphy {
usbphy0: usb-phy@0 { usbphy0: usb-phy@0 {
reg = <0>; reg = <0>;
compatible = "usb-nop-xceiv"; compatible = "usb-nop-xceiv";
#phy-cells = <0>;
}; };
usbphy1: usb-phy@1 { usbphy1: usb-phy@1 {
reg = <1>; reg = <1>;
compatible = "usb-nop-xceiv"; compatible = "usb-nop-xceiv";
#phy-cells = <0>;
}; };
}; };
}; };
...@@ -30,6 +30,7 @@ usbphy0: usbphy@0 { ...@@ -30,6 +30,7 @@ usbphy0: usbphy@0 {
reg = <0>; reg = <0>;
clocks = <&clks IMX27_CLK_DUMMY>; clocks = <&clks IMX27_CLK_DUMMY>;
clock-names = "main_clk"; clock-names = "main_clk";
#phy-cells = <0>;
}; };
}; };
}; };
......
...@@ -63,6 +63,7 @@ usbphy2: usbphy@2 { ...@@ -63,6 +63,7 @@ usbphy2: usbphy@2 {
vcc-supply = <&reg_5v0>; vcc-supply = <&reg_5v0>;
clocks = <&clks IMX27_CLK_DUMMY>; clocks = <&clks IMX27_CLK_DUMMY>;
clock-names = "main_clk"; clock-names = "main_clk";
#phy-cells = <0>;
}; };
}; };
}; };
......
...@@ -53,6 +53,7 @@ usbphy0: usbphy@0 { ...@@ -53,6 +53,7 @@ usbphy0: usbphy@0 {
vcc-supply = <&sw3_reg>; vcc-supply = <&sw3_reg>;
clocks = <&clks IMX27_CLK_DUMMY>; clocks = <&clks IMX27_CLK_DUMMY>;
clock-names = "main_clk"; clock-names = "main_clk";
#phy-cells = <0>;
}; };
}; };
}; };
......
...@@ -402,11 +402,13 @@ usbphy { ...@@ -402,11 +402,13 @@ usbphy {
usbphy0: usb-phy@0 { usbphy0: usb-phy@0 {
reg = <0>; reg = <0>;
compatible = "usb-nop-xceiv"; compatible = "usb-nop-xceiv";
#phy-cells = <0>;
}; };
usbphy1: usb-phy@1 { usbphy1: usb-phy@1 {
reg = <1>; reg = <1>;
compatible = "usb-nop-xceiv"; compatible = "usb-nop-xceiv";
#phy-cells = <0>;
}; };
}; };
}; };
...@@ -165,6 +165,7 @@ usbh1phy: usbh1phy@0 { ...@@ -165,6 +165,7 @@ usbh1phy: usbh1phy@0 {
clocks = <&clks IMX5_CLK_DUMMY>; clocks = <&clks IMX5_CLK_DUMMY>;
clock-names = "main_clk"; clock-names = "main_clk";
reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
#phy-cells = <0>;
}; };
}; };
}; };
......
...@@ -94,6 +94,7 @@ usbh1phy: usbh1phy@0 { ...@@ -94,6 +94,7 @@ usbh1phy: usbh1phy@0 {
clocks = <&clks IMX5_CLK_USB_PHY_GATE>; clocks = <&clks IMX5_CLK_USB_PHY_GATE>;
clock-names = "main_clk"; clock-names = "main_clk";
clock-frequency = <19200000>; clock-frequency = <19200000>;
#phy-cells = <0>;
}; };
}; };
}; };
......
...@@ -113,6 +113,7 @@ usbphy0: usbphy@0 { ...@@ -113,6 +113,7 @@ usbphy0: usbphy@0 {
reg = <0>; reg = <0>;
clocks = <&clks IMX5_CLK_USB_PHY_GATE>; clocks = <&clks IMX5_CLK_USB_PHY_GATE>;
clock-names = "main_clk"; clock-names = "main_clk";
#phy-cells = <0>;
}; };
}; };
......
...@@ -303,6 +303,7 @@ usbphy0: usbphy-0 { ...@@ -303,6 +303,7 @@ usbphy0: usbphy-0 {
compatible = "usb-nop-xceiv"; compatible = "usb-nop-xceiv";
clocks = <&clks IMX5_CLK_USB_PHY1_GATE>; clocks = <&clks IMX5_CLK_USB_PHY1_GATE>;
clock-names = "main_clk"; clock-names = "main_clk";
#phy-cells = <0>;
status = "okay"; status = "okay";
}; };
...@@ -310,6 +311,7 @@ usbphy1: usbphy-1 { ...@@ -310,6 +311,7 @@ usbphy1: usbphy-1 {
compatible = "usb-nop-xceiv"; compatible = "usb-nop-xceiv";
clocks = <&clks IMX5_CLK_USB_PHY2_GATE>; clocks = <&clks IMX5_CLK_USB_PHY2_GATE>;
clock-names = "main_clk"; clock-names = "main_clk";
#phy-cells = <0>;
status = "okay"; status = "okay";
}; };
......
...@@ -109,6 +109,7 @@ usbphynop2: usbphynop2 { ...@@ -109,6 +109,7 @@ usbphynop2: usbphynop2 {
compatible = "usb-nop-xceiv"; compatible = "usb-nop-xceiv";
clocks = <&clks IMX7D_USB_PHY2_CLK>; clocks = <&clks IMX7D_USB_PHY2_CLK>;
clock-names = "main_clk"; clock-names = "main_clk";
#phy-cells = <0>;
}; };
fec2: ethernet@30bf0000 { fec2: ethernet@30bf0000 {
......
...@@ -949,12 +949,14 @@ usbphynop1: usbphynop1 { ...@@ -949,12 +949,14 @@ usbphynop1: usbphynop1 {
compatible = "usb-nop-xceiv"; compatible = "usb-nop-xceiv";
clocks = <&clks IMX7D_USB_PHY1_CLK>; clocks = <&clks IMX7D_USB_PHY1_CLK>;
clock-names = "main_clk"; clock-names = "main_clk";
#phy-cells = <0>;
}; };
usbphynop3: usbphynop3 { usbphynop3: usbphynop3 {
compatible = "usb-nop-xceiv"; compatible = "usb-nop-xceiv";
clocks = <&clks IMX7D_USB_HSIC_ROOT_CLK>; clocks = <&clks IMX7D_USB_HSIC_ROOT_CLK>;
clock-names = "main_clk"; clock-names = "main_clk";
#phy-cells = <0>;
}; };
usdhc1: usdhc@30b40000 { usdhc1: usdhc@30b40000 {
......
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