diff options
author | Chenhui Zhao <chenhui.zhao@freescale.com> | 2015-01-23 11:29:06 (GMT) |
---|---|---|
committer | Zhengxiong Jin <Jason.Jin@freescale.com> | 2015-02-05 08:28:52 (GMT) |
commit | ed45606fb6f0737605ee84aee8495bdc76753cdc (patch) | |
tree | d4657a7bddc1f4c7771b08313a85d847c5667f6a /arch/arm/boot/dts | |
parent | 6b65e3958ca5486b49048c86a3f824c603674392 (diff) | |
download | linux-fsl-qoriq-ed45606fb6f0737605ee84aee8495bdc76753cdc.tar.xz |
arm: ls1021a: set wakeup devices dynamically for sleep/deep sleep
If a device works as a wakeup source, it will keep working in the peroid of
sleep/deep sleep. This patch sets the wakeup devices according to the wakeup
attribute of device.
Signed-off-by: Chenhui Zhao <chenhui.zhao@freescale.com>
Change-Id: If49a8ad282115ac415fb03d0197964c5ae10c86d
Reviewed-on: http://git.am.freescale.net:8181/29152
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Dongsheng Wang <dongsheng.wang@freescale.com>
Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/ls1021a.dtsi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 67909b1..4c1c670 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -128,6 +128,7 @@ sdhci,auto-cmd12; big-endian; bus-width = <4>; + sleep = <&rcpm 0x00000080 0x0>; status = "disabled"; }; @@ -391,6 +392,7 @@ interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; clocks = <&sysclk>; clock-names = "ipg"; + sleep = <&rcpm 0x0 0x40000000>; status = "disabled"; }; @@ -447,6 +449,7 @@ #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; + sleep = <&rcpm 0x00000040 0x0>; }; gpio2: gpio@2310000 { @@ -484,6 +487,7 @@ reg = <0x0 0x29d0000 0x0 0x10000>; interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>; big-endian; + sleep = <&rcpm 0x0 0x20000000>; status = "disabled"; }; @@ -606,6 +610,7 @@ fsl,dma-endian-le; fsl,magic-packet; fsl,wake-on-filer; + sleep = <&rcpm 0x80000000 0x0>; fsl,num_rx_queues = <0x1>; fsl,num_tx_queues = <0x1>; local-mac-address = [ 00 00 00 00 00 00 ]; |