diff mbox series

[1/5] arch: arm64: imx6ul/sx/qdl: add wakeup support via magic packet

Message ID 20201119095249.25911-2-qiangqing.zhang@nxp.com
State Superseded
Headers show
Series [1/5] arch: arm64: imx6ul/sx/qdl: add wakeup support via magic packet | expand

Commit Message

Joakim Zhang Nov. 19, 2020, 9:52 a.m. UTC
Add wakeup support via magic packet on i.MX platforms.

Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
---
 arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 1 +
 arch/arm/boot/dts/imx6sx-sdb.dtsi        | 2 ++
 arch/arm/boot/dts/imx6ul.dtsi            | 2 ++
 3 files changed, 5 insertions(+)

Comments

Shawn Guo Jan. 5, 2021, 12:33 a.m. UTC | #1
On Thu, Nov 19, 2020 at 05:52:45PM +0800, Joakim Zhang wrote:
> Add wakeup support via magic packet on i.MX platforms.

> 

> Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>


'ARM: dts: imx6: ...' for subject prefix.

Shawn

> ---

>  arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 1 +

>  arch/arm/boot/dts/imx6sx-sdb.dtsi        | 2 ++

>  arch/arm/boot/dts/imx6ul.dtsi            | 2 ++

>  3 files changed, 5 insertions(+)

> 

> diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi

> index afe477f32984..5e58740d40c5 100644

> --- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi

> +++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi

> @@ -298,6 +298,7 @@

>  	interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,

>  			      <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;

>  	fsl,err006687-workaround-present;

> +	fsl,magic-packet;

>  	status = "okay";

>  };

>  

> diff --git a/arch/arm/boot/dts/imx6sx-sdb.dtsi b/arch/arm/boot/dts/imx6sx-sdb.dtsi

> index 1351d7f70a54..c6e85e4a0883 100644

> --- a/arch/arm/boot/dts/imx6sx-sdb.dtsi

> +++ b/arch/arm/boot/dts/imx6sx-sdb.dtsi

> @@ -206,6 +206,7 @@

>  	phy-mode = "rgmii-id";

>  	phy-handle = <&ethphy1>;

>  	phy-reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;

> +	fsl,magic-packet;

>  	status = "okay";

>  

>  	mdio {

> @@ -227,6 +228,7 @@

>  	pinctrl-0 = <&pinctrl_enet2>;

>  	phy-mode = "rgmii-id";

>  	phy-handle = <&ethphy2>;

> +	fsl,magic-packet;

>  	status = "okay";

>  };

>  

> diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi

> index 9d3411cc597b..afeec01f6522 100644

> --- a/arch/arm/boot/dts/imx6ul.dtsi

> +++ b/arch/arm/boot/dts/imx6ul.dtsi

> @@ -538,6 +538,7 @@

>  				fsl,num-tx-queues = <1>;

>  				fsl,num-rx-queues = <1>;

>  				fsl,stop-mode = <&gpr 0x10 4>;

> +				fsl,magic-packet;

>  				status = "disabled";

>  			};

>  

> @@ -885,6 +886,7 @@

>  				fsl,num-tx-queues = <1>;

>  				fsl,num-rx-queues = <1>;

>  				fsl,stop-mode = <&gpr 0x10 3>;

> +				fsl,magic-packet;

>  				status = "disabled";

>  			};

>  

> -- 

> 2.17.1

>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
index afe477f32984..5e58740d40c5 100644
--- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
@@ -298,6 +298,7 @@ 
 	interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
 			      <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
 	fsl,err006687-workaround-present;
+	fsl,magic-packet;
 	status = "okay";
 };
 
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dtsi b/arch/arm/boot/dts/imx6sx-sdb.dtsi
index 1351d7f70a54..c6e85e4a0883 100644
--- a/arch/arm/boot/dts/imx6sx-sdb.dtsi
+++ b/arch/arm/boot/dts/imx6sx-sdb.dtsi
@@ -206,6 +206,7 @@ 
 	phy-mode = "rgmii-id";
 	phy-handle = <&ethphy1>;
 	phy-reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
+	fsl,magic-packet;
 	status = "okay";
 
 	mdio {
@@ -227,6 +228,7 @@ 
 	pinctrl-0 = <&pinctrl_enet2>;
 	phy-mode = "rgmii-id";
 	phy-handle = <&ethphy2>;
+	fsl,magic-packet;
 	status = "okay";
 };
 
diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
index 9d3411cc597b..afeec01f6522 100644
--- a/arch/arm/boot/dts/imx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul.dtsi
@@ -538,6 +538,7 @@ 
 				fsl,num-tx-queues = <1>;
 				fsl,num-rx-queues = <1>;
 				fsl,stop-mode = <&gpr 0x10 4>;
+				fsl,magic-packet;
 				status = "disabled";
 			};
 
@@ -885,6 +886,7 @@ 
 				fsl,num-tx-queues = <1>;
 				fsl,num-rx-queues = <1>;
 				fsl,stop-mode = <&gpr 0x10 3>;
+				fsl,magic-packet;
 				status = "disabled";
 			};