[PATCH v4 1/8] ARM: dts: Declare clocks as fixed on bcm11351
Christian Daudt
bcm at fixthebug.org
Tue Dec 10 02:18:56 EST 2013
Applied to armsoc/for-3.14/dt
thanks,
csd
On Thu, Dec 5, 2013 at 11:20 AM, Tim Kryger <tim.kryger at linaro.org> wrote:
> Declare clocks that are enabled and configured by bootloaders as fixed
> rate clocks in the DTS such that device drivers may use standard clock
> function calls.
>
> Signed-off-by: Tim Kryger <tim.kryger at linaro.org>
> Reviewed-by: Markus Mayer <markus.mayer at linaro.org>
> Reviewed-by: Matt Porter <matt.porter at linaro.org>
> ---
> arch/arm/boot/dts/bcm11351.dtsi | 97 +++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 97 insertions(+)
>
> diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi
> index b0c0610..eca6fbc 100644
> --- a/arch/arm/boot/dts/bcm11351.dtsi
> +++ b/arch/arm/boot/dts/bcm11351.dtsi
> @@ -142,4 +142,101 @@
> status = "disabled";
> };
>
> + clocks {
> + bsc1_clk: bsc1 {
> + compatible = "fixed-clock";
> + clock-frequency = <13000000>;
> + #clock-cells = <0>;
> + };
> +
> + bsc2_clk: bsc2 {
> + compatible = "fixed-clock";
> + clock-frequency = <13000000>;
> + #clock-cells = <0>;
> + };
> +
> + bsc3_clk: bsc3 {
> + compatible = "fixed-clock";
> + clock-frequency = <13000000>;
> + #clock-cells = <0>;
> + };
> +
> + pmu_bsc_clk: pmu_bsc {
> + compatible = "fixed-clock";
> + clock-frequency = <13000000>;
> + #clock-cells = <0>;
> + };
> +
> + hub_timer_clk: hub_timer {
> + compatible = "fixed-clock";
> + clock-frequency = <32768>;
> + #clock-cells = <0>;
> + };
> +
> + pwm_clk: pwm {
> + compatible = "fixed-clock";
> + clock-frequency = <26000000>;
> + #clock-cells = <0>;
> + };
> +
> + sdio1_clk: sdio1 {
> + compatible = "fixed-clock";
> + clock-frequency = <48000000>;
> + #clock-cells = <0>;
> + };
> +
> + sdio2_clk: sdio2 {
> + compatible = "fixed-clock";
> + clock-frequency = <48000000>;
> + #clock-cells = <0>;
> + };
> +
> + sdio3_clk: sdio3 {
> + compatible = "fixed-clock";
> + clock-frequency = <48000000>;
> + #clock-cells = <0>;
> + };
> +
> + sdio4_clk: sdio4 {
> + compatible = "fixed-clock";
> + clock-frequency = <48000000>;
> + #clock-cells = <0>;
> + };
> +
> + tmon_1m_clk: tmon_1m {
> + compatible = "fixed-clock";
> + clock-frequency = <1000000>;
> + #clock-cells = <0>;
> + };
> +
> + uartb_clk: uartb {
> + compatible = "fixed-clock";
> + clock-frequency = <13000000>;
> + #clock-cells = <0>;
> + };
> +
> + uartb2_clk: uartb2 {
> + compatible = "fixed-clock";
> + clock-frequency = <13000000>;
> + #clock-cells = <0>;
> + };
> +
> + uartb3_clk: uartb3 {
> + compatible = "fixed-clock";
> + clock-frequency = <13000000>;
> + #clock-cells = <0>;
> + };
> +
> + uartb4_clk: uartb4 {
> + compatible = "fixed-clock";
> + clock-frequency = <13000000>;
> + #clock-cells = <0>;
> + };
> +
> + usb_otg_ahb_clk: usb_otg_ahb {
> + compatible = "fixed-clock";
> + clock-frequency = <52000000>;
> + #clock-cells = <0>;
> + };
> + };
> };
> --
> 1.8.0.1
>
More information about the linux-arm-kernel
mailing list