diff options
Diffstat (limited to 'dts/Bindings/power/reset')
-rw-r--r-- | dts/Bindings/power/reset/axxia-reset.txt | 20 | ||||
-rw-r--r-- | dts/Bindings/power/reset/imx-snvs-poweroff.txt | 23 | ||||
-rw-r--r-- | dts/Bindings/power/reset/msm-poweroff.txt | 17 | ||||
-rw-r--r-- | dts/Bindings/power/reset/qnap-poweroff.txt | 16 | ||||
-rw-r--r-- | dts/Bindings/power/reset/restart-poweroff.txt | 8 | ||||
-rw-r--r-- | dts/Bindings/power/reset/st-reset.txt | 7 |
6 files changed, 88 insertions, 3 deletions
diff --git a/dts/Bindings/power/reset/axxia-reset.txt b/dts/Bindings/power/reset/axxia-reset.txt new file mode 100644 index 0000000000..47e720d249 --- /dev/null +++ b/dts/Bindings/power/reset/axxia-reset.txt @@ -0,0 +1,20 @@ +Axxia Restart Driver + +This driver can do reset of the Axxia SoC. It uses the registers in the syscon +block to initiate a chip reset. + +Required Properties: + -compatible: "lsi,axm55xx-reset" + -syscon: phandle to the syscon node. + +Example: + + syscon: syscon@2010030000 { + compatible = "lsi,axxia-syscon", "syscon"; + reg = <0x20 0x10030000 0 0x2000>; + }; + + reset: reset@2010031000 { + compatible = "lsi,axm55xx-reset"; + syscon = <&syscon>; + }; diff --git a/dts/Bindings/power/reset/imx-snvs-poweroff.txt b/dts/Bindings/power/reset/imx-snvs-poweroff.txt new file mode 100644 index 0000000000..dc7c9bad63 --- /dev/null +++ b/dts/Bindings/power/reset/imx-snvs-poweroff.txt @@ -0,0 +1,23 @@ +i.mx6 Poweroff Driver + +SNVS_LPCR in SNVS module can power off the whole system by pull +PMIC_ON_REQ low if PMIC_ON_REQ is connected with external PMIC. +If you don't want to use PMIC_ON_REQ as power on/off control, +please set status='disabled' to disable this driver. + +Required Properties: +-compatible: "fsl,sec-v4.0-poweroff" +-reg: Specifies the physical address of the SNVS_LPCR register + +Example: + snvs@020cc000 { + compatible = "fsl,sec-v4.0-mon", "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x020cc000 0x4000>; + ..... + snvs_poweroff: snvs-poweroff@38 { + compatible = "fsl,sec-v4.0-poweroff"; + reg = <0x38 0x4>; + }; + } diff --git a/dts/Bindings/power/reset/msm-poweroff.txt b/dts/Bindings/power/reset/msm-poweroff.txt new file mode 100644 index 0000000000..ce44ad3575 --- /dev/null +++ b/dts/Bindings/power/reset/msm-poweroff.txt @@ -0,0 +1,17 @@ +MSM Restart Driver + +A power supply hold (ps-hold) bit is set to power the msm chipsets. +Clearing that bit allows us to restart/poweroff. The difference +between poweroff and restart is determined by unique power manager IC +settings. + +Required Properties: +-compatible: "qcom,pshold" +-reg: Specifies the physical address of the ps-hold register + +Example: + + restart@fc4ab000 { + compatible = "qcom,pshold"; + reg = <0xfc4ab000 0x4>; + }; diff --git a/dts/Bindings/power/reset/qnap-poweroff.txt b/dts/Bindings/power/reset/qnap-poweroff.txt new file mode 100644 index 0000000000..af25e77c0e --- /dev/null +++ b/dts/Bindings/power/reset/qnap-poweroff.txt @@ -0,0 +1,16 @@ +* 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 character '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. + +Synology NAS devices use a similar scheme, but a different baud rate, +9600, and a different character, '1'. + +Required Properties: +- compatible: Should be "qnap,power-off" or "synology,power-off" + +- reg: Address and length of the register set for UART1 +- clocks: tclk clock diff --git a/dts/Bindings/power/reset/restart-poweroff.txt b/dts/Bindings/power/reset/restart-poweroff.txt new file mode 100644 index 0000000000..5776e684af --- /dev/null +++ b/dts/Bindings/power/reset/restart-poweroff.txt @@ -0,0 +1,8 @@ +* Restart Power Off + +Buffalo Linkstation LS-XHL and LS-CHLv2, and other devices power off +by restarting and letting u-boot keep hold of the machine until the +user presses a button. + +Required Properties: +- compatible: Should be "restart-poweroff" diff --git a/dts/Bindings/power/reset/st-reset.txt b/dts/Bindings/power/reset/st-reset.txt index 809af54f02..83734dc3a3 100644 --- a/dts/Bindings/power/reset/st-reset.txt +++ b/dts/Bindings/power/reset/st-reset.txt @@ -1,11 +1,12 @@ *Device-Tree bindings for ST SW reset functionality Required properties: -- compatible: should be "st,<chip>-restart". +- compatible: should be "stih407-restart". - st,syscfg: should be a phandle of the syscfg node. Example node: restart { - compatible = "st,stih416-restart"; - st,syscfg = <&syscfg_sbc>; + compatible = "st,stih407-restart"; + st,syscfg = <&syscfg_sbc_reg>; + status = "okay"; }; |