Commit d009a621 authored by Fugang Duan's avatar Fugang Duan Committed by David S. Miller

ARM: dts: imx: add ethernet stop mode property

- Update the imx6qdl gpr property to define gpr register
  offset and bit in DT.
- Add imx6sx/imx6ul/imx7d ethernet stop mode property.
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarFugang Duan <fugang.duan@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 998ec26b
...@@ -1045,7 +1045,7 @@ fec: ethernet@2188000 { ...@@ -1045,7 +1045,7 @@ fec: ethernet@2188000 {
<&clks IMX6QDL_CLK_ENET>, <&clks IMX6QDL_CLK_ENET>,
<&clks IMX6QDL_CLK_ENET_REF>; <&clks IMX6QDL_CLK_ENET_REF>;
clock-names = "ipg", "ahb", "ptp"; clock-names = "ipg", "ahb", "ptp";
gpr = <&gpr>; fsl,stop-mode = <&gpr 0x34 27>;
status = "disabled"; status = "disabled";
}; };
......
...@@ -930,6 +930,7 @@ fec1: ethernet@2188000 { ...@@ -930,6 +930,7 @@ fec1: ethernet@2188000 {
"enet_clk_ref", "enet_out"; "enet_clk_ref", "enet_out";
fsl,num-tx-queues = <3>; fsl,num-tx-queues = <3>;
fsl,num-rx-queues = <3>; fsl,num-rx-queues = <3>;
fsl,stop-mode = <&gpr 0x10 3>;
status = "disabled"; status = "disabled";
}; };
...@@ -1039,6 +1040,7 @@ fec2: ethernet@21b4000 { ...@@ -1039,6 +1040,7 @@ fec2: ethernet@21b4000 {
<&clks IMX6SX_CLK_ENET_PTP>; <&clks IMX6SX_CLK_ENET_PTP>;
clock-names = "ipg", "ahb", "ptp", clock-names = "ipg", "ahb", "ptp",
"enet_clk_ref", "enet_out"; "enet_clk_ref", "enet_out";
fsl,stop-mode = <&gpr 0x10 4>;
status = "disabled"; status = "disabled";
}; };
......
...@@ -520,6 +520,7 @@ fec2: ethernet@20b4000 { ...@@ -520,6 +520,7 @@ fec2: ethernet@20b4000 {
"enet_clk_ref", "enet_out"; "enet_clk_ref", "enet_out";
fsl,num-tx-queues = <1>; fsl,num-tx-queues = <1>;
fsl,num-rx-queues = <1>; fsl,num-rx-queues = <1>;
fsl,stop-mode = <&gpr 0x10 4>;
status = "disabled"; status = "disabled";
}; };
...@@ -856,6 +857,7 @@ fec1: ethernet@2188000 { ...@@ -856,6 +857,7 @@ fec1: ethernet@2188000 {
"enet_clk_ref", "enet_out"; "enet_clk_ref", "enet_out";
fsl,num-tx-queues = <1>; fsl,num-tx-queues = <1>;
fsl,num-rx-queues = <1>; fsl,num-rx-queues = <1>;
fsl,stop-mode = <&gpr 0x10 3>;
status = "disabled"; status = "disabled";
}; };
......
...@@ -153,6 +153,7 @@ fec2: ethernet@30bf0000 { ...@@ -153,6 +153,7 @@ fec2: ethernet@30bf0000 {
"enet_clk_ref", "enet_out"; "enet_clk_ref", "enet_out";
fsl,num-tx-queues = <3>; fsl,num-tx-queues = <3>;
fsl,num-rx-queues = <3>; fsl,num-rx-queues = <3>;
fsl,stop-mode = <&gpr 0x10 4>;
status = "disabled"; status = "disabled";
}; };
......
...@@ -1190,6 +1190,7 @@ fec1: ethernet@30be0000 { ...@@ -1190,6 +1190,7 @@ fec1: ethernet@30be0000 {
"enet_clk_ref", "enet_out"; "enet_clk_ref", "enet_out";
fsl,num-tx-queues = <3>; fsl,num-tx-queues = <3>;
fsl,num-rx-queues = <3>; fsl,num-rx-queues = <3>;
fsl,stop-mode = <&gpr 0x10 3>;
status = "disabled"; status = "disabled";
}; };
}; };
......
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