[PATCHv9 33/43] ARM: dts: am43xx clock data

Nishanth Menon nm at ti.com
Fri Nov 1 17:16:28 EDT 2013


On 10/25/2013 10:57 AM, Tero Kristo wrote:
[...]
> diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
> index 974d103..1fb3ac2 100644
> --- a/arch/arm/boot/dts/am4372.dtsi
> +++ b/arch/arm/boot/dts/am4372.dtsi
> @@ -67,6 +67,8 @@
>  		ranges;
>  		ti,hwmods = "l3_main";
>  
> +		/include/ "am43xx-clocks.dtsi"
> +
>  		edma: edma at 49000000 {
>  			compatible = "ti,edma3";
>  			ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
> diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi b/arch/arm/boot/dts/am43xx-clocks.dtsi
> new file mode 100644
> index 0000000..1cc5071
> --- /dev/null
> +++ b/arch/arm/boot/dts/am43xx-clocks.dtsi
> @@ -0,0 +1,666 @@
> +/*
> + * Device Tree Source for AM43xx clock data
> + *
> + * Copyright (C) 2013 Texas Instruments, Inc.
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * published by the Free Software Foundation.
> + */
> +scrm: scrm at 44e10000 {
> +	compatible = "ti,scrm";
> +	#address-cells = <1>;
> +	#size-cells = <0>;
> +	reg = <0x44e10000 0x2000>;

here and other dts -> could we keep the scrm, prm, cm devices in
SoC.dtsi? and clocks.dtsi just contains the clock nodes?

[...]

-- 
Regards,
Nishanth Menon



More information about the linux-arm-kernel mailing list