blob: 4840bbdaa9ec053a99a95e21d3e75ba6e28fafb1 [file] [log] [blame]
Alex Lingb67a551252013-12-19 05:34:26 +09001/*
2 * FriendlyARM's Exynos4412 based TINY4412 board device tree source
3 *
4 * Copyright (c) 2013 Alex Ling <kasimling@gmail.com>
5 *
6 * Device tree source file for FriendlyARM's TINY4412 board which is based on
7 * Samsung's Exynos4412 SoC.
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12*/
13
14/dts-v1/;
15#include "exynos4412.dtsi"
Javier Martinez Canillasc10d3292015-10-08 07:39:58 +090016#include <dt-bindings/gpio/gpio.h>
Alex Lingb67a551252013-12-19 05:34:26 +090017
18/ {
19 model = "FriendlyARM TINY4412 board based on Exynos4412";
Sachin Kamat8bdb31b2014-03-21 02:17:22 +090020 compatible = "friendlyarm,tiny4412", "samsung,exynos4412", "samsung,exynos4";
Alex Lingb67a551252013-12-19 05:34:26 +090021
Tomasz Figa62d38092015-01-23 14:47:42 +010022 chosen {
23 stdout-path = &serial_0;
24 };
25
Alex Lingb67a551252013-12-19 05:34:26 +090026 memory {
27 reg = <0x40000000 0x40000000>;
28 };
29
30 leds {
31 compatible = "gpio-leds";
32
33 led1 {
34 label = "led1";
Javier Martinez Canillasc10d3292015-10-08 07:39:58 +090035 gpios = <&gpm4 0 GPIO_ACTIVE_LOW>;
Alex Lingb67a551252013-12-19 05:34:26 +090036 default-state = "off";
37 linux,default-trigger = "heartbeat";
38 };
39
40 led2 {
41 label = "led2";
Javier Martinez Canillasc10d3292015-10-08 07:39:58 +090042 gpios = <&gpm4 1 GPIO_ACTIVE_LOW>;
Alex Lingb67a551252013-12-19 05:34:26 +090043 default-state = "off";
44 };
45
46 led3 {
47 label = "led3";
Javier Martinez Canillasc10d3292015-10-08 07:39:58 +090048 gpios = <&gpm4 2 GPIO_ACTIVE_LOW>;
Alex Lingb67a551252013-12-19 05:34:26 +090049 default-state = "off";
50 };
51
52 led4 {
53 label = "led4";
Javier Martinez Canillasc10d3292015-10-08 07:39:58 +090054 gpios = <&gpm4 3 GPIO_ACTIVE_LOW>;
Alex Lingb67a551252013-12-19 05:34:26 +090055 default-state = "off";
56 linux,default-trigger = "mmc0";
57 };
58 };
59
Alex Lingb67a551252013-12-19 05:34:26 +090060 fixed-rate-clocks {
61 xxti {
62 compatible = "samsung,clock-xxti";
63 clock-frequency = <0>;
64 };
65
66 xusbxti {
67 compatible = "samsung,clock-xusbxti";
68 clock-frequency = <24000000>;
69 };
70 };
71};
Krzysztof Kozlowski81ce4812015-05-11 22:34:30 +090072
73&rtc {
74 status = "okay";
75};
76
77&sdhci_2 {
78 bus-width = <4>;
79 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
80 pinctrl-names = "default";
81 status = "okay";
82};
83
84&serial_0 {
85 status = "okay";
86};
87
88&serial_1 {
89 status = "okay";
90};
91
92&serial_2 {
93 status = "okay";
94};
95
96&serial_3 {
97 status = "okay";
98};