2012-12-28 20:25:09 +08:00
|
|
|
* QNAP Power Off
|
|
|
|
|
|
|
|
QNAP NAS devices have a microcontroller controlling the main power
|
|
|
|
supply. This microcontroller is connected to UART1 of the Kirkwood and
|
2013-04-10 21:33:46 +08:00
|
|
|
Orion5x SoCs. Sending the character 'A', at 19200 baud, tells the
|
2012-12-28 20:25:09 +08:00
|
|
|
microcontroller to turn the power off. This driver adds a handler to
|
|
|
|
pm_power_off which is called to turn the power off.
|
|
|
|
|
2014-02-20 04:02:35 +08:00
|
|
|
Synology NAS devices use a similar scheme, but a different baud rate,
|
|
|
|
9600, and a different character, '1'.
|
|
|
|
|
2012-12-28 20:25:09 +08:00
|
|
|
Required Properties:
|
2014-02-20 04:02:35 +08:00
|
|
|
- compatible: Should be "qnap,power-off" or "synology,power-off"
|
2012-12-28 20:25:09 +08:00
|
|
|
|
|
|
|
- reg: Address and length of the register set for UART1
|
|
|
|
- clocks: tclk clock
|