diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-11-13 00:03:40 -0500 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-11-13 13:42:39 -0500 |
commit | e245f54a06f6aeb025b50eb02c2969fb4e254b46 (patch) | |
tree | 80d0b328e16f137ab0ea3cc86d736efe335441ed /arch/arm/mach-tegra/board-dt-tegra20.c | |
parent | ca3d241cb2974852192bdeb896bf5e2c46463286 (diff) |
ARM: tegra: Add OF_DEV_AUXDATA for sflash driver in board dt
Add OF_DEV_AUXDATA for sflash controller driver for Tegra20
board dt files.
Set the parent clock of sflash controller to PLLP and configure
clock to 20MHz.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-dt-tegra20.c')
-rw-r--r-- | arch/arm/mach-tegra/board-dt-tegra20.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-dt-tegra20.c b/arch/arm/mach-tegra/board-dt-tegra20.c index 22f5a9b564d1..1198e84677c5 100644 --- a/arch/arm/mach-tegra/board-dt-tegra20.c +++ b/arch/arm/mach-tegra/board-dt-tegra20.c | |||
@@ -89,6 +89,7 @@ struct of_dev_auxdata tegra20_auxdata_lookup[] __initdata = { | |||
89 | &tegra_ehci3_pdata), | 89 | &tegra_ehci3_pdata), |
90 | OF_DEV_AUXDATA("nvidia,tegra20-apbdma", TEGRA_APB_DMA_BASE, "tegra-apbdma", NULL), | 90 | OF_DEV_AUXDATA("nvidia,tegra20-apbdma", TEGRA_APB_DMA_BASE, "tegra-apbdma", NULL), |
91 | OF_DEV_AUXDATA("nvidia,tegra20-pwm", TEGRA_PWFM_BASE, "tegra-pwm", NULL), | 91 | OF_DEV_AUXDATA("nvidia,tegra20-pwm", TEGRA_PWFM_BASE, "tegra-pwm", NULL), |
92 | OF_DEV_AUXDATA("nvidia,tegra20-sflash", 0x7000c380, "spi", NULL), | ||
92 | OF_DEV_AUXDATA("nvidia,tegra20-slink", 0x7000D400, "spi_tegra.0", NULL), | 93 | OF_DEV_AUXDATA("nvidia,tegra20-slink", 0x7000D400, "spi_tegra.0", NULL), |
93 | OF_DEV_AUXDATA("nvidia,tegra20-slink", 0x7000D600, "spi_tegra.1", NULL), | 94 | OF_DEV_AUXDATA("nvidia,tegra20-slink", 0x7000D600, "spi_tegra.1", NULL), |
94 | OF_DEV_AUXDATA("nvidia,tegra20-slink", 0x7000D800, "spi_tegra.2", NULL), | 95 | OF_DEV_AUXDATA("nvidia,tegra20-slink", 0x7000D800, "spi_tegra.2", NULL), |
@@ -112,6 +113,7 @@ static __initdata struct tegra_clk_init_table tegra_dt_clk_init_table[] = { | |||
112 | { "sdmmc1", "pll_p", 48000000, false}, | 113 | { "sdmmc1", "pll_p", 48000000, false}, |
113 | { "sdmmc3", "pll_p", 48000000, false}, | 114 | { "sdmmc3", "pll_p", 48000000, false}, |
114 | { "sdmmc4", "pll_p", 48000000, false}, | 115 | { "sdmmc4", "pll_p", 48000000, false}, |
116 | { "spi", "pll_p", 20000000, false }, | ||
115 | { "sbc1", "pll_p", 100000000, false }, | 117 | { "sbc1", "pll_p", 100000000, false }, |
116 | { "sbc2", "pll_p", 100000000, false }, | 118 | { "sbc2", "pll_p", 100000000, false }, |
117 | { "sbc3", "pll_p", 100000000, false }, | 119 | { "sbc3", "pll_p", 100000000, false }, |