Path: blob/main/sys/contrib/device-tree/Bindings/clock/altr_socfpga.txt
48378 views
Device Tree Clock bindings for Altera's SoCFPGA platform12This binding uses the common clock binding[1].34[1] Documentation/devicetree/bindings/clock/clock-bindings.txt56Required properties:7- compatible : shall be one of the following:8"altr,socfpga-pll-clock" - for a PLL clock9"altr,socfpga-perip-clock" - The peripheral clock divided from the10PLL clock.11"altr,socfpga-gate-clk" - Clocks that directly feed peripherals and12can get gated.1314- reg : shall be the control register offset from CLOCK_MANAGER's base for the clock.15- clocks : shall be the input parent clock phandle for the clock. This is16either an oscillator or a pll output.17- #clock-cells : from common clock binding, shall be set to 0.1819Optional properties:20- fixed-divider : If clocks have a fixed divider value, use this property.21- clk-gate : For "socfpga-gate-clk", clk-gate contains the gating register22and the bit index.23- div-reg : For "socfpga-gate-clk" and "socfpga-periph-clock", div-reg contains24the divider register, bit shift, and width.25- clk-phase : For the sdmmc_clk, contains the value of the clock phase that controls26the SDMMC CIU clock. The first value is the clk_sample(smpsel), and the second27value is the cclk_in_drv(drvsel). The clk-phase is used to enable the correct28hold/delay times that is needed for the SD/MMC CIU clock. The values of both29can be 0-315 degrees, in 45 degree increments.303132