ARM: tegra: Add AUXDATA for Tegra20 host1x
authorThierry Reding <thierry.reding@avionic-design.de>
Thu, 15 Nov 2012 21:07:55 +0000 (22:07 +0100)
committerStephen Warren <swarren@nvidia.com>
Thu, 15 Nov 2012 21:46:23 +0000 (14:46 -0700)
Add the OF_DEV_AUXDATA table entries required to associate the proper
names with host1x and its children. In turn, this allows the devices to
find the required clocks.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/board-dt-tegra20.c

index 1198e84677c50c81746e104fc142c6d424b10e74..734d9cc87f2e4ef0daf7b66be2ce5995585bd585 100644 (file)
@@ -94,6 +94,12 @@ struct of_dev_auxdata tegra20_auxdata_lookup[] __initdata = {
        OF_DEV_AUXDATA("nvidia,tegra20-slink", 0x7000D600, "spi_tegra.1", NULL),
        OF_DEV_AUXDATA("nvidia,tegra20-slink", 0x7000D800, "spi_tegra.2", NULL),
        OF_DEV_AUXDATA("nvidia,tegra20-slink", 0x7000DA00, "spi_tegra.3", NULL),
+       OF_DEV_AUXDATA("nvidia,tegra20-host1x", 0x50000000, "host1x", NULL),
+       OF_DEV_AUXDATA("nvidia,tegra20-dc", 0x54200000, "tegradc.0", NULL),
+       OF_DEV_AUXDATA("nvidia,tegra20-dc", 0x54240000, "tegradc.1", NULL),
+       OF_DEV_AUXDATA("nvidia,tegra20-hdmi", 0x54280000, "hdmi", NULL),
+       OF_DEV_AUXDATA("nvidia,tegra20-dsi", 0x54300000, "dsi", NULL),
+       OF_DEV_AUXDATA("nvidia,tegra20-tvo", 0x542c0000, "tvo", NULL),
        {}
 };
 
@@ -118,6 +124,9 @@ static __initdata struct tegra_clk_init_table tegra_dt_clk_init_table[] = {
        { "sbc2",       "pll_p",        100000000,      false },
        { "sbc3",       "pll_p",        100000000,      false },
        { "sbc4",       "pll_p",        100000000,      false },
+       { "host1x",     "pll_c",        150000000,      false },
+       { "disp1",      "pll_p",        600000000,      false },
+       { "disp2",      "pll_p",        600000000,      false },
        { NULL,         NULL,           0,              0},
 };