Diffstat (limited to 'Documentation/devicetree/bindings/power_supply/qnap-poweroff.txt')
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power_supply/qnap-poweroff.txt b/Documentation/devicetree/bindings/power_supply/qnap-poweroff.txt
new file mode 100644
@@ -0,0 +1,13 @@
+* QNAP Power Off
+QNAP NAS devices have a microcontroller controlling the main power
+supply. This microcontroller is connected to UART1 of the Kirkwood and
+Orion5x SoCs. Sending the charactor 'A', at 19200 baud, tells the
+microcontroller to turn the power off. This driver adds a handler to
+pm_power_off which is called to turn the power off.
+- compatible: Should be "qnap,power-off"
+- reg: Address and length of the register set for UART1
+- clocks: tclk clock