12c74b539SEric AnholtBroadcom BCM2835 CPRMAN clocks 22c74b539SEric Anholt 32c74b539SEric AnholtThis binding uses the common clock binding: 42c74b539SEric Anholt Documentation/devicetree/bindings/clock/clock-bindings.txt 52c74b539SEric Anholt 62c74b539SEric AnholtThe CPRMAN clock controller generates clocks in the audio power domain 72c74b539SEric Anholtof the BCM2835. There is a level of PLLs deriving from an external 82c74b539SEric Anholtoscillator, a level of PLL dividers that produce channels off of the 92c74b539SEric Anholtfew PLLs, and a level of mostly-generic clock generators sourcing from 102c74b539SEric Anholtthe PLL channels. Most other hardware components source from the 112c74b539SEric Anholtclock generators, but a few (like the ARM or HDMI) will source from 122c74b539SEric Anholtthe PLL dividers directly. 132c74b539SEric Anholt 142c74b539SEric AnholtRequired properties: 152c74b539SEric Anholt- compatible: Should be "brcm,bcm2835-cprman" 162c74b539SEric Anholt- #clock-cells: Should be <1>. The permitted clock-specifier values can be 172c74b539SEric Anholt found in include/dt-bindings/clock/bcm2835.h 182c74b539SEric Anholt- reg: Specifies base physical address and size of the registers 192c74b539SEric Anholt- clocks: The external oscillator clock phandle 202c74b539SEric Anholt 212c74b539SEric AnholtExample: 222c74b539SEric Anholt 232c74b539SEric Anholt clk_osc: clock@3 { 242c74b539SEric Anholt compatible = "fixed-clock"; 252c74b539SEric Anholt reg = <3>; 262c74b539SEric Anholt #clock-cells = <0>; 272c74b539SEric Anholt clock-output-names = "osc"; 282c74b539SEric Anholt clock-frequency = <19200000>; 292c74b539SEric Anholt }; 302c74b539SEric Anholt 312c74b539SEric Anholt clocks: cprman@7e101000 { 322c74b539SEric Anholt compatible = "brcm,bcm2835-cprman"; 332c74b539SEric Anholt #clock-cells = <1>; 342c74b539SEric Anholt reg = <0x7e101000 0x2000>; 352c74b539SEric Anholt clocks = <&clk_osc>; 362c74b539SEric Anholt }; 372c74b539SEric Anholt 382c74b539SEric Anholt i2c0: i2c@7e205000 { 392c74b539SEric Anholt compatible = "brcm,bcm2835-i2c"; 402c74b539SEric Anholt reg = <0x7e205000 0x1000>; 412c74b539SEric Anholt interrupts = <2 21>; 422c74b539SEric Anholt clocks = <&clocks BCM2835_CLOCK_VPU>; 432c74b539SEric Anholt #address-cells = <1>; 442c74b539SEric Anholt #size-cells = <0>; 452c74b539SEric Anholt }; 46