Patchwork [U-Boot,09/14] tegra114: fdt: add CAR block

login
register
mail settings
Submitter Allen Martin
Date Feb. 13, 2013, 3:23 a.m.
Message ID <1360725802-5518-10-git-send-email-amartin@nvidia.com>
Download mbox | patch
Permalink /patch/220050/
State Superseded
Delegated to: Tom Warren
Headers show

Comments

Allen Martin - Feb. 13, 2013, 3:23 a.m.
Add node for clock and reset controller hardware.

Signed-off-by: Allen Martin <amartin@nvidia.com>
---
 arch/arm/dts/tegra114.dtsi |    6 ++++++
 1 file changed, 6 insertions(+)
Stephen Warren - Feb. 13, 2013, 10:46 p.m.
On 02/12/2013 08:23 PM, Allen Martin wrote:
> Add node for clock and reset controller hardware.

> diff --git a/arch/arm/dts/tegra114.dtsi b/arch/arm/dts/tegra114.dtsi

> +	tegra_car: clock@60006000 {
> +		compatible = "nvidia,tegra114-car", "nvidia,tegra30-car", "nvidia,tegra20-car";

The Tegra114 CAR isn't 100% backwards-compatible with either the Tegra20
nor Tegra30 CAR, so shouldn't include those compatible values.

Patch

diff --git a/arch/arm/dts/tegra114.dtsi b/arch/arm/dts/tegra114.dtsi
index d06cd12..bd969aa 100644
--- a/arch/arm/dts/tegra114.dtsi
+++ b/arch/arm/dts/tegra114.dtsi
@@ -2,4 +2,10 @@ 
 
 / {
 	compatible = "nvidia,tegra114";
+
+	tegra_car: clock@60006000 {
+		compatible = "nvidia,tegra114-car", "nvidia,tegra30-car", "nvidia,tegra20-car";
+		reg = <0x60006000 0x1000>;
+		#clock-cells = <1>;
+	};
 };