ARM: dts: use syscon property instead of ctrl-module
v2 cover ARM: dts: use syscon property instead of ctrl-module
This series is basically to deprecate using ctrl-module property and use corresponding syscon properties to program the control module registers.
Changes from v1:
*) Squashed the patches that replaces "ctrl-module" with
"syscon-phy-power"
*) Added "syscon-phy-power" for SATA dt node in OMAP5 which was missed
earlier
*) removed _ARM: dts: omap4: Use "syscon-otghs" instead of "ctrl-module"
in USB node_. It will be done later.
Changes from [1] in PHY patches include
*) cleanup ti_pipe3_probe
*) have mask, power_on and power_off values in usb_phy_data for
omap-usb2 phy
This series should be merged only after [2]
Did basic enumeration testing to make sure the patch series doesn't cause any regressions.
[1] -> https://lkml.org/lkml/2015/6/23/189
[2] -> https://www.mail-archive.com/linux-kernel at vger.kernel.org/msg973939.html
Kishon Vijay Abraham I (4):
ARM: dts: dra7: Add dt node for the sycon pcie
ARM: dts: dra7: Use "syscon-phy-power" and "syscon-pcs" in PCIe PHY
node
ARM: dts: dra7: Use "ti,dra7x-usb2-phy2" compatible string for USB2
PHY2
ARM: dts: <am4372/dra7/omap5>: Use "syscon-phy-power" instead of
"ctrl-module"
arch/arm/boot/dts/am4372.dtsi | 16 ++-------- arch/arm/boot/dts/dra7.dtsi | 69 ++++++++++------------------------------- arch/arm/boot/dts/omap5.dtsi | 26 ++-------------- 3 files changed, 22 insertions(+), 89 deletions(-)
Signature · 1 line
1.7.9.5
PATCH v2 1/4 ARM: dts: dra7: Add dt node for the sycon pcie
Add new device tree node for the control module register space where PCIe registers are present.
--- arch/arm/boot/dts/dra7.dtsi | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/boot/dts/dra7.dtsi +5 -0
@@ -154,6 +154,11 @@ compatible = "syscon"; reg = <0x1c04 0x0020>; }; + + scm_conf_pcie: tisyscon at 1c24 { + compatible = "syscon"; + reg = <0x1c24 0x0024>; + }; }; cm_core_aon: cm_core_aon at 5000 {
Signature · 1 line
1.7.9.5
Re: [PATCH v2 1/4] ARM: dts: dra7: Add dt node for the sycon pcie
Quoted 14 lines · Kishon Vijay Abraham I
Add new device tree node for the control module register space where PCIe registers are present.
Signed-off-by Kishon Vijay Abraham I <[email protected]>--- arch/arm/boot/dts/dra7.dtsi | 5 +++++ 1 file changed, 5 insertions(+)arch/arm/boot/dts/dra7.dtsi +0
-0@@ -154,6 +154,11 @@ compatible = "syscon";
arch/arm/boot/dts/dra7.dtsi line 164
Quoted 10 lines
arch/arm/boot/dts/dra7.dtsi +5
-0reg = <0x1c04 0x0020>; }; + + scm_conf_pcie: tisyscon at 1c24 { + compatible = "syscon"; + reg = <0x1c24 0x0024>; + }; }; cm_core_aon: cm_core_aon at 5000 {
Why don't you just extend the existing scm_conf1 area? This is not all pcie specific for scm_conf_pcie, at least for PLLEN_CONTROL, RMII_CLK_SETTING and MUXSEL_32K_CLKIN.
Regards,
Tony
Re: [PATCH v2 1/4] ARM: dts: dra7: Add dt node for the sycon pcie
Hi Tony,
Quoted 24 lines · Tony Lindgren
Quoted 23 lines · Kishon Vijay Abraham I
Add new device tree node for the control module register space where PCIe registers are present.
Signed-off-by Kishon Vijay Abraham I <[email protected]>--- arch/arm/boot/dts/dra7.dtsi | 5 +++++ 1 file changed, 5 insertions(+)arch/arm/boot/dts/dra7.dtsi +5
-0@@ -154,6 +154,11 @@ compatible = "syscon"; reg = <0x1c04 0x0020>; }; + + scm_conf_pcie: tisyscon at 1c24 { + compatible = "syscon"; + reg = <0x1c24 0x0024>; + }; };
Quoted 6 lines
arch/arm/boot/dts/dra7.dtsi line 164
Quoted 1 line
arch/arm/boot/dts/dra7.dtsi +0
-0cm_core_aon: cm_core_aon at 5000 {Why don't you just extend the existing
scm_conf1area? This is not all pcie specific forscm_conf_pcie, at least forPLLEN_CONTROL,RMII_CLK_SETTINGandMUXSEL_32K_CLKIN.
scm_conf_pcie has only PCIe registers (it starts at 0x4A003C24). PLLEN_CONTROL and others are at 0x4A003C14 as per DRA75x_DRA74x_SR1.1_NDA_TRM_vW.
Since PCIe itself has a bunch of registers for itself, thought of creating a separate dt node. But I can extend scm_conf1 area.
Thanks
Kishon
Re: [PATCH v2 1/4] ARM: dts: dra7: Add dt node for the sycon pcie
Quoted 34 lines · Kishon Vijay Abraham I
Hi Tony,
Quoted 24 lines · Tony Lindgren
Quoted 23 lines · Kishon Vijay Abraham I
Add new device tree node for the control module register space where PCIe registers are present.
Signed-off-by Kishon Vijay Abraham I <[email protected]>--- arch/arm/boot/dts/dra7.dtsi | 5 +++++ 1 file changed, 5 insertions(+)arch/arm/boot/dts/dra7.dtsi +5
-0@@ -154,6 +154,11 @@ compatible = "syscon"; reg = <0x1c04 0x0020>; }; + + scm_conf_pcie: tisyscon at 1c24 { + compatible = "syscon"; + reg = <0x1c24 0x0024>; + }; };Quoted 6 lines
arch/arm/boot/dts/dra7.dtsi line 164
Quoted 1 line
arch/arm/boot/dts/dra7.dtsi +0
-0cm_core_aon: cm_core_aon at 5000 {Why don't you just extend the existing
scm_conf1area? This is not all pcie specific forscm_conf_pcie, at least forPLLEN_CONTROL,RMII_CLK_SETTINGandMUXSEL_32K_CLKIN.
Quoted 3 lines
scm_conf_pciehas only PCIe registers (it starts at0x4A003C24).PLLEN_CONTROLand others are at0x4A003C14as per DRA75x_DRA74x_SR1.1_NDA_TRM_vW.
Oh sorry I guess I was looking at a wrong address then.
Quoted 2 lines
Since PCIe itself has a bunch of registers for itself, thought of creating a separate dt node. But I can extend
scm_conf1area.
Why not just ioremap them then? Do these need to be shared with some other driver?
Regards,
Tony
Re: [PATCH v2 1/4] ARM: dts: dra7: Add dt node for the sycon pcie
Hi,
Quoted 39 lines · Tony Lindgren
Quoted 34 lines · Kishon Vijay Abraham I
Hi Tony,
Quoted 24 lines · Tony Lindgren
Quoted 23 lines · Kishon Vijay Abraham I
Add new device tree node for the control module register space where PCIe registers are present.
Signed-off-by Kishon Vijay Abraham I <[email protected]>--- arch/arm/boot/dts/dra7.dtsi | 5 +++++ 1 file changed, 5 insertions(+)arch/arm/boot/dts/dra7.dtsi +5
-0@@ -154,6 +154,11 @@ compatible = "syscon"; reg = <0x1c04 0x0020>; }; + + scm_conf_pcie: tisyscon at 1c24 { + compatible = "syscon"; + reg = <0x1c24 0x0024>; + }; };Quoted 6 lines
arch/arm/boot/dts/dra7.dtsi line 164
Quoted 1 line
arch/arm/boot/dts/dra7.dtsi +0
-0cm_core_aon: cm_core_aon at 5000 {Why don't you just extend the existing
scm_conf1area? This is not all pcie specific forscm_conf_pcie, at least forPLLEN_CONTROL,RMII_CLK_SETTINGandMUXSEL_32K_CLKIN.Quoted 3 lines
scm_conf_pciehas only PCIe registers (it starts at0x4A003C24).PLLEN_CONTROLand others are at0x4A003C14as per DRA75x_DRA74x_SR1.1_NDA_TRM_vW.
Quoted 7 lines
Oh sorry I guess I was looking at a wrong address then.
Quoted 2 lines
Since PCIe itself has a bunch of registers for itself, thought of creating a separate dt node. But I can extend
scm_conf1area.Why not just ioremap them then? Do these need to be shared with some other driver?
yeah, some are used by PCIe controller driver and some are used by PCIe PHY driver.
Thanks
Kishon
Re: [PATCH v2 1/4] ARM: dts: dra7: Add dt node for the sycon pcie
Quoted 44 lines · Kishon Vijay Abraham I
Hi,
Quoted 41 lines · Tony Lindgren
Quoted 34 lines · Kishon Vijay Abraham I
Hi Tony,
Quoted 24 lines · Tony Lindgren
Quoted 23 lines · Kishon Vijay Abraham I
Add new device tree node for the control module register space where PCIe registers are present.
Signed-off-by Kishon Vijay Abraham I <[email protected]>--- arch/arm/boot/dts/dra7.dtsi | 5 +++++ 1 file changed, 5 insertions(+)arch/arm/boot/dts/dra7.dtsi +5
-0@@ -154,6 +154,11 @@ compatible = "syscon"; reg = <0x1c04 0x0020>; }; + + scm_conf_pcie: tisyscon at 1c24 { + compatible = "syscon"; + reg = <0x1c24 0x0024>; + }; };Quoted 6 lines
arch/arm/boot/dts/dra7.dtsi line 164
Quoted 1 line
arch/arm/boot/dts/dra7.dtsi +0
-0cm_core_aon: cm_core_aon at 5000 {Why don't you just extend the existing
scm_conf1area? This is not all pcie specific forscm_conf_pcie, at least forPLLEN_CONTROL,RMII_CLK_SETTINGandMUXSEL_32K_CLKIN.Quoted 3 lines
scm_conf_pciehas only PCIe registers (it starts at0x4A003C24).PLLEN_CONTROLand others are at0x4A003C14as per DRA75x_DRA74x_SR1.1_NDA_TRM_vW.Oh sorry I guess I was looking at a wrong address then.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
Since PCIe itself has a bunch of registers for itself, thought of creating a separate dt node. But I can extend
scm_conf1area.Why not just ioremap them then? Do these need to be shared with some other driver?
yeah, some are used by PCIe controller driver and some are used by PCIe PHY driver.
OK makes sense to me then.
Thanks,
Tony
Re: [PATCH v2 1/4] ARM: dts: dra7: Add dt node for the sycon pcie
Hi,
Quoted 48 lines · Tony Lindgren
Quoted 47 lines · Kishon Vijay Abraham I
Hi,
Quoted 44 lines · Tony Lindgren
Quoted 34 lines · Kishon Vijay Abraham I
Hi Tony,
Quoted 24 lines · Tony Lindgren
Quoted 23 lines · Kishon Vijay Abraham I
Add new device tree node for the control module register space where PCIe registers are present.
Signed-off-by Kishon Vijay Abraham I <[email protected]>--- arch/arm/boot/dts/dra7.dtsi | 5 +++++ 1 file changed, 5 insertions(+)arch/arm/boot/dts/dra7.dtsi +5
-0@@ -154,6 +154,11 @@ compatible = "syscon"; reg = <0x1c04 0x0020>; }; + + scm_conf_pcie: tisyscon at 1c24 { + compatible = "syscon"; + reg = <0x1c24 0x0024>; + }; };Quoted 6 lines
arch/arm/boot/dts/dra7.dtsi line 164
Quoted 1 line
arch/arm/boot/dts/dra7.dtsi +0
-0cm_core_aon: cm_core_aon at 5000 {Why don't you just extend the existing
scm_conf1area? This is not all pcie specific forscm_conf_pcie, at least forPLLEN_CONTROL,RMII_CLK_SETTINGandMUXSEL_32K_CLKIN.Quoted 3 lines
scm_conf_pciehas only PCIe registers (it starts at0x4A003C24).PLLEN_CONTROLand others are at0x4A003C14as per DRA75x_DRA74x_SR1.1_NDA_TRM_vW.Oh sorry I guess I was looking at a wrong address then.
Quoted 2 lines
Since PCIe itself has a bunch of registers for itself, thought of creating a separate dt node. But I can extend
scm_conf1area.
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
Why not just ioremap them then? Do these need to be shared with some other driver?
yeah, some are used by PCIe controller driver and some are used by PCIe PHY driver.
OK makes sense to me then.
Cool.
Btw the driver modifications has not yet been merged, so don't merge these yet. I'll repost these once the driver is merged.
Thanks
Kishon
Re: [PATCH v2 1/4] ARM: dts: dra7: Add dt node for the sycon pcie
Quoted 57 lines · Kishon Vijay Abraham I
Hi,
Quoted 54 lines · Tony Lindgren
Quoted 52 lines · Kishon Vijay Abraham I
Hi,
Quoted 39 lines · Tony Lindgren
Quoted 34 lines · Kishon Vijay Abraham I
Hi Tony,
Quoted 24 lines · Tony Lindgren
Quoted 23 lines · Kishon Vijay Abraham I
Add new device tree node for the control module register space where PCIe registers are present.
Signed-off-by Kishon Vijay Abraham I <[email protected]>--- arch/arm/boot/dts/dra7.dtsi | 5 +++++ 1 file changed, 5 insertions(+)arch/arm/boot/dts/dra7.dtsi +5
-0@@ -154,6 +154,11 @@ compatible = "syscon"; reg = <0x1c04 0x0020>; }; + + scm_conf_pcie: tisyscon at 1c24 { + compatible = "syscon"; + reg = <0x1c24 0x0024>; + }; };Quoted 6 lines
arch/arm/boot/dts/dra7.dtsi line 164
Quoted 1 line
arch/arm/boot/dts/dra7.dtsi +0
-0cm_core_aon: cm_core_aon at 5000 {Why don't you just extend the existing
scm_conf1area? This is not all pcie specific forscm_conf_pcie, at least forPLLEN_CONTROL,RMII_CLK_SETTINGandMUXSEL_32K_CLKIN.Quoted 3 lines
scm_conf_pciehas only PCIe registers (it starts at0x4A003C24).PLLEN_CONTROLand others are at0x4A003C14as per DRA75x_DRA74x_SR1.1_NDA_TRM_vW.Quoted 7 lines
Oh sorry I guess I was looking at a wrong address then.
Quoted 2 lines
Since PCIe itself has a bunch of registers for itself, thought of creating a separate dt node. But I can extend
scm_conf1area.Why not just ioremap them then? Do these need to be shared with some other driver?
yeah, some are used by PCIe controller driver and some are used by PCIe PHY driver.
Quoted 6 lines
Quoted 1 line
OK makes sense to me then.
Cool.
Btw the driver modifications has not yet been merged, so don't merge these yet. I'll repost these once the driver is merged.
OK thanks.
Tony
PATCH v2 2/4 ARM: dts: dra7: Use "syscon-phy-power" and "syscon-pcs" in PCIe PHY node
In reply to Kishon Vijay Abraham IAdd "syscon-phy-power" property and "syscon-pcs" property which can be used to perform the control module initializations and remove the deprecated "ctrl-module" property from PCIe PHY dt nodes.
Phandle to "sysclk" clock node is also added to the PCIe PHY node since some of the syscon initializations is based on system clock frequency.
Since "omap_control_pcie1phy" and "omap_control_pcie2phy" devicetree nodes are no longer used, remove it.
--- arch/arm/boot/dts/dra7.dtsi | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-)
arch/arm/boot/dts/dra7.dtsi +7 -21
@@ -1158,16 +1158,18 @@ reg = <0x4a094000 0x80>, /* phy_rx */ <0x4a094400 0x64>; /* phy_tx */ reg-names = "phy_rx", "phy_tx"; - ctrl-module = <&omap_control_pcie1phy>; + syscon-phy-power = <&scm_conf_pcie 0x1c>; + syscon-pcs = <&scm_conf_pcie 0x10>; clocks = <&dpll_pcie_ref_ck>, <&dpll_pcie_ref_m2ldo_ck>, <&optfclk_pciephy1_32khz>, <&optfclk_pciephy1_clk>, <&optfclk_pciephy1_div_clk>, - <&optfclk_pciephy_div>; + <&optfclk_pciephy_div>, + <&sys_clkin1>; clock-names = "dpll_ref", "dpll_ref_m2", "wkupclk", "refclk", - "div-clk", "phy-div"; + "div-clk", "phy-div", "sysclk"; #phy-cells = <0>; };
@@ -1176,7 +1178,8 @@ reg = <0x4a095000 0x80>, /* phy_rx */ <0x4a095400 0x64>; /* phy_tx */ reg-names = "phy_rx", "phy_tx"; - ctrl-module = <&omap_control_pcie2phy>; + syscon-phy-power = <&scm_conf_pcie 0x20>; + syscon-pcs = <&scm_conf_pcie 0x10>; clocks = <&dpll_pcie_ref_ck>, <&dpll_pcie_ref_m2ldo_ck>, <&optfclk_pciephy2_32khz>,
@@ -1201,23 +1204,6 @@ ti,hwmods = "sata"; }; - omap_control_pcie1phy: control-phy at 0x4a003c40 { - compatible = "ti,control-phy-pcie"; - reg = <0x4a003c40 0x4>, <0x4a003c14 0x4>, <0x4a003c34 0x4>; - reg-names = "power", "control_sma", "pcie_pcs"; - clocks = <&sys_clkin1>; - clock-names = "sysclk"; - }; - - omap_control_pcie2phy: control-pcie at 0x4a003c44 { - compatible = "ti,control-phy-pcie"; - reg = <0x4a003c44 0x4>, <0x4a003c14 0x4>, <0x4a003c34 0x4>; - reg-names = "power", "control_sma", "pcie_pcs"; - clocks = <&sys_clkin1>; - clock-names = "sysclk"; - status = "disabled"; - }; - rtc: rtc at 48838000 { compatible = "ti,am3352-rtc"; reg = <0x48838000 0x100>;
Signature · 1 line
1.7.9.5
PATCH v2 3/4 ARM: dts: dra7: Use "ti,dra7x-usb2-phy2" compatible string for USB2 PHY2
In reply to Kishon Vijay Abraham IThe USB2 PHY2 has a different register map compared to USB2 PHY1 to power on/off the PHY. In order to handle it, use the new compatible string "ti,dra7x-usb2-phy2" for the second instance of USB2 PHY.
--- arch/arm/boot/dts/dra7.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/dra7.dtsi +1 -1
@@ -1252,7 +1252,7 @@ }; usb2_phy2: phy at 4a085000 { - compatible = "ti,omap-usb2"; + compatible = "ti,dra7x-usb2-phy2", "ti,omap-usb2"; reg = <0x4a085000 0x400>; ctrl-module = <&omap_control_usb2phy2>; clocks = <&usb_phy2_always_on_clk32k>,
Signature · 1 line
1.7.9.5
PATCH v2 4/4 ARM: dts: <am4372/dra7/omap5>: Use "syscon-phy-power" instead of "ctrl-module"
In reply to Kishon Vijay Abraham IAdd "syscon-phy-power" property and remove the deprecated "ctrl-module" property from SATA and USB PHY node. Also remove the unused control module dt nodes.
--- arch/arm/boot/dts/am4372.dtsi | 16 ++-------------- arch/arm/boot/dts/dra7.dtsi | 34 ++++------------------------------ arch/arm/boot/dts/omap5.dtsi | 26 +++----------------------- 3 files changed, 9 insertions(+), 67 deletions(-)
arch/arm/boot/dts/am4372.dtsi +2 -14
@@ -852,18 +852,6 @@ status = "disabled"; }; - am43xx_control_usb2phy1: control-phy at 44e10620 { - compatible = "ti,control-phy-usb2-am437"; - reg = <0x44e10620 0x4>; - reg-names = "power"; - }; - - am43xx_control_usb2phy2: control-phy at 0x44e10628 { - compatible = "ti,control-phy-usb2-am437"; - reg = <0x44e10628 0x4>; - reg-names = "power"; - }; - ocp2scp0: ocp2scp at 483a8000 { compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp"; #address-cells = <1>;
@@ -874,7 +862,7 @@ usb2_phy1: phy at 483a8000 { compatible = "ti,am437x-usb2"; reg = <0x483a8000 0x8000>; - ctrl-module = <&am43xx_control_usb2phy1>; + syscon-phy-power = <&scm_conf 0x620>; clocks = <&usb_phy0_always_on_clk32k>, <&usb_otg_ss0_refclk960m>; clock-names = "wkupclk", "refclk";
@@ -893,7 +881,7 @@ usb2_phy2: phy at 483e8000 { compatible = "ti,am437x-usb2"; reg = <0x483e8000 0x8000>; - ctrl-module = <&am43xx_control_usb2phy2>; + syscon-phy-power = <&scm_conf 0x628>; clocks = <&usb_phy1_always_on_clk32k>, <&usb_otg_ss1_refclk960m>; clock-names = "wkupclk", "refclk";
arch/arm/boot/dts/dra7.dtsi +4 -30
@@ -1124,14 +1124,6 @@ status = "disabled"; }; - omap_control_sata: control-phy at 4a002374 { - compatible = "ti,control-phy-pipe3"; - reg = <0x4a002374 0x4>; - reg-names = "power"; - clocks = <&sys_clkin1>; - clock-names = "sysclk"; - }; - /* OCP2SCP3 */ ocp2scp at 4a090000 { compatible = "ti,omap-ocp2scp";
@@ -1146,7 +1138,7 @@ <0x4A096400 0x64>, /* phy_tx */ <0x4A096800 0x40>; /* pll_ctrl */ reg-names = "phy_rx", "phy_tx", "pll_ctrl"; - ctrl-module = <&omap_control_sata>; + syscon-phy-power = <&scm_conf 0x374>; clocks = <&sys_clkin1>, <&sata_ref_clk>; clock-names = "sysclk", "refclk"; syscon-pllreset = <&scm_conf 0x3fc>;
@@ -1213,24 +1205,6 @@ clocks = <&sys_32k_ck>; }; - omap_control_usb2phy1: control-phy at 4a002300 { - compatible = "ti,control-phy-usb2"; - reg = <0x4a002300 0x4>; - reg-names = "power"; - }; - - omap_control_usb3phy1: control-phy at 4a002370 { - compatible = "ti,control-phy-pipe3"; - reg = <0x4a002370 0x4>; - reg-names = "power"; - }; - - omap_control_usb2phy2: control-phy at 0x4a002e74 { - compatible = "ti,control-phy-usb2-dra7"; - reg = <0x4a002e74 0x4>; - reg-names = "power"; - }; - /* OCP2SCP1 */ ocp2scp at 4a080000 { compatible = "ti,omap-ocp2scp";
@@ -1243,7 +1217,7 @@ usb2_phy1: phy at 4a084000 { compatible = "ti,omap-usb2"; reg = <0x4a084000 0x400>; - ctrl-module = <&omap_control_usb2phy1>; + syscon-phy-power = <&scm_conf 0x300>; clocks = <&usb_phy1_always_on_clk32k>, <&usb_otg_ss1_refclk960m>; clock-names = "wkupclk",
@@ -1254,7 +1228,7 @@ usb2_phy2: phy at 4a085000 { compatible = "ti,dra7x-usb2-phy2", "ti,omap-usb2"; reg = <0x4a085000 0x400>; - ctrl-module = <&omap_control_usb2phy2>; + syscon-phy-power = <&scm_conf 0xe74>; clocks = <&usb_phy2_always_on_clk32k>, <&usb_otg_ss2_refclk960m>; clock-names = "wkupclk",
@@ -1268,7 +1242,7 @@ <0x4a084800 0x64>, <0x4a084c00 0x40>; reg-names = "phy_rx", "phy_tx", "pll_ctrl"; - ctrl-module = <&omap_control_usb3phy1>; + syscon-phy-power = <&scm_conf 0x370>; clocks = <&usb_phy3_always_on_clk32k>, <&sys_clkin1>, <&usb_otg_ss1_refclk960m>;
arch/arm/boot/dts/omap5.dtsi +3 -23
@@ -849,18 +849,6 @@ hw-caps-temp-alert; }; - omap_control_usb2phy: control-phy at 4a002300 { - compatible = "ti,control-phy-usb2"; - reg = <0x4a002300 0x4>; - reg-names = "power"; - }; - - omap_control_usb3phy: control-phy at 4a002370 { - compatible = "ti,control-phy-pipe3"; - reg = <0x4a002370 0x4>; - reg-names = "power"; - }; - usb3: omap_dwc3 at 4a020000 { compatible = "ti,dwc3"; ti,hwmods = "usb_otg_ss";
@@ -896,7 +884,7 @@ usb2_phy: usb2phy at 4a084000 { compatible = "ti,omap-usb2"; reg = <0x4a084000 0x7c>; - ctrl-module = <&omap_control_usb2phy>; + syscon-phy-power = <&scm_conf 0x300>; clocks = <&usb_phy_cm_clk32k>, <&usb_otg_ss_refclk960m>; clock-names = "wkupclk", "refclk"; #phy-cells = <0>;
@@ -908,7 +896,7 @@ <0x4a084800 0x64>, <0x4a084c00 0x40>; reg-names = "phy_rx", "phy_tx", "pll_ctrl"; - ctrl-module = <&omap_control_usb3phy>; + syscon-phy-power = <&scm_conf 0x370>; clocks = <&usb_phy_cm_clk32k>, <&sys_clkin>, <&usb_otg_ss_refclk960m>;
@@ -964,14 +952,6 @@ #thermal-sensor-cells = <1>; }; - omap_control_sata: control-phy at 4a002374 { - compatible = "ti,control-phy-pipe3"; - reg = <0x4a002374 0x4>; - reg-names = "power"; - clocks = <&sys_clkin>; - clock-names = "sysclk"; - }; - /* OCP2SCP3 */ ocp2scp at 4a090000 { compatible = "ti,omap-ocp2scp";
@@ -986,7 +966,7 @@ <0x4A096400 0x64>, /* phy_tx */ <0x4A096800 0x40>; /* pll_ctrl */ reg-names = "phy_rx", "phy_tx", "pll_ctrl"; - ctrl-module = <&omap_control_sata>; + syscon-phy-power = <&scm_conf 0x374>; clocks = <&sys_clkin>, <&sata_ref_clk>; clock-names = "sysclk", "refclk"; #phy-cells = <0>;
Signature · 1 line
1.7.9.5