diff options
author | Thomas Abraham <thomas.abraham@linaro.org> | 2011-03-28 22:07:32 -0600 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-03-28 22:07:32 -0600 |
commit | afd489e15a1fc57d25674b3d0ab8a6cfc69c3ed0 (patch) | |
tree | 1fd3d9a2aabcc8940ecc354bdacc108167da6c8a /arch | |
parent | 0587fd46e135354712be3ad08cd0a2e5e0589da9 (diff) |
dt/arm: Add basic device tree support for smdkv310 board
Enable basic device tree support for Exynos4 smdkv310 board.
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch')
-rwxr-xr-x | arch/arm/boot/dts/exynos4-smdkv310.dts | 31 | ||||
-rw-r--r-- | arch/arm/mach-exynos4/mach-smdkv310.c | 6 |
2 files changed, 37 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4-smdkv310.dts b/arch/arm/boot/dts/exynos4-smdkv310.dts new file mode 100755 index 00000000000..9f276645e69 --- /dev/null +++ b/arch/arm/boot/dts/exynos4-smdkv310.dts @@ -0,0 +1,31 @@ +/dts-v1/; + +/ { + model = "Samsung Exynos4 SMDKV310 eval board"; + compatible = "samsung,smdkv310","samsung,s5pv310"; + #address-cells = <1>; + #size-cells = <1>; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu@0{ + compatible = "arm,cortex-a9"; + reg = <0x0>; + }; + + cpu@1 { + compatible = "arm,cortex-a9"; + reg = <0x1>; + }; + }; + + memory { + device_type = "memory"; + reg = <0x40000000 0x08000000>; + }; + + chosen { + }; +}; diff --git a/arch/arm/mach-exynos4/mach-smdkv310.c b/arch/arm/mach-exynos4/mach-smdkv310.c index 152676471b6..7e0efc0f647 100644 --- a/arch/arm/mach-exynos4/mach-smdkv310.c +++ b/arch/arm/mach-exynos4/mach-smdkv310.c @@ -237,6 +237,11 @@ static void __init smdkv310_machine_init(void) platform_add_devices(smdkv310_devices, ARRAY_SIZE(smdkv310_devices)); } +static char const *smdkv310_dt_compat[] = { + "samsung,smdkv310", + NULL +}; + MACHINE_START(SMDKV310, "SMDKV310") /* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */ /* Maintainer: Changhwan Youn <chaos.youn@samsung.com> */ @@ -245,4 +250,5 @@ MACHINE_START(SMDKV310, "SMDKV310") .map_io = smdkv310_map_io, .init_machine = smdkv310_machine_init, .timer = &exynos4_timer, + .dt_compat = smdkv310_dt_compat, MACHINE_END |