qnap-poweroff.txt 617 B

1234567891011121314151617
  1. * QNAP Power Off
  2. QNAP NAS devices have a microcontroller controlling the main power
  3. supply. This microcontroller is connected to UART1 of the Kirkwood and
  4. Orion5x SoCs. Sending the character 'A', at 19200 baud, tells the
  5. microcontroller to turn the power off. This driver adds a handler to
  6. pm_power_off which is called to turn the power off.
  7. Synology NAS devices use a similar scheme, but a different baud rate,
  8. 9600, and a different character, '1'.
  9. Required Properties:
  10. - compatible: Should be "qnap,power-off" or "synology,power-off"
  11. - reg: Address and length of the register set for UART1
  12. - clocks: tclk clock