ARM: dts: Add camera to node exynos4.dtsi
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 24 Oct 2012 15:00:57 +0000 (17:00 +0200)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:42:27 +0000 (11:42 +0900)
This patch adds common FIMC device nodes for all Exynos4 SoCs.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
arch/arm/boot/dts/exynos4.dtsi

index 3b09373..5a3955b 100644 (file)
                i2c5 = &i2c_5;
                i2c6 = &i2c_6;
                i2c7 = &i2c_7;
+               csis0 = &csis_0;
+               csis1 = &csis_1;
+               fimc0 = &fimc_0;
+               fimc1 = &fimc_1;
+               fimc2 = &fimc_2;
+               fimc3 = &fimc_3;
        };
 
        chipid@10000000 {
                arm,tag-latency = <1 1 0>;
        };
 
+       camera {
+               compatible = "samsung,fimc", "simple-bus";
+               status = "disabled";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               fimc_0: fimc@11800000 {
+                       compatible = "samsung,exynos4210-fimc";
+                       reg = <0x11800000 0x1000>;
+                       interrupts = <0 84 0>;
+                       samsung,power-domain = <&pd_cam>;
+                       status = "disabled";
+               };
+
+               fimc_1: fimc@11810000 {
+                       compatible = "samsung,exynos4210-fimc";
+                       reg = <0x11810000 0x1000>;
+                       interrupts = <0 85 0>;
+                       samsung,power-domain = <&pd_cam>;
+                       status = "disabled";
+               };
+
+               fimc_2: fimc@11820000 {
+                       compatible = "samsung,exynos4210-fimc";
+                       reg = <0x11820000 0x1000>;
+                       interrupts = <0 86 0>;
+                       samsung,power-domain = <&pd_cam>;
+                       status = "disabled";
+               };
+
+               fimc_3: fimc@11830000 {
+                       compatible = "samsung,exynos4210-fimc";
+                       reg = <0x11830000 0x1000>;
+                       interrupts = <0 87 0>;
+                       samsung,power-domain = <&pd_cam>;
+                       status = "disabled";
+               };
+
+               csis_0: csis@11880000 {
+                       compatible = "samsung,exynos4210-csis";
+                       reg = <0x11880000 0x4000>;
+                       interrupts = <0 78 0>;
+                       bus-width = <4>;
+                       samsung,power-domain = <&pd_cam>;
+                       status = "disabled";
+               };
+
+               csis_1: csis@11890000 {
+                       compatible = "samsung,exynos4210-csis";
+                       reg = <0x11890000 0x4000>;
+                       interrupts = <0 80 0>;
+                       bus-width = <2>;
+                       samsung,power-domain = <&pd_cam>;
+                       status = "disabled";
+               };
+       };
+
        watchdog@10060000 {
                compatible = "samsung,s3c2410-wdt";
                reg = <0x10060000 0x100>;