1279377Simp/*
2279377Simp * FriendlyARM's Exynos4412 based TINY4412 board device tree source
3279377Simp *
4279377Simp * Copyright (c) 2013 Alex Ling <kasimling@gmail.com>
5279377Simp *
6279377Simp * Device tree source file for FriendlyARM's TINY4412 board which is based on
7279377Simp * Samsung's Exynos4412 SoC.
8279377Simp *
9279377Simp * This program is free software; you can redistribute it and/or modify
10279377Simp * it under the terms of the GNU General Public License version 2 as
11279377Simp * published by the Free Software Foundation.
12279377Simp*/
13279377Simp
14279377Simp/dts-v1/;
15279377Simp#include "exynos4412.dtsi"
16295436Sandrew#include <dt-bindings/gpio/gpio.h>
17279377Simp
18279377Simp/ {
19279377Simp	model = "FriendlyARM TINY4412 board based on Exynos4412";
20279377Simp	compatible = "friendlyarm,tiny4412", "samsung,exynos4412", "samsung,exynos4";
21279377Simp
22279377Simp	chosen {
23279377Simp		stdout-path = &serial_0;
24279377Simp	};
25279377Simp
26279377Simp	memory {
27279377Simp		reg = <0x40000000 0x40000000>;
28279377Simp	};
29279377Simp
30279377Simp	leds {
31279377Simp		compatible = "gpio-leds";
32279377Simp
33279377Simp		led1 {
34279377Simp			label = "led1";
35295436Sandrew			gpios = <&gpm4 0 GPIO_ACTIVE_LOW>;
36279377Simp			default-state = "off";
37279377Simp			linux,default-trigger = "heartbeat";
38279377Simp		};
39279377Simp
40279377Simp		led2 {
41279377Simp			label = "led2";
42295436Sandrew			gpios = <&gpm4 1 GPIO_ACTIVE_LOW>;
43279377Simp			default-state = "off";
44279377Simp		};
45279377Simp
46279377Simp		led3 {
47279377Simp			label = "led3";
48295436Sandrew			gpios = <&gpm4 2 GPIO_ACTIVE_LOW>;
49279377Simp			default-state = "off";
50279377Simp		};
51279377Simp
52279377Simp		led4 {
53279377Simp			label = "led4";
54295436Sandrew			gpios = <&gpm4 3 GPIO_ACTIVE_LOW>;
55279377Simp			default-state = "off";
56279377Simp			linux,default-trigger = "mmc0";
57279377Simp		};
58279377Simp	};
59279377Simp
60279377Simp	fixed-rate-clocks {
61279377Simp		xxti {
62279377Simp			compatible = "samsung,clock-xxti";
63279377Simp			clock-frequency = <0>;
64279377Simp		};
65279377Simp
66279377Simp		xusbxti {
67279377Simp			compatible = "samsung,clock-xusbxti";
68279377Simp			clock-frequency = <24000000>;
69279377Simp		};
70279377Simp	};
71279377Simp};
72295436Sandrew
73295436Sandrew&rtc {
74295436Sandrew	status = "okay";
75295436Sandrew};
76295436Sandrew
77295436Sandrew&sdhci_2 {
78295436Sandrew	bus-width = <4>;
79295436Sandrew	pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
80295436Sandrew	pinctrl-names = "default";
81295436Sandrew	status = "okay";
82295436Sandrew};
83295436Sandrew
84295436Sandrew&serial_0 {
85295436Sandrew	status = "okay";
86295436Sandrew};
87295436Sandrew
88295436Sandrew&serial_1 {
89295436Sandrew	status = "okay";
90295436Sandrew};
91295436Sandrew
92295436Sandrew&serial_2 {
93295436Sandrew	status = "okay";
94295436Sandrew};
95295436Sandrew
96295436Sandrew&serial_3 {
97295436Sandrew	status = "okay";
98295436Sandrew};
99