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