blob: 0045433eae1f81ef4b3263ba18fa0e6ec8c018e6 [file] [log] [blame]
Dinh Nguyen042000b2013-04-11 10:55:25 -05001Device Tree Clock bindings for Altera's SoCFPGA platform
2
3This binding uses the common clock binding[1].
4
5[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
6
7Required properties:
8- compatible : shall be one of the following:
9 "altr,socfpga-pll-clock" - for a PLL clock
10 "altr,socfpga-perip-clock" - The peripheral clock divided from the
11 PLL clock.
Dinh Nguyena92b83a2013-06-05 10:02:54 -050012 "altr,socfpga-gate-clk" - Clocks that directly feed peripherals and
13 can get gated.
14
Dinh Nguyen042000b2013-04-11 10:55:25 -050015- reg : shall be the control register offset from CLOCK_MANAGER's base for the clock.
16- clocks : shall be the input parent clock phandle for the clock. This is
17 either an oscillator or a pll output.
18- #clock-cells : from common clock binding, shall be set to 0.
19
20Optional properties:
21- fixed-divider : If clocks have a fixed divider value, use this property.
Dinh Nguyena92b83a2013-06-05 10:02:54 -050022- clk-gate : For "socfpga-gate-clk", clk-gate contains the gating register
23 and the bit index.
24- div-reg : For "socfpga-gate-clk", div-reg contains the divider register, bit shift,
25 and width.