1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/reset/st,st 4 $id: http://devicetree.org/schemas/reset/st,stih407-powerdown.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: STMicroelectronics STi family Sysconfig 7 title: STMicroelectronics STi family Sysconfig Peripheral Powerdown Reset Controller 8 8 9 maintainers: 9 maintainers: 10 - Srinivas Kandagatla <srinivas.kandagatla@st 10 - Srinivas Kandagatla <srinivas.kandagatla@st.com> 11 11 12 description: | 12 description: | 13 This binding describes a reset controller de 13 This binding describes a reset controller device that is used to enable and 14 disable on-chip peripheral controllers such 14 disable on-chip peripheral controllers such as USB and SATA, using 15 "powerdown" control bits found in the STi fa 15 "powerdown" control bits found in the STi family SoC system configuration 16 registers. These have been grouped together 16 registers. These have been grouped together into a single reset controller 17 device for convenience. 17 device for convenience. 18 18 19 The actual action taken when powerdown is as 19 The actual action taken when powerdown is asserted is hardware dependent. 20 However, when asserted it may not be possibl 20 However, when asserted it may not be possible to access the hardware's 21 registers and after an assert/deassert seque 21 registers and after an assert/deassert sequence the hardware's previous state 22 may no longer be valid. 22 may no longer be valid. 23 23 24 properties: 24 properties: 25 compatible: 25 compatible: 26 const: st,stih407-powerdown 26 const: st,stih407-powerdown 27 27 28 '#reset-cells': 28 '#reset-cells': 29 const: 1 29 const: 1 30 30 31 required: 31 required: 32 - compatible 32 - compatible 33 - '#reset-cells' 33 - '#reset-cells' 34 34 35 additionalProperties: false 35 additionalProperties: false 36 36 37 examples: 37 examples: 38 - | 38 - | 39 #include <dt-bindings/reset/stih407-resets 39 #include <dt-bindings/reset/stih407-resets.h> 40 40 41 powerdown: powerdown-controller { 41 powerdown: powerdown-controller { 42 compatible = "st,stih407-powerdown"; 42 compatible = "st,stih407-powerdown"; 43 #reset-cells = <1>; 43 #reset-cells = <1>; 44 }; 44 }; 45 45 46 // Specifying powerdown control of devices 46 // Specifying powerdown control of devices: 47 st_dwc3: dwc3 { 47 st_dwc3: dwc3 { 48 resets = <&powerdown STIH407_USB3_POWE 48 resets = <&powerdown STIH407_USB3_POWERDOWN>; 49 }; 49 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.