Sergej Sawazki | 80eeb1f | 2015-06-28 16:24:55 +0200 | [diff] [blame] | 1 | Binding for simple gpio clock multiplexer. |
| 2 | |
| 3 | This binding uses the common clock binding[1]. |
| 4 | |
| 5 | [1] Documentation/devicetree/bindings/clock/clock-bindings.txt |
| 6 | |
| 7 | Required properties: |
| 8 | - compatible : shall be "gpio-mux-clock". |
| 9 | - clocks: list of two references to parent clocks. |
| 10 | - #clock-cells : from common clock binding; shall be set to 0. |
| 11 | - select-gpios : GPIO reference for selecting the parent clock. |
| 12 | |
| 13 | Example: |
| 14 | clock { |
| 15 | compatible = "gpio-mux-clock"; |
| 16 | clocks = <&parentclk1>, <&parentclk2>; |
| 17 | #clock-cells = <0>; |
| 18 | select-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; |
| 19 | }; |