@@ -49,6 +49,9 @@
i2c8 = &i2c_8;
csis0 = &csis_0;
csis1 = &csis_1;
+ fimc-lite0 = &fimc_lite_0;
+ fimc-lite1 = &fimc_lite_1;
+ fimc-lite2 = &fimc_lite_2;
};
gic:interrupt-controller@10481000 {
@@ -375,4 +378,22 @@
bus-width = <4>;
status = "disabled";
};
+
+ fimc_lite_0: fimc-lite@13C00000 {
+ compatible = "samsung,exynos5250-fimc-lite";
+ reg = <0x13C00000 0x1000>;
+ interrupts = <0 125 0>;
+ };
+
+ fimc_lite_1: fimc-lite@13C10000 {
+ compatible = "samsung,exynos5250-fimc-lite";
+ reg = <0x13C10000 0x1000>;
+ interrupts = <0 126 0>;
+ };
+
+ fimc_lite_2: fimc-lite@13C90000 {
+ compatible = "samsung,exynos5250-fimc-lite";
+ reg = <0x13C90000 0x1000>;
+ interrupts = <0 110 0>;
+ };
};
@@ -859,6 +859,10 @@ static struct clk exynos5_init_clocks_off[] = {
.enable = exynos5_clk_ip_gscl_ctrl,
.ctrlbit = (1 << 3),
}, {
+ .name = "flite",
+ .enable = exynos5_clk_ip_gscl_ctrl,
+ .ctrlbit = (1 << 4),
+ }, {
.name = "csis",
.devname = "s5p-mipi-csis.0",
.enable = exynos5_clk_ip_gscl_ctrl,
@@ -125,6 +125,10 @@
#define EXYNOS4_PA_SYSMMU_MFC_L 0x13620000
#define EXYNOS4_PA_SYSMMU_MFC_R 0x13630000
+#define EXYNOS5_PA_FIMC_LITE0 0x13C00000
+#define EXYNOS5_PA_FIMC_LITE1 0x13C10000
+#define EXYNOS5_PA_FIMC_LITE2 0x13C90000
+
#define EXYNOS5_PA_GSC0 0x13E00000
#define EXYNOS5_PA_GSC1 0x13E10000
#define EXYNOS5_PA_GSC2 0x13E20000
@@ -108,6 +108,12 @@ static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = {
"s5p-mipi-csis.0", NULL),
OF_DEV_AUXDATA("samsung,exynos5250-csis", EXYNOS5_PA_MIPI_CSIS1,
"s5p-mipi-csis.1", NULL),
+ OF_DEV_AUXDATA("samsung,exynos5250-fimc-lite", EXYNOS5_PA_FIMC_LITE0,
+ "exynos5-fimc-lite.0", NULL),
+ OF_DEV_AUXDATA("samsung,exynos5250-fimc-lite", EXYNOS5_PA_FIMC_LITE1,
+ "exynos5-fimc-lite.1", NULL),
+ OF_DEV_AUXDATA("samsung,exynos5250-fimc-lite", EXYNOS5_PA_FIMC_LITE2,
+ "exynos5-fimc-lite.2", NULL),
{},
};
This patch adds necessary source definitions needed for FIMC-LITE driver and adds devicetree node for exynos5250. Signed-off-by: Shaik Ameer Basha <shaik.ameer@samsung.com> --- arch/arm/boot/dts/exynos5250.dtsi | 21 +++++++++++++++++++++ arch/arm/mach-exynos/clock-exynos5.c | 4 ++++ arch/arm/mach-exynos/include/mach/map.h | 4 ++++ arch/arm/mach-exynos/mach-exynos5-dt.c | 6 ++++++ 4 files changed, 35 insertions(+)