Commit e030be47 authored by Maciej Purski's avatar Maciej Purski Committed by Krzysztof Kozlowski

ARM: dts: exynos: Use labels instead of full paths in exynos4210

Extend camera, mixer and tmu nodes by labels, not by full path in Exynos
4210 DTSI.  This avoids error-prone redefinition of nodes.
Signed-off-by: default avatarMaciej Purski <m.purski@samsung.com>
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent e5886451
...@@ -195,7 +195,7 @@ dsi_0: dsi@11c80000 { ...@@ -195,7 +195,7 @@ dsi_0: dsi@11c80000 {
#size-cells = <0>; #size-cells = <0>;
}; };
camera { camera: camera {
compatible = "samsung,fimc", "simple-bus"; compatible = "samsung,fimc", "simple-bus";
status = "disabled"; status = "disabled";
#address-cells = <1>; #address-cells = <1>;
...@@ -718,6 +718,10 @@ fimd: fimd@11c00000 { ...@@ -718,6 +718,10 @@ fimd: fimd@11c00000 {
}; };
tmu: tmu@100c0000 { tmu: tmu@100c0000 {
interrupt-parent = <&combiner>;
reg = <0x100C0000 0x100>;
interrupts = <2 4>;
status = "disabled";
#include "exynos4412-tmu-sensor-conf.dtsi" #include "exynos4412-tmu-sensor-conf.dtsi"
}; };
......
...@@ -152,18 +152,6 @@ pinctrl_2: pinctrl@3860000 { ...@@ -152,18 +152,6 @@ pinctrl_2: pinctrl@3860000 {
reg = <0x03860000 0x1000>; reg = <0x03860000 0x1000>;
}; };
tmu: tmu@100c0000 {
compatible = "samsung,exynos4210-tmu";
interrupt-parent = <&combiner>;
reg = <0x100C0000 0x100>;
interrupts = <2 4>;
clocks = <&clock CLK_TMU_APBIF>;
clock-names = "tmu_apbif";
samsung,tmu_gain = <15>;
samsung,tmu_reference_voltage = <7>;
status = "disabled";
};
thermal-zones { thermal-zones {
cpu_thermal: cpu-thermal { cpu_thermal: cpu-thermal {
polling-delay-passive = <0>; polling-delay-passive = <0>;
...@@ -194,45 +182,6 @@ g2d: g2d@12800000 { ...@@ -194,45 +182,6 @@ g2d: g2d@12800000 {
iommus = <&sysmmu_g2d>; iommus = <&sysmmu_g2d>;
}; };
camera {
clocks = <&clock CLK_SCLK_CAM0>, <&clock CLK_SCLK_CAM1>,
<&clock CLK_PIXELASYNCM0>, <&clock CLK_PIXELASYNCM1>;
clock-names = "sclk_cam0", "sclk_cam1", "pxl_async0", "pxl_async1";
fimc_0: fimc@11800000 {
samsung,pix-limits = <4224 8192 1920 4224>;
samsung,mainscaler-ext;
samsung,cam-if;
};
fimc_1: fimc@11810000 {
samsung,pix-limits = <4224 8192 1920 4224>;
samsung,mainscaler-ext;
samsung,cam-if;
};
fimc_2: fimc@11820000 {
samsung,pix-limits = <4224 8192 1920 4224>;
samsung,mainscaler-ext;
samsung,lcd-wb;
};
fimc_3: fimc@11830000 {
samsung,pix-limits = <1920 8192 1366 1920>;
samsung,rotators = <0>;
samsung,mainscaler-ext;
samsung,lcd-wb;
};
};
mixer: mixer@12c10000 {
clock-names = "mixer", "hdmi", "sclk_hdmi", "vp", "mout_mixer",
"sclk_mixer";
clocks = <&clock CLK_MIXER>, <&clock CLK_HDMI>,
<&clock CLK_SCLK_HDMI>, <&clock CLK_VP>,
<&clock CLK_MOUT_MIXER>, <&clock CLK_SCLK_MIXER>;
};
ppmu_lcd1: ppmu_lcd1@12240000 { ppmu_lcd1: ppmu_lcd1@12240000 {
compatible = "samsung,exynos-ppmu"; compatible = "samsung,exynos-ppmu";
reg = <0x12240000 0x2000>; reg = <0x12240000 0x2000>;
...@@ -427,6 +376,12 @@ &gic { ...@@ -427,6 +376,12 @@ &gic {
cpu-offset = <0x8000>; cpu-offset = <0x8000>;
}; };
&camera {
clocks = <&clock CLK_SCLK_CAM0>, <&clock CLK_SCLK_CAM1>,
<&clock CLK_PIXELASYNCM0>, <&clock CLK_PIXELASYNCM1>;
clock-names = "sclk_cam0", "sclk_cam1", "pxl_async0", "pxl_async1";
};
&combiner { &combiner {
samsung,combiner-nr = <16>; samsung,combiner-nr = <16>;
interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
...@@ -447,10 +402,43 @@ &combiner { ...@@ -447,10 +402,43 @@ &combiner {
<GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
}; };
&fimc_0 {
samsung,pix-limits = <4224 8192 1920 4224>;
samsung,mainscaler-ext;
samsung,cam-if;
};
&fimc_1 {
samsung,pix-limits = <4224 8192 1920 4224>;
samsung,mainscaler-ext;
samsung,cam-if;
};
&fimc_2 {
samsung,pix-limits = <4224 8192 1920 4224>;
samsung,mainscaler-ext;
samsung,lcd-wb;
};
&fimc_3 {
samsung,pix-limits = <1920 8192 1366 1920>;
samsung,rotators = <0>;
samsung,mainscaler-ext;
samsung,lcd-wb;
};
&mdma1 { &mdma1 {
power-domains = <&pd_lcd0>; power-domains = <&pd_lcd0>;
}; };
&mixer {
clock-names = "mixer", "hdmi", "sclk_hdmi", "vp", "mout_mixer",
"sclk_mixer";
clocks = <&clock CLK_MIXER>, <&clock CLK_HDMI>,
<&clock CLK_SCLK_HDMI>, <&clock CLK_VP>,
<&clock CLK_MOUT_MIXER>, <&clock CLK_SCLK_MIXER>;
};
&pmu_system_controller { &pmu_system_controller {
clock-names = "clkout0", "clkout1", "clkout2", "clkout3", clock-names = "clkout0", "clkout1", "clkout2", "clkout3",
"clkout4", "clkout8", "clkout9"; "clkout4", "clkout8", "clkout9";
...@@ -468,4 +456,12 @@ &sysmmu_rotator { ...@@ -468,4 +456,12 @@ &sysmmu_rotator {
power-domains = <&pd_lcd0>; power-domains = <&pd_lcd0>;
}; };
&tmu {
compatible = "samsung,exynos4210-tmu";
clocks = <&clock CLK_TMU_APBIF>;
clock-names = "tmu_apbif";
samsung,tmu_gain = <15>;
samsung,tmu_reference_voltage = <7>;
};
#include "exynos4210-pinctrl.dtsi" #include "exynos4210-pinctrl.dtsi"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment