samples: drivers: clock_control_litex: clean up DTS snippet in README
Clean up the DTS snippet in the README file to make it more readable. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
5df6aa8efa
commit
d8b4ff5531
@ -21,16 +21,22 @@ Configuration
|
||||
Basic configuration of the driver, including default settings for clock outputs, is held in Device Tree clock control nodes.
|
||||
|
||||
.. literalinclude:: ../../../dts/riscv/riscv32-litex-vexriscv.dtsi
|
||||
:language: dts
|
||||
:start-at: clk0: clock-controller@0 {
|
||||
:end-at: };
|
||||
:dedent:
|
||||
|
||||
.. literalinclude:: ../../../dts/riscv/riscv32-litex-vexriscv.dtsi
|
||||
:language: dts
|
||||
:start-at: clk1: clock-controller@1 {
|
||||
:end-at: };
|
||||
:dedent:
|
||||
|
||||
.. literalinclude:: ../../../dts/riscv/riscv32-litex-vexriscv.dtsi
|
||||
:language: dts
|
||||
:start-at: clock0: clock@e0004800 {
|
||||
:end-at: };
|
||||
:dedent:
|
||||
|
||||
This configuration defines 2 clock outputs: ``clk0`` and ``clk1`` with default frequency set to 100MHz, 0 degrees phase offset and 50% duty cycle. Special care should be taken when defining values for FPGA-specific configuration (parameters from ``litex,divclk-divide-min`` to ``litex,vco-margin``).
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user