aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/exynos4210-origen.dts
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2012-09-21 10:13:31 +0900
committerKukjin Kim <kgene.kim@samsung.com>2012-09-21 10:47:23 +0900
commitc9e23f00cdd1b18955a50ff9fa3d51b5a28498d0 (patch)
tree6b19e09dfe88d1627caaf5b8ec97945ba493d45c /arch/arm/boot/dts/exynos4210-origen.dts
parentARM: EXYNOS: Use exynos4 prefix instead of exynos4210 on exynos4-dt (diff)
downloadlinux-dev-c9e23f00cdd1b18955a50ff9fa3d51b5a28498d0.tar.xz
linux-dev-c9e23f00cdd1b18955a50ff9fa3d51b5a28498d0.zip
ARM: dts: Assume status of all optional nodes as disabled for exynos4
Currently all boards must explicitly disable all unused device tree nodes of unused components (e.g. i2c, sdhci, etc...). This makes it necessary to all boards to be aware of all components on the SoC, which in turns makes board dts files longer and more difficult to maintain (e.g. adding new components to SoC-level tree requires adding nodes with status="disabled" to every board). This patch changes "status" of all optional components in SoC-level dts file to "disabled", adds status="okay" to respective nodes of used components in dts of all boards and removes all nodes with only status="disabled" from boards dts. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Thomas Abraham <thomas.abraham@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts/exynos4210-origen.dts')
-rw-r--r--arch/arm/boot/dts/exynos4210-origen.dts58
1 files changed, 2 insertions, 56 deletions
diff --git a/arch/arm/boot/dts/exynos4210-origen.dts b/arch/arm/boot/dts/exynos4210-origen.dts
index 0c49caa09978..d1a1101fd96e 100644
--- a/arch/arm/boot/dts/exynos4210-origen.dts
+++ b/arch/arm/boot/dts/exynos4210-origen.dts
@@ -40,6 +40,7 @@
<&gpk2 4 2 3 3>,
<&gpk2 5 2 3 3>,
<&gpk2 6 2 3 3>;
+ status = "okay";
};
sdhci@12510000 {
@@ -53,6 +54,7 @@
<&gpk0 4 2 3 3>,
<&gpk0 5 2 3 3>,
<&gpk0 6 2 3 3>;
+ status = "okay";
};
gpio_keys {
@@ -90,60 +92,4 @@
linux,code = <139>;
};
};
-
- keypad@100A0000 {
- status = "disabled";
- };
-
- sdhci@12520000 {
- status = "disabled";
- };
-
- sdhci@12540000 {
- status = "disabled";
- };
-
- i2c@13860000 {
- status = "disabled";
- };
-
- i2c@13870000 {
- status = "disabled";
- };
-
- i2c@13880000 {
- status = "disabled";
- };
-
- i2c@13890000 {
- status = "disabled";
- };
-
- i2c@138A0000 {
- status = "disabled";
- };
-
- i2c@138B0000 {
- status = "disabled";
- };
-
- i2c@138C0000 {
- status = "disabled";
- };
-
- i2c@138D0000 {
- status = "disabled";
- };
-
- spi_0: spi@13920000 {
- status = "disabled";
- };
-
- spi_1: spi@13930000 {
- status = "disabled";
- };
-
- spi_2: spi@13940000 {
- status = "disabled";
- };
};