blob: 5504398e6e37dd28c870650aae5aab1a19ca1d95 [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
Javier Martinez Canillas824e4132016-09-01 11:06:55 +020026 memory@40000000 {
Javier Martinez Canillas13548352016-09-01 11:06:52 +020027 device_type = "memory";
Alex Lingb67a551252013-12-19 05:34:26 +090028 reg = <0x40000000 0x40000000>;
29 };
30
31 leds {
32 compatible = "gpio-leds";
33
34 led1 {
35 label = "led1";
Javier Martinez Canillasc10d3292015-10-08 07:39:58 +090036 gpios = <&gpm4 0 GPIO_ACTIVE_LOW>;
Alex Lingb67a551252013-12-19 05:34:26 +090037 default-state = "off";
38 linux,default-trigger = "heartbeat";
39 };
40
41 led2 {
42 label = "led2";
Javier Martinez Canillasc10d3292015-10-08 07:39:58 +090043 gpios = <&gpm4 1 GPIO_ACTIVE_LOW>;
Alex Lingb67a551252013-12-19 05:34:26 +090044 default-state = "off";
45 };
46
47 led3 {
48 label = "led3";
Javier Martinez Canillasc10d3292015-10-08 07:39:58 +090049 gpios = <&gpm4 2 GPIO_ACTIVE_LOW>;
Alex Lingb67a551252013-12-19 05:34:26 +090050 default-state = "off";
51 };
52
53 led4 {
54 label = "led4";
Javier Martinez Canillasc10d3292015-10-08 07:39:58 +090055 gpios = <&gpm4 3 GPIO_ACTIVE_LOW>;
Alex Lingb67a551252013-12-19 05:34:26 +090056 default-state = "off";
57 linux,default-trigger = "mmc0";
58 };
59 };
60
Alex Lingb67a551252013-12-19 05:34:26 +090061 fixed-rate-clocks {
62 xxti {
63 compatible = "samsung,clock-xxti";
64 clock-frequency = <0>;
65 };
66
67 xusbxti {
68 compatible = "samsung,clock-xusbxti";
69 clock-frequency = <24000000>;
70 };
71 };
72};
Krzysztof Kozlowski81ce4812015-05-11 22:34:30 +090073
74&rtc {
75 status = "okay";
76};
77
78&sdhci_2 {
79 bus-width = <4>;
80 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
81 pinctrl-names = "default";
82 status = "okay";
83};
84
85&serial_0 {
86 status = "okay";
87};
88
89&serial_1 {
90 status = "okay";
91};
92
93&serial_2 {
94 status = "okay";
95};
96
97&serial_3 {
98 status = "okay";
99};