Commit | Line | Data |
---|---|---|
b67a5512 AL |
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" | |
c10d3290 | 16 | #include <dt-bindings/gpio/gpio.h> |
b67a5512 AL |
17 | |
18 | / { | |
19 | model = "FriendlyARM TINY4412 board based on Exynos4412"; | |
8bdb31b4 | 20 | compatible = "friendlyarm,tiny4412", "samsung,exynos4412", "samsung,exynos4"; |
b67a5512 | 21 | |
62d38099 TF |
22 | chosen { |
23 | stdout-path = &serial_0; | |
24 | }; | |
25 | ||
b67a5512 AL |
26 | memory { |
27 | reg = <0x40000000 0x40000000>; | |
28 | }; | |
29 | ||
30 | leds { | |
31 | compatible = "gpio-leds"; | |
32 | ||
33 | led1 { | |
34 | label = "led1"; | |
c10d3290 | 35 | gpios = <&gpm4 0 GPIO_ACTIVE_LOW>; |
b67a5512 AL |
36 | default-state = "off"; |
37 | linux,default-trigger = "heartbeat"; | |
38 | }; | |
39 | ||
40 | led2 { | |
41 | label = "led2"; | |
c10d3290 | 42 | gpios = <&gpm4 1 GPIO_ACTIVE_LOW>; |
b67a5512 AL |
43 | default-state = "off"; |
44 | }; | |
45 | ||
46 | led3 { | |
47 | label = "led3"; | |
c10d3290 | 48 | gpios = <&gpm4 2 GPIO_ACTIVE_LOW>; |
b67a5512 AL |
49 | default-state = "off"; |
50 | }; | |
51 | ||
52 | led4 { | |
53 | label = "led4"; | |
c10d3290 | 54 | gpios = <&gpm4 3 GPIO_ACTIVE_LOW>; |
b67a5512 AL |
55 | default-state = "off"; |
56 | linux,default-trigger = "mmc0"; | |
57 | }; | |
58 | }; | |
59 | ||
b67a5512 AL |
60 | 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 | }; | |
81ce4816 KK |
72 | |
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 | }; |