aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2019-02-19 12:01:54 -0500
committerStephen Boyd <sboyd@kernel.org>2019-04-25 14:41:09 -0400
commitcc40f6404d28d1de4a09064aeff185a391c51c35 (patch)
tree5439c588bdcbfe7523a706a5494c036ba2b1889d
parent9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff)
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: Rob Herring <robh@kernel.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/clock/at91-clock.txt30
1 files changed, 12 insertions, 18 deletions
diff --git a/Documentation/devicetree/bindings/clock/at91-clock.txt b/Documentation/devicetree/bindings/clock/at91-clock.txt
index e9f70fcdfe80..cb838c1c4bdd 100644
--- a/Documentation/devicetree/bindings/clock/at91-clock.txt
+++ b/Documentation/devicetree/bindings/clock/at91-clock.txt
@@ -8,29 +8,23 @@ Slow Clock controller:
8 8
9Required properties: 9Required properties:
10- compatible : shall be one of the following: 10- compatible : shall be one of the following:
11 "atmel,at91sam9x5-sckc" or 11 "atmel,at91sam9x5-sckc",
12 "atmel,sama5d3-sckc" or
12 "atmel,sama5d4-sckc": 13 "atmel,sama5d4-sckc":
13 at91 SCKC (Slow Clock Controller) 14 at91 SCKC (Slow Clock Controller)
14 This node contains the slow clock definitions. 15- #clock-cells : shall be 0.
15 16- clocks : shall be the input parent clock phandle for the clock.
16 "atmel,at91sam9x5-clk-slow-osc":
17 at91 slow oscillator
18
19 "atmel,at91sam9x5-clk-slow-rc-osc":
20 at91 internal slow RC oscillator
21- reg : defines the IO memory reserved for the SCKC.
22- #size-cells : shall be 0 (reg is used to encode clk id).
23- #address-cells : shall be 1 (reg is used to encode clk id).
24 17
18Optional properties:
19- atmel,osc-bypass : boolean property. Set this when a clock signal is directly
20 provided on XIN.
25 21
26For example: 22For example:
27 sckc: sckc@fffffe50 { 23 sckc@fffffe50 {
28 compatible = "atmel,sama5d3-pmc"; 24 compatible = "atmel,at91sam9x5-sckc";
29 reg = <0xfffffe50 0x4> 25 reg = <0xfffffe50 0x4>;
30 #size-cells = <0>; 26 clocks = <&slow_xtal>;
31 #address-cells = <1>; 27 #clock-cells = <0>;
32
33 /* put at91 slow clocks here */
34 }; 28 };
35 29
36Power Management Controller (PMC): 30Power Management Controller (PMC):