diff options
author | Ravindra Lokhande <rlokhande@nvidia.com> | 2011-01-05 13:17:46 +0530 |
---|---|---|
committer | Bharat Nihalani <bnihalani@nvidia.com> | 2011-01-05 04:31:23 -0800 |
commit | 76c6e560ae75f9f29cafb773e392c8f5516fb6f4 (patch) | |
tree | e19f8ff2948b81b254da4d1628c4068dea4b998d /arch/arm/mach-tegra/devices.c | |
parent | 23203c59b1fe80283abd6412e1be89a480a81c4a (diff) |
[ARM] tegra: add resources for das device
Added resources and platform data for das device
Change-Id: I01753276db71c19e141ad33df139a846e6d38455
Reviewed-on: http://git-master/r/14976
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Tested-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/devices.c')
-rw-r--r-- | arch/arm/mach-tegra/devices.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/devices.c b/arch/arm/mach-tegra/devices.c index dac6bbbf0e2c..1bee4e58683b 100644 --- a/arch/arm/mach-tegra/devices.c +++ b/arch/arm/mach-tegra/devices.c @@ -518,6 +518,21 @@ struct platform_device tegra_spdif_device = { .num_resources = ARRAY_SIZE(spdif_resource), }; +static struct resource das_resource[] = { + [0] = { + .start = TEGRA_APB_MISC_BASE, + .end = TEGRA_APB_MISC_BASE + TEGRA_APB_MISC_SIZE - 1, + .flags = IORESOURCE_MEM + } +}; + +struct platform_device tegra_das_device = { + .name = "tegra_das", + .id = -1, + .resource = das_resource, + .num_resources = ARRAY_SIZE(das_resource), +}; + static struct resource tegra_gart_resources[] = { [0] = { .name = "mc", |