-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: dts: Add intial dts file for EXYNOS4210 SoC, SMDKV310 and ORIGEN
Add initial dts file for EXYNOS4210 SoC. This dts file describes the SoC specific devices and properties. Along with this, add dts file for Samsung's SMDKV310 board and Insignal's ORIGEN board which uses the EXYNOS4210 dts file and extends it to describe the board specific properties. Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
- Loading branch information
Thomas Abraham
authored and
Kukjin Kim
committed
Dec 23, 2011
1 parent
6b5ab4f
commit 0561cea
Showing
3 changed files
with
716 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
/* | ||
* Samsung's Exynos4210 based Origen board device tree source | ||
* | ||
* Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. | ||
* http://www.samsung.com | ||
* Copyright (c) 2010-2011 Linaro Ltd. | ||
* www.linaro.org | ||
* | ||
* Device tree source file for Insignal's Origen board which is based on | ||
* Samsung's Exynos4210 SoC. | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
|
||
/dts-v1/; | ||
/include/ "exynos4210.dtsi" | ||
|
||
/ { | ||
model = "Insignal Origen evaluation board based on Exynos4210"; | ||
compatible = "insignal,origen", "samsung,exynos4210"; | ||
|
||
memory { | ||
reg = <0x40000000 0x40000000>; | ||
}; | ||
|
||
chosen { | ||
bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; | ||
}; | ||
|
||
sdhci@12530000 { | ||
samsung,sdhci-bus-width = <4>; | ||
linux,mmc_cap_4_bit_data; | ||
samsung,sdhci-cd-internal; | ||
gpio-cd = <&gpk2 2 2 3 3>; | ||
gpios = <&gpk2 0 2 0 3>, | ||
<&gpk2 1 2 0 3>, | ||
<&gpk2 3 2 3 3>, | ||
<&gpk2 4 2 3 3>, | ||
<&gpk2 5 2 3 3>, | ||
<&gpk2 6 2 3 3>; | ||
}; | ||
|
||
sdhci@12510000 { | ||
samsung,sdhci-bus-width = <4>; | ||
linux,mmc_cap_4_bit_data; | ||
samsung,sdhci-cd-internal; | ||
gpio-cd = <&gpk0 2 2 3 3>; | ||
gpios = <&gpk0 0 2 0 3>, | ||
<&gpk0 1 2 0 3>, | ||
<&gpk0 3 2 3 3>, | ||
<&gpk0 4 2 3 3>, | ||
<&gpk0 5 2 3 3>, | ||
<&gpk0 6 2 3 3>; | ||
}; | ||
|
||
gpio_keys { | ||
compatible = "gpio-keys"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
up { | ||
label = "Up"; | ||
gpios = <&gpx2 0 0 0 2>; | ||
linux,code = <103>; | ||
}; | ||
|
||
down { | ||
label = "Down"; | ||
gpios = <&gpx2 1 0 0 2>; | ||
linux,code = <108>; | ||
}; | ||
|
||
back { | ||
label = "Back"; | ||
gpios = <&gpx1 7 0 0 2>; | ||
linux,code = <158>; | ||
}; | ||
|
||
home { | ||
label = "Home"; | ||
gpios = <&gpx1 6 0 0 2>; | ||
linux,code = <102>; | ||
}; | ||
|
||
menu { | ||
label = "Menu"; | ||
gpios = <&gpx1 5 0 0 2>; | ||
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"; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,182 @@ | ||
/* | ||
* Samsung's Exynos4210 based SMDKV310 board device tree source | ||
* | ||
* Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. | ||
* http://www.samsung.com | ||
* Copyright (c) 2010-2011 Linaro Ltd. | ||
* www.linaro.org | ||
* | ||
* Device tree source file for Samsung's SMDKV310 board which is based on | ||
* Samsung's Exynos4210 SoC. | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
|
||
/dts-v1/; | ||
/include/ "exynos4210.dtsi" | ||
|
||
/ { | ||
model = "Samsung smdkv310 evaluation board based on Exynos4210"; | ||
compatible = "samsung,smdkv310", "samsung,exynos4210"; | ||
|
||
memory { | ||
reg = <0x40000000 0x80000000>; | ||
}; | ||
|
||
chosen { | ||
bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc"; | ||
}; | ||
|
||
sdhci@12530000 { | ||
samsung,sdhci-bus-width = <4>; | ||
linux,mmc_cap_4_bit_data; | ||
samsung,sdhci-cd-internal; | ||
gpio-cd = <&gpk2 2 2 3 3>; | ||
gpios = <&gpk2 0 2 0 3>, | ||
<&gpk2 1 2 0 3>, | ||
<&gpk2 3 2 3 3>, | ||
<&gpk2 4 2 3 3>, | ||
<&gpk2 5 2 3 3>, | ||
<&gpk2 6 2 3 3>; | ||
}; | ||
|
||
keypad@100A0000 { | ||
samsung,keypad-num-rows = <2>; | ||
samsung,keypad-num-columns = <8>; | ||
linux,keypad-no-autorepeat; | ||
linux,keypad-wakeup; | ||
|
||
row-gpios = <&gpx2 0 3 3 0>, | ||
<&gpx2 1 3 3 0>; | ||
|
||
col-gpios = <&gpx1 0 3 0 0>, | ||
<&gpx1 1 3 0 0>, | ||
<&gpx1 2 3 0 0>, | ||
<&gpx1 3 3 0 0>, | ||
<&gpx1 4 3 0 0>, | ||
<&gpx1 5 3 0 0>, | ||
<&gpx1 6 3 0 0>, | ||
<&gpx1 7 3 0 0>; | ||
|
||
key_1 { | ||
keypad,row = <0>; | ||
keypad,column = <3>; | ||
linux,code = <2>; | ||
}; | ||
|
||
key_2 { | ||
keypad,row = <0>; | ||
keypad,column = <4>; | ||
linux,code = <3>; | ||
}; | ||
|
||
key_3 { | ||
keypad,row = <0>; | ||
keypad,column = <5>; | ||
linux,code = <4>; | ||
}; | ||
|
||
key_4 { | ||
keypad,row = <0>; | ||
keypad,column = <6>; | ||
linux,code = <5>; | ||
}; | ||
|
||
key_5 { | ||
keypad,row = <0>; | ||
keypad,column = <7>; | ||
linux,code = <6>; | ||
}; | ||
|
||
key_a { | ||
keypad,row = <1>; | ||
keypad,column = <3>; | ||
linux,code = <30>; | ||
}; | ||
|
||
key_b { | ||
keypad,row = <1>; | ||
keypad,column = <4>; | ||
linux,code = <48>; | ||
}; | ||
|
||
key_c { | ||
keypad,row = <1>; | ||
keypad,column = <5>; | ||
linux,code = <46>; | ||
}; | ||
|
||
key_d { | ||
keypad,row = <1>; | ||
keypad,column = <6>; | ||
linux,code = <32>; | ||
}; | ||
|
||
key_e { | ||
keypad,row = <1>; | ||
keypad,column = <7>; | ||
linux,code = <18>; | ||
}; | ||
}; | ||
|
||
i2c@13860000 { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
samsung,i2c-sda-delay = <100>; | ||
samsung,i2c-max-bus-freq = <20000>; | ||
gpios = <&gpd1 0 2 3 0>, | ||
<&gpd1 1 2 3 0>; | ||
|
||
eeprom@50 { | ||
compatible = "samsung,24ad0xd1"; | ||
reg = <0x50>; | ||
}; | ||
|
||
eeprom@52 { | ||
compatible = "samsung,24ad0xd1"; | ||
reg = <0x52>; | ||
}; | ||
}; | ||
|
||
sdhci@12510000 { | ||
status = "disabled"; | ||
}; | ||
|
||
sdhci@12520000 { | ||
status = "disabled"; | ||
}; | ||
|
||
sdhci@12540000 { | ||
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"; | ||
}; | ||
}; |
Oops, something went wrong.