summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/clock/bcm-cygnus-clock.txt
diff options
context:
space:
mode:
authorJonathan Richardson <jonathar@broadcom.com>2014-08-15 13:51:50 -0700
committerFlorian Fainelli <f.fainelli@gmail.com>2014-10-30 11:05:55 -0700
commit7cfdaddc4d1f5e673ded29e659726a8df7f2dd39 (patch)
treecf032faa03840d07b4a3196766464e8ca5cdd087 /Documentation/devicetree/bindings/clock/bcm-cygnus-clock.txt
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
dt-bindings: Document Broadcom Cygnus SoC and clocks
Reviewed-by: Arun Parameswaran <aparames@broadcom.com> Tested-by: Jonathan Richardson <jonathar@broadcom.com> Reviewed-by: JD (Jiandong) Zheng <jdzheng@broadcom.com> Reviewed-by: Ray Jui <rjui@broadcom.com> Signed-off-by: Scott Branden <sbranden@broadcom.com>
Diffstat (limited to 'Documentation/devicetree/bindings/clock/bcm-cygnus-clock.txt')
-rw-r--r--Documentation/devicetree/bindings/clock/bcm-cygnus-clock.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/bcm-cygnus-clock.txt b/Documentation/devicetree/bindings/clock/bcm-cygnus-clock.txt
new file mode 100644
index 000000000000..00d26edec8bc
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/bcm-cygnus-clock.txt
@@ -0,0 +1,34 @@
+Broadcom Cygnus Clocks
+
+This binding uses the common clock binding:
+Documentation/devicetree/bindings/clock/clock-bindings.txt
+
+Currently various "fixed" clocks are declared for peripheral drivers that use
+the common clock framework to reference their core clocks. Proper support of
+these clocks will be added later
+
+Device tree example:
+
+ clocks {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ osc: oscillator {
+ compatible = "fixed-clock";
+ #clock-cells = <1>;
+ clock-frequency = <25000000>;
+ };
+
+ apb_clk: apb_clk {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <1000000000>;
+ };
+
+ periph_clk: periph_clk {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <500000000>;
+ };
+ };