Commit b771ae27 authored by Maxime Coquelin's avatar Maxime Coquelin

ARM: dts: stih410: Enable USB2.0 and related PHY nodes at board level

A board might not expose the USB2.0 ports, so disable them by default in SoC
file, and enable them in b2120 board.
Acked-by: default avatarPatrice Chotard <patrice.chotard@st.com>
Acked-by: default avatarPeter Griffin <peter.griffin@linaro.org>
Signed-off-by: default avatarMaxime Coquelin <maxime.coquelin@st.com>
parent 759742d1
...@@ -35,5 +35,29 @@ mmc0: sdhci@09060000 { ...@@ -35,5 +35,29 @@ mmc0: sdhci@09060000 {
sd-uhs-sdr104; sd-uhs-sdr104;
sd-uhs-ddr50; sd-uhs-ddr50;
}; };
usb2_picophy1: phy2 {
status = "okay";
};
usb2_picophy2: phy3 {
status = "okay";
};
ohci0: usb@9a03c00 {
status = "okay";
};
ehci0: usb@9a03e00 {
status = "okay";
};
ohci1: usb@9a83c00 {
status = "okay";
};
ehci1: usb@9a83e00 {
status = "okay";
};
}; };
}; };
...@@ -22,6 +22,8 @@ usb2_picophy1: phy2 { ...@@ -22,6 +22,8 @@ usb2_picophy1: phy2 {
resets = <&softreset STIH407_PICOPHY_SOFTRESET>, resets = <&softreset STIH407_PICOPHY_SOFTRESET>,
<&picophyreset STIH407_PICOPHY0_RESET>; <&picophyreset STIH407_PICOPHY0_RESET>;
reset-names = "global", "port"; reset-names = "global", "port";
status = "disabled";
}; };
usb2_picophy2: phy3 { usb2_picophy2: phy3 {
...@@ -31,6 +33,8 @@ usb2_picophy2: phy3 { ...@@ -31,6 +33,8 @@ usb2_picophy2: phy3 {
resets = <&softreset STIH407_PICOPHY_SOFTRESET>, resets = <&softreset STIH407_PICOPHY_SOFTRESET>,
<&picophyreset STIH407_PICOPHY1_RESET>; <&picophyreset STIH407_PICOPHY1_RESET>;
reset-names = "global", "port"; reset-names = "global", "port";
status = "disabled";
}; };
ohci0: usb@9a03c00 { ohci0: usb@9a03c00 {
...@@ -43,6 +47,8 @@ ohci0: usb@9a03c00 { ...@@ -43,6 +47,8 @@ ohci0: usb@9a03c00 {
reset-names = "power", "softreset"; reset-names = "power", "softreset";
phys = <&usb2_picophy1>; phys = <&usb2_picophy1>;
phy-names = "usb"; phy-names = "usb";
status = "disabled";
}; };
ehci0: usb@9a03e00 { ehci0: usb@9a03e00 {
...@@ -57,6 +63,8 @@ ehci0: usb@9a03e00 { ...@@ -57,6 +63,8 @@ ehci0: usb@9a03e00 {
reset-names = "power", "softreset"; reset-names = "power", "softreset";
phys = <&usb2_picophy1>; phys = <&usb2_picophy1>;
phy-names = "usb"; phy-names = "usb";
status = "disabled";
}; };
ohci1: usb@9a83c00 { ohci1: usb@9a83c00 {
...@@ -69,6 +77,8 @@ ohci1: usb@9a83c00 { ...@@ -69,6 +77,8 @@ ohci1: usb@9a83c00 {
reset-names = "power", "softreset"; reset-names = "power", "softreset";
phys = <&usb2_picophy2>; phys = <&usb2_picophy2>;
phy-names = "usb"; phy-names = "usb";
status = "disabled";
}; };
ehci1: usb@9a83e00 { ehci1: usb@9a83e00 {
...@@ -83,6 +93,8 @@ ehci1: usb@9a83e00 { ...@@ -83,6 +93,8 @@ ehci1: usb@9a83e00 {
reset-names = "power", "softreset"; reset-names = "power", "softreset";
phys = <&usb2_picophy2>; phys = <&usb2_picophy2>;
phy-names = "usb"; phy-names = "usb";
status = "disabled";
}; };
sti-display-subsystem { sti-display-subsystem {
......
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