gpio-mux-clock.txt 561 B

12345678910111213141516171819
  1. Binding for simple gpio clock multiplexer.
  2. This binding uses the common clock binding[1].
  3. [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
  4. Required properties:
  5. - compatible : shall be "gpio-mux-clock".
  6. - clocks: list of two references to parent clocks.
  7. - #clock-cells : from common clock binding; shall be set to 0.
  8. - select-gpios : GPIO reference for selecting the parent clock.
  9. Example:
  10. clock {
  11. compatible = "gpio-mux-clock";
  12. clocks = <&parentclk1>, <&parentclk2>;
  13. #clock-cells = <0>;
  14. select-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
  15. };