}
};
+static struct resource spdif_resource[] = {
+ [0] = {
+ .start = INT_SPDIF,
+ .end = INT_SPDIF,
+ .flags = IORESOURCE_IRQ
+ },
+ [1] = {
+ .start = TEGRA_DMA_REQ_SEL_SPD_I,
+ .end = TEGRA_DMA_REQ_SEL_SPD_I,
+ .flags = IORESOURCE_DMA
+ },
+ [2] = {
+ .start = TEGRA_SPDIF_BASE,
+ .end = TEGRA_SPDIF_BASE + TEGRA_SPDIF_SIZE - 1,
+ .flags = IORESOURCE_MEM
+ }
+};
+
struct platform_device tegra_i2s_device1 = {
.name = "i2s",
.id = 0,
.num_resources = ARRAY_SIZE(i2s_resource2),
};
+struct platform_device tegra_spdif_device = {
+ .name = "spdif_out",
+ .id = -1,
+ .resource = spdif_resource,
+ .num_resources = ARRAY_SIZE(spdif_resource),
+};
+
static struct resource tegra_gart_resources[] = {
[0] = {
.name = "mc",
extern struct platform_device tegra_uart2_device;
extern struct platform_device tegra_uart3_device;
extern struct platform_device tegra_uart4_device;
-
+extern struct platform_device tegra_spdif_device;
#endif