Skip to content

Commit

Permalink
ARM: dts: add support for EXYNOS4412 based TINY4412 board
Browse files Browse the repository at this point in the history
Add a minimal board dts file for EXYNOS4412 based FriendlyARM's
TINY4412 board. This patch including support peripherals like
UART, SD card on SDMMC2 port and GPIO connected LEDs.

Signed-off-by: Alex Ling <kasimling@gmail.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Alex Ling authored and Kukjin Kim committed Jan 4, 2014
1 parent 9dd51c9 commit b67a551
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \
exynos4412-odroidx.dtb \
exynos4412-origen.dtb \
exynos4412-smdk4412.dtb \
exynos4412-tiny4412.dtb \
exynos4412-trats2.dtb \
exynos5250-arndale.dtb \
exynos5250-smdk5250.dtb \
Expand Down
93 changes: 93 additions & 0 deletions arch/arm/boot/dts/exynos4412-tiny4412.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
/*
* FriendlyARM's Exynos4412 based TINY4412 board device tree source
*
* Copyright (c) 2013 Alex Ling <kasimling@gmail.com>
*
* Device tree source file for FriendlyARM's TINY4412 board which is based on
* Samsung's Exynos4412 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 "exynos4412.dtsi"

/ {
model = "FriendlyARM TINY4412 board based on Exynos4412";
compatible = "friendlyarm,tiny4412", "samsung,exynos4412";

memory {
reg = <0x40000000 0x40000000>;
};

leds {
compatible = "gpio-leds";

led1 {
label = "led1";
gpios = <&gpm4 0 1>;
default-state = "off";
linux,default-trigger = "heartbeat";
};

led2 {
label = "led2";
gpios = <&gpm4 1 1>;
default-state = "off";
};

led3 {
label = "led3";
gpios = <&gpm4 2 1>;
default-state = "off";
};

led4 {
label = "led4";
gpios = <&gpm4 3 1>;
default-state = "off";
linux,default-trigger = "mmc0";
};
};

rtc@10070000 {
status = "okay";
};

sdhci@12530000 {
bus-width = <4>;
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
pinctrl-names = "default";
status = "okay";
};

serial@13800000 {
status = "okay";
};

serial@13810000 {
status = "okay";
};

serial@13820000 {
status = "okay";
};

serial@13830000 {
status = "okay";
};

fixed-rate-clocks {
xxti {
compatible = "samsung,clock-xxti";
clock-frequency = <0>;
};

xusbxti {
compatible = "samsung,clock-xusbxti";
clock-frequency = <24000000>;
};
};
};

0 comments on commit b67a551

Please sign in to comment.