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