About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / power_supply / qnap-poweroff.txt


Based on kernel version 4.8. Page generated on 2016-10-06 23:13 EST.

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 character '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	Synology NAS devices use a similar scheme, but a different baud rate,
10	9600, and a different character, '1'.
11	
12	Required Properties:
13	- compatible: Should be "qnap,power-off" or "synology,power-off"
14	
15	- reg: Address and length of the register set for UART1
16	- clocks: tclk clock
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog