Commit 1d91958f authored by Patrice Chotard's avatar Patrice Chotard

ARM: dts: STi: Add fake reg property for usb2_picophyX nodes

Add fake reg property for usb2_picophy nodes.
This allows to fix the following warning when compiling dtb
with W=1 option :

arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg):
Node /soc/phy2 missing or empty reg/ranges property
arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg):
Node /soc/phy3 missing or empty reg/ranges property

arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg):
Node /soc/phy2 missing or empty reg/ranges property
arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg):
Node /soc/phy3 missing or empty reg/ranges property

arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg):
Node /soc/phy2 missing or empty reg/ranges property
arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg):
Node /soc/phy3 missing or empty reg/ranges property
Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
parent a3888717
...@@ -385,8 +385,9 @@ i2c@9541000 { ...@@ -385,8 +385,9 @@ i2c@9541000 {
status = "disabled"; status = "disabled";
}; };
usb2_picophy0: phy1 { usb2_picophy0: phy1@0 {
compatible = "st,stih407-usb2-phy"; compatible = "st,stih407-usb2-phy";
reg = <0 0>;
#phy-cells = <0>; #phy-cells = <0>;
st,syscfg = <&syscfg_core 0x100 0xf4>; st,syscfg = <&syscfg_core 0x100 0xf4>;
resets = <&softreset STIH407_PICOPHY_SOFTRESET>, resets = <&softreset STIH407_PICOPHY_SOFTRESET>,
......
...@@ -37,11 +37,11 @@ mmc0: sdhci@9060000 { ...@@ -37,11 +37,11 @@ mmc0: sdhci@9060000 {
sd-uhs-ddr50; sd-uhs-ddr50;
}; };
usb2_picophy1: phy2 { usb2_picophy1: phy2@0 {
status = "okay"; status = "okay";
}; };
usb2_picophy2: phy3 { usb2_picophy2: phy3@0 {
status = "okay"; status = "okay";
}; };
......
...@@ -127,11 +127,11 @@ pwm1: pwm@9510000 { ...@@ -127,11 +127,11 @@ pwm1: pwm@9510000 {
status = "okay"; status = "okay";
}; };
usb2_picophy1: phy2 { usb2_picophy1: phy2@0 {
status = "okay"; status = "okay";
}; };
usb2_picophy2: phy3 { usb2_picophy2: phy3@0 {
status = "okay"; status = "okay";
}; };
......
...@@ -16,8 +16,9 @@ aliases { ...@@ -16,8 +16,9 @@ aliases {
}; };
soc { soc {
usb2_picophy1: phy2 { usb2_picophy1: phy2@0 {
compatible = "st,stih407-usb2-phy"; compatible = "st,stih407-usb2-phy";
reg = <0 0>;
#phy-cells = <0>; #phy-cells = <0>;
st,syscfg = <&syscfg_core 0xf8 0xf4>; st,syscfg = <&syscfg_core 0xf8 0xf4>;
resets = <&softreset STIH407_PICOPHY_SOFTRESET>, resets = <&softreset STIH407_PICOPHY_SOFTRESET>,
...@@ -27,8 +28,9 @@ usb2_picophy1: phy2 { ...@@ -27,8 +28,9 @@ usb2_picophy1: phy2 {
status = "disabled"; status = "disabled";
}; };
usb2_picophy2: phy3 { usb2_picophy2: phy3@0 {
compatible = "st,stih407-usb2-phy"; compatible = "st,stih407-usb2-phy";
reg = <0 0>;
#phy-cells = <0>; #phy-cells = <0>;
st,syscfg = <&syscfg_core 0xfc 0xf4>; st,syscfg = <&syscfg_core 0xfc 0xf4>;
resets = <&softreset STIH407_PICOPHY_SOFTRESET>, resets = <&softreset STIH407_PICOPHY_SOFTRESET>,
......
...@@ -30,8 +30,9 @@ cpu@3 { ...@@ -30,8 +30,9 @@ cpu@3 {
}; };
soc { soc {
usb2_picophy1: phy2 { usb2_picophy1: phy2@0 {
compatible = "st,stih407-usb2-phy"; compatible = "st,stih407-usb2-phy";
reg = <0 0>;
#phy-cells = <0>; #phy-cells = <0>;
st,syscfg = <&syscfg_core 0xf8 0xf4>; st,syscfg = <&syscfg_core 0xf8 0xf4>;
resets = <&softreset STIH407_PICOPHY_SOFTRESET>, resets = <&softreset STIH407_PICOPHY_SOFTRESET>,
...@@ -39,8 +40,9 @@ usb2_picophy1: phy2 { ...@@ -39,8 +40,9 @@ usb2_picophy1: phy2 {
reset-names = "global", "port"; reset-names = "global", "port";
}; };
usb2_picophy2: phy3 { usb2_picophy2: phy3@0 {
compatible = "st,stih407-usb2-phy"; compatible = "st,stih407-usb2-phy";
reg = <0 0>;
#phy-cells = <0>; #phy-cells = <0>;
st,syscfg = <&syscfg_core 0xfc 0xf4>; st,syscfg = <&syscfg_core 0xfc 0xf4>;
resets = <&softreset STIH407_PICOPHY_SOFTRESET>, resets = <&softreset STIH407_PICOPHY_SOFTRESET>,
......
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