Commit cc40f640 authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Stephen Boyd

dt-bindings: clock: at91: new sckc bindings

Remove the need for child nodes in the sckc binding to be able to remove
dtc warnings and have a more modern binding.

Also document optional properties.

Cc: Rob Herring <robh@kernel.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 9e98c678
...@@ -8,29 +8,23 @@ Slow Clock controller: ...@@ -8,29 +8,23 @@ Slow Clock controller:
Required properties: Required properties:
- compatible : shall be one of the following: - compatible : shall be one of the following:
"atmel,at91sam9x5-sckc" or "atmel,at91sam9x5-sckc",
"atmel,sama5d3-sckc" or
"atmel,sama5d4-sckc": "atmel,sama5d4-sckc":
at91 SCKC (Slow Clock Controller) at91 SCKC (Slow Clock Controller)
This node contains the slow clock definitions. - #clock-cells : shall be 0.
- clocks : shall be the input parent clock phandle for the clock.
"atmel,at91sam9x5-clk-slow-osc":
at91 slow oscillator
"atmel,at91sam9x5-clk-slow-rc-osc":
at91 internal slow RC oscillator
- reg : defines the IO memory reserved for the SCKC.
- #size-cells : shall be 0 (reg is used to encode clk id).
- #address-cells : shall be 1 (reg is used to encode clk id).
Optional properties:
- atmel,osc-bypass : boolean property. Set this when a clock signal is directly
provided on XIN.
For example: For example:
sckc: sckc@fffffe50 { sckc@fffffe50 {
compatible = "atmel,sama5d3-pmc"; compatible = "atmel,at91sam9x5-sckc";
reg = <0xfffffe50 0x4> reg = <0xfffffe50 0x4>;
#size-cells = <0>; clocks = <&slow_xtal>;
#address-cells = <1>; #clock-cells = <0>;
/* put at91 slow clocks here */
}; };
Power Management Controller (PMC): Power Management Controller (PMC):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment