Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jonathan Richardson and committed by
Florian Fainelli
7cfdaddc f114040e

+65
+31
Documentation/devicetree/bindings/arm/bcm/cygnus.txt
··· 1 + Broadcom Cygnus device tree bindings 2 + ------------------------------------ 3 + 4 + 5 + Boards with Cygnus SoCs shall have the following properties: 6 + 7 + Required root node property: 8 + 9 + BCM11300 10 + compatible = "brcm,bcm11300", "brcm,cygnus"; 11 + 12 + BCM11320 13 + compatible = "brcm,bcm11320", "brcm,cygnus"; 14 + 15 + BCM11350 16 + compatible = "brcm,bcm11350", "brcm,cygnus"; 17 + 18 + BCM11360 19 + compatible = "brcm,bcm11360", "brcm,cygnus"; 20 + 21 + BCM58300 22 + compatible = "brcm,bcm58300", "brcm,cygnus"; 23 + 24 + BCM58302 25 + compatible = "brcm,bcm58302", "brcm,cygnus"; 26 + 27 + BCM58303 28 + compatible = "brcm,bcm58303", "brcm,cygnus"; 29 + 30 + BCM58305 31 + compatible = "brcm,bcm58305", "brcm,cygnus";
+34
Documentation/devicetree/bindings/clock/bcm-cygnus-clock.txt
··· 1 + Broadcom Cygnus Clocks 2 + 3 + This binding uses the common clock binding: 4 + Documentation/devicetree/bindings/clock/clock-bindings.txt 5 + 6 + Currently various "fixed" clocks are declared for peripheral drivers that use 7 + the common clock framework to reference their core clocks. Proper support of 8 + these clocks will be added later 9 + 10 + Device tree example: 11 + 12 + clocks { 13 + #address-cells = <1>; 14 + #size-cells = <1>; 15 + ranges; 16 + 17 + osc: oscillator { 18 + compatible = "fixed-clock"; 19 + #clock-cells = <1>; 20 + clock-frequency = <25000000>; 21 + }; 22 + 23 + apb_clk: apb_clk { 24 + compatible = "fixed-clock"; 25 + #clock-cells = <0>; 26 + clock-frequency = <1000000000>; 27 + }; 28 + 29 + periph_clk: periph_clk { 30 + compatible = "fixed-clock"; 31 + #clock-cells = <0>; 32 + clock-frequency = <500000000>; 33 + }; 34 + };