diff options
author | Hiroshi Doyu <hdoyu@nvidia.com> | 2013-05-22 12:45:32 -0400 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-05-28 18:13:50 -0400 |
commit | 885a8cfac681d8fc2005cf48622a6a1e3966974f (patch) | |
tree | abf4a12e5a8a84171a4eea467732b32234192ffc /arch/arm/boot/dts/tegra20-plutux.dts | |
parent | 1a99ece9d0f8588b59a6142d518bd77e27c66932 (diff) |
ARM: tegra20: convert device tree files to use CLK defines
Use the Tegra20 CAR binding header (tegra20-car.h) to replace magic
numbers in the device tree. For example,
- clocks = <&tegra_car 28>;
+ clocks = <&tegra_car CLK_HOST1X>;
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
[swarren, updated since tegra20-car.h moved for consistency]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra20-plutux.dts')
-rw-r--r-- | arch/arm/boot/dts/tegra20-plutux.dts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/tegra20-plutux.dts b/arch/arm/boot/dts/tegra20-plutux.dts index 3374e16257dc..d7a358a6a647 100644 --- a/arch/arm/boot/dts/tegra20-plutux.dts +++ b/arch/arm/boot/dts/tegra20-plutux.dts | |||
@@ -53,7 +53,9 @@ | |||
53 | nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>; | 53 | nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>; |
54 | nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>; | 54 | nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>; |
55 | 55 | ||
56 | clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 94>; | 56 | clocks = <&tegra_car TEGRA20_CLK_PLL_A>, |
57 | <&tegra_car TEGRA20_CLK_PLL_A_OUT0>, | ||
58 | <&tegra_car TEGRA20_CLK_CDEV1>; | ||
57 | clock-names = "pll_a", "pll_a_out0", "mclk"; | 59 | clock-names = "pll_a", "pll_a_out0", "mclk"; |
58 | }; | 60 | }; |
59 | }; | 61 | }; |