|
@@ -111,9 +111,25 @@ static struct platform_device sdhi0_device = {
|
|
|
}
|
|
|
};
|
|
|
|
|
|
+/* Thermal */
|
|
|
+static struct resource thermal_resources[] = {
|
|
|
+ [0] = {
|
|
|
+ .start = 0xFFC48000,
|
|
|
+ .end = 0xFFC48038 - 1,
|
|
|
+ .flags = IORESOURCE_MEM,
|
|
|
+ },
|
|
|
+};
|
|
|
+
|
|
|
+static struct platform_device thermal_device = {
|
|
|
+ .name = "rcar_thermal",
|
|
|
+ .resource = thermal_resources,
|
|
|
+ .num_resources = ARRAY_SIZE(thermal_resources),
|
|
|
+};
|
|
|
+
|
|
|
static struct platform_device *marzen_devices[] __initdata = {
|
|
|
ð_device,
|
|
|
&sdhi0_device,
|
|
|
+ &thermal_device,
|
|
|
};
|
|
|
|
|
|
static void __init marzen_init(void)
|