86xx: mpc8610_hpcd: add wakeup-on-sw9 support
Subsystems (3)
PATCH 2/2 86xx: mpc8610_hpcd: add wakeup-on-sw9 support
On MPC8610HPCD there is a dedicated switch to wake up the board.
The SW9 button is routed to IRQ8, but could be re-routed (via PIXIS) to sreset. Luckily, default is IRQ8.
With 'no_console_suspend' kernel command line argument specified, the board is also able to wakeup upon the serial input.
Signed-off-by Anton Vorontsov <[email protected]>
--- Documentation/powerpc/booting-without-of.txt | 4 ++ arch/powerpc/boot/dts/mpc8610_hpcd.dts | 2 + arch/powerpc/platforms/86xx/mpc8610_hpcd.c | 45 +++++++++++++++++++++++-- 3 files changed, 47 insertions(+), 4 deletions(-)
Documentation/powerpc/booting-without-of.txt +4 -0
@@ -2896,11 +2896,15 @@ platforms are moved over to use the flattened-device-tree model. - compatible : should be "fsl,fpga-pixis". - reg : should contain the address and the lenght of the FPPGA register set. + - interrupt-parent: the phandle for the interrupt controller. + - interrupts : should specify event IRQ. Example (MPC8610HPCD) board-control@e8000000 { compatible = "fsl,fpga-pixis"; reg = <0xe8000000 32>; + interrupt-parent = <&mpic>; + interrupts = <8 8>; }; t) Freescale MSI interrupt controller
arch/powerpc/boot/dts/mpc8610_hpcd.dts +2 -0
@@ -105,6 +105,8 @@ compatible = "fsl,fpga-pixis"; ranges = <0 3 0 0x20>; reg = <3 0 0x20>; + interrupt-parent = <&mpic>; + interrupts = <8 8>; sdcsr_pio: gpio-controller@a { #gpio-cells = <2>;
arch/powerpc/platforms/86xx/mpc8610_hpcd.c +41 -4
86 lines not on this page · raw message
Signature · 1 line
1.5.5.1