Commit | Line | Data |
---|---|---|
e8fc721a AL |
1 | * QNAP Power Off |
2 | ||
3 | QNAP NAS devices have a microcontroller controlling the main power | |
4 | supply. This microcontroller is connected to UART1 of the Kirkwood and | |
5 | Orion5x SoCs. Sending the charactor 'A', at 19200 baud, tells the | |
6 | microcontroller to turn the power off. This driver adds a handler to | |
7 | pm_power_off which is called to turn the power off. | |
8 | ||
9 | Required Properties: | |
10 | - compatible: Should be "qnap,power-off" | |
11 | ||
12 | - reg: Address and length of the register set for UART1 | |
13 | - clocks: tclk clock |