]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: dts: imx: add ethernet stop mode property
authorFugang Duan <fugang.duan@nxp.com>
Mon, 25 May 2020 16:27:12 +0000 (00:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2020 03:21:43 +0000 (20:21 -0700)
- Update the imx6qdl gpr property to define gpr register
  offset and bit in DT.
- Add imx6sx/imx6ul/imx7d ethernet stop mode property.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/boot/dts/imx6qdl.dtsi
arch/arm/boot/dts/imx6sx.dtsi
arch/arm/boot/dts/imx6ul.dtsi
arch/arm/boot/dts/imx7d.dtsi
arch/arm/boot/dts/imx7s.dtsi

index 98da446aa0f27ceb994264f684004d2cc39bcaef..48f50161ea219bb589b65660eb37adf3d058e01a 100644 (file)
                                         <&clks IMX6QDL_CLK_ENET>,
                                         <&clks IMX6QDL_CLK_ENET_REF>;
                                clock-names = "ipg", "ahb", "ptp";
-                               gpr = <&gpr>;
+                               fsl,stop-mode = <&gpr 0x34 27>;
                                status = "disabled";
                        };
 
index d6f831731460a49e7fabccc7c3157b23c7563d04..09f21aaee936f531513f257b9a998e6354a6e2ac 100644 (file)
                                              "enet_clk_ref", "enet_out";
                                fsl,num-tx-queues = <3>;
                                fsl,num-rx-queues = <3>;
+                               fsl,stop-mode = <&gpr 0x10 3>;
                                status = "disabled";
                        };
 
                                         <&clks IMX6SX_CLK_ENET_PTP>;
                                clock-names = "ipg", "ahb", "ptp",
                                              "enet_clk_ref", "enet_out";
+                               fsl,stop-mode = <&gpr 0x10 4>;
                                status = "disabled";
                        };
 
index 2ccf67c4ac1aae6e920f66d09b1d241b0bc727a2..345ae9b0db3713e3cd4401d54f360d9684192f0b 100644 (file)
                                              "enet_clk_ref", "enet_out";
                                fsl,num-tx-queues = <1>;
                                fsl,num-rx-queues = <1>;
+                               fsl,stop-mode = <&gpr 0x10 4>;
                                status = "disabled";
                        };
 
                                              "enet_clk_ref", "enet_out";
                                fsl,num-tx-queues = <1>;
                                fsl,num-rx-queues = <1>;
+                               fsl,stop-mode = <&gpr 0x10 3>;
                                status = "disabled";
                        };
 
index 4c22828df55f31522b2708e7aa353312857215ab..cff875b80b60e241c3b2974bcaa8d5b3225dd217 100644 (file)
                        "enet_clk_ref", "enet_out";
                fsl,num-tx-queues = <3>;
                fsl,num-rx-queues = <3>;
+               fsl,stop-mode = <&gpr 0x10 4>;
                status = "disabled";
        };
 
index 76e3ffbbbfbf12ec61fae0e5935cdc0379f1ddd3..5bf0b39fa99b75367083f4673ec0d13721231dd8 100644 (file)
                                        "enet_clk_ref", "enet_out";
                                fsl,num-tx-queues = <3>;
                                fsl,num-rx-queues = <3>;
+                               fsl,stop-mode = <&gpr 0x10 3>;
                                status = "disabled";
                        };
                };