Merge branch 'for-4.2/ti-clk-move' of https://github.com/t-kristo/linux-pm into clk...
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / exynos4412-tiny4412.dts
1 /*
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"
16
17 / {
18         model = "FriendlyARM TINY4412 board based on Exynos4412";
19         compatible = "friendlyarm,tiny4412", "samsung,exynos4412", "samsung,exynos4";
20
21         chosen {
22                 stdout-path = &serial_0;
23         };
24
25         memory {
26                 reg = <0x40000000 0x40000000>;
27         };
28
29         leds {
30                 compatible = "gpio-leds";
31
32                 led1 {
33                         label = "led1";
34                         gpios = <&gpm4 0 1>;
35                         default-state = "off";
36                         linux,default-trigger = "heartbeat";
37                 };
38
39                 led2 {
40                         label = "led2";
41                         gpios = <&gpm4 1 1>;
42                         default-state = "off";
43                 };
44
45                 led3 {
46                         label = "led3";
47                         gpios = <&gpm4 2 1>;
48                         default-state = "off";
49                 };
50
51                 led4 {
52                         label = "led4";
53                         gpios = <&gpm4 3 1>;
54                         default-state = "off";
55                         linux,default-trigger = "mmc0";
56                 };
57         };
58
59         fixed-rate-clocks {
60                 xxti {
61                         compatible = "samsung,clock-xxti";
62                         clock-frequency = <0>;
63                 };
64
65                 xusbxti {
66                         compatible = "samsung,clock-xusbxti";
67                         clock-frequency = <24000000>;
68                 };
69         };
70 };
71
72 &rtc {
73         status = "okay";
74 };
75
76 &sdhci_2 {
77         bus-width = <4>;
78         pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
79         pinctrl-names = "default";
80         status = "okay";
81 };
82
83 &serial_0 {
84         status = "okay";
85 };
86
87 &serial_1 {
88         status = "okay";
89 };
90
91 &serial_2 {
92         status = "okay";
93 };
94
95 &serial_3 {
96         status = "okay";
97 };