diff options
author | Hiroshi Doyu <hdoyu@nvidia.com> | 2013-05-22 18:45:34 +0200 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-05-29 00:13:50 +0200 |
commit | 05849c9381354be4bd4a2a878b5ecb12d375a1a0 (patch) | |
tree | 1a28f998d05a6aa2a191d11879592885b6d12258 /arch/arm/boot/dts/tegra30-cardhu.dtsi | |
parent | ARM: tegra20: convert device tree files to use CLK defines (diff) | |
download | linux-05849c9381354be4bd4a2a878b5ecb12d375a1a0.tar.xz linux-05849c9381354be4bd4a2a878b5ecb12d375a1a0.zip |
ARM: tegra30: convert device tree files to use CLK defines
Use the Tegra30 CAR binding header (tegra30-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 tegra30-car.h moved for consistency]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra30-cardhu.dtsi')
-rw-r--r-- | arch/arm/boot/dts/tegra30-cardhu.dtsi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/tegra30-cardhu.dtsi b/arch/arm/boot/dts/tegra30-cardhu.dtsi index 43f013962d3b..f65b53d32416 100644 --- a/arch/arm/boot/dts/tegra30-cardhu.dtsi +++ b/arch/arm/boot/dts/tegra30-cardhu.dtsi @@ -519,7 +519,9 @@ nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>; - clocks = <&tegra_car 184>, <&tegra_car 185>, <&tegra_car 120>; + clocks = <&tegra_car TEGRA30_CLK_PLL_A>, + <&tegra_car TEGRA30_CLK_PLL_A_OUT0>, + <&tegra_car TEGRA30_CLK_EXTERN1>; clock-names = "pll_a", "pll_a_out0", "mclk"; }; }; |