49 lines · plain
1Device Tree Clock bindings for arch-moxart2 3This binding uses the common clock binding[1].4 5[1] Documentation/devicetree/bindings/clock/clock-bindings.txt6 7MOXA ART SoCs allow to determine PLL output and APB frequencies8by reading registers holding multiplier and divisor information.9 10 11PLL:12 13Required properties:14- compatible : Must be "moxa,moxart-pll-clock"15- #clock-cells : Should be 016- reg : Should contain registers location and length17- clocks : Should contain phandle + clock-specifier for the parent clock18 19Optional properties:20- clock-output-names : Should contain clock name21 22 23APB:24 25Required properties:26- compatible : Must be "moxa,moxart-apb-clock"27- #clock-cells : Should be 028- reg : Should contain registers location and length29- clocks : Should contain phandle + clock-specifier for the parent clock30 31Optional properties:32- clock-output-names : Should contain clock name33 34 35For example:36 37 clk_pll: clk_pll@98100000 {38 compatible = "moxa,moxart-pll-clock";39 #clock-cells = <0>;40 reg = <0x98100000 0x34>;41 };42 43 clk_apb: clk_apb@98100000 {44 compatible = "moxa,moxart-apb-clock";45 #clock-cells = <0>;46 reg = <0x98100000 0x34>;47 clocks = <&clk_pll>;48 };49