]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: dts: am4372/dra7/omap5: Use "syscon-phy-power" instead of "ctrl-module"
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 21 Dec 2015 09:13:21 +0000 (14:43 +0530)
committerTony Lindgren <tony@atomide.com>
Fri, 12 Feb 2016 21:42:51 +0000 (13:42 -0800)
Add "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.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am4372.dtsi
arch/arm/boot/dts/dra7.dtsi
arch/arm/boot/dts/omap5.dtsi

index df955ba4dc6203273ff795cc1492e698764eda0d..38790a32aa14b031e1162487f97f0d0f58923a08 100644 (file)
                        status = "disabled";
                };
 
-               am43xx_control_usb2phy1: control-phy@44e10620 {
-                       compatible = "ti,control-phy-usb2-am437";
-                       reg = <0x44e10620 0x4>;
-                       reg-names = "power";
-               };
-
-               am43xx_control_usb2phy2: control-phy@0x44e10628 {
-                       compatible = "ti,control-phy-usb2-am437";
-                       reg = <0x44e10628 0x4>;
-                       reg-names = "power";
-               };
-
                ocp2scp0: ocp2scp@483a8000 {
                        compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
                        #address-cells = <1>;
                        usb2_phy1: phy@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";
                        usb2_phy2: phy@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";
index 4ea90321d62c53809e888829509ad5b484040db0..3d1426b799c27e8da35673e7c514df12e639ac19 100644 (file)
                        status = "disabled";
                };
 
-               omap_control_sata: control-phy@4a002374 {
-                       compatible = "ti,control-phy-pipe3";
-                       reg = <0x4a002374 0x4>;
-                       reg-names = "power";
-                       clocks = <&sys_clkin1>;
-                       clock-names = "sysclk";
-               };
-
                /* OCP2SCP3 */
                ocp2scp@4a090000 {
                        compatible = "ti,omap-ocp2scp";
                                      <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>;
                        clocks = <&sys_32k_ck>;
                };
 
-               omap_control_usb2phy1: control-phy@4a002300 {
-                       compatible = "ti,control-phy-usb2";
-                       reg = <0x4a002300 0x4>;
-                       reg-names = "power";
-               };
-
-               omap_control_usb3phy1: control-phy@4a002370 {
-                       compatible = "ti,control-phy-pipe3";
-                       reg = <0x4a002370 0x4>;
-                       reg-names = "power";
-               };
-
-               omap_control_usb2phy2: control-phy@0x4a002e74 {
-                       compatible = "ti,control-phy-usb2-dra7";
-                       reg = <0x4a002e74 0x4>;
-                       reg-names = "power";
-               };
-
                /* OCP2SCP1 */
                ocp2scp@4a080000 {
                        compatible = "ti,omap-ocp2scp";
                        usb2_phy1: phy@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",
                                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",
                                      <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>;
index ca3c17fde5a0fb465965de579234efe9fb052e44..b24f37e4003cf131bb38e34519bc27d93913aa4f 100644 (file)
                        hw-caps-temp-alert;
                };
 
-               omap_control_usb2phy: control-phy@4a002300 {
-                       compatible = "ti,control-phy-usb2";
-                       reg = <0x4a002300 0x4>;
-                       reg-names = "power";
-               };
-
-               omap_control_usb3phy: control-phy@4a002370 {
-                       compatible = "ti,control-phy-pipe3";
-                       reg = <0x4a002370 0x4>;
-                       reg-names = "power";
-               };
-
                usb3: omap_dwc3@4a020000 {
                        compatible = "ti,dwc3";
                        ti,hwmods = "usb_otg_ss";
                        usb2_phy: usb2phy@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>;
                                      <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>;
                        #thermal-sensor-cells = <1>;
                };
 
-               omap_control_sata: control-phy@4a002374 {
-                       compatible = "ti,control-phy-pipe3";
-                       reg = <0x4a002374 0x4>;
-                       reg-names = "power";
-                       clocks = <&sys_clkin>;
-                       clock-names = "sysclk";
-               };
-
                /* OCP2SCP3 */
                ocp2scp@4a090000 {
                        compatible = "ti,omap-ocp2scp";
                                      <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>;