Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Binding for the Synopsys HSDK reset controller |
| 2 | |
| 3 | This binding uses the common reset binding[1]. |
| 4 | |
| 5 | [1] Documentation/devicetree/bindings/reset/reset.txt |
| 6 | |
| 7 | Required properties: |
| 8 | - compatible: should be "snps,hsdk-reset". |
| 9 | - reg: should always contain 2 pairs address - length: first for reset |
| 10 | configuration register and second for corresponding SW reset and status bits |
| 11 | register. |
| 12 | - #reset-cells: from common reset binding; Should always be set to 1. |
| 13 | |
| 14 | Example: |
| 15 | reset: reset@880 { |
| 16 | compatible = "snps,hsdk-reset"; |
| 17 | #reset-cells = <1>; |
| 18 | reg = <0x8A0 0x4>, <0xFF0 0x4>; |
| 19 | }; |
| 20 | |
| 21 | Specifying reset lines connected to IP modules: |
| 22 | ethernet@.... { |
| 23 | .... |
| 24 | resets = <&reset HSDK_V1_ETH_RESET>; |
| 25 | .... |
| 26 | }; |
| 27 | |
| 28 | The index could be found in <dt-bindings/reset/snps,hsdk-reset.h> |