Loading...
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * FriendlyARM's Exynos4412 based TINY4412 board device tree source
4 *
5 * Copyright (c) 2013 Alex Ling <kasimling@gmail.com>
6 *
7 * Device tree source file for FriendlyARM's TINY4412 board which is based on
8 * Samsung's Exynos4412 SoC.
9 */
10
11/dts-v1/;
12#include "exynos4412.dtsi"
13#include <dt-bindings/gpio/gpio.h>
14
15/ {
16 model = "FriendlyARM TINY4412 board based on Exynos4412";
17 compatible = "friendlyarm,tiny4412", "samsung,exynos4412", "samsung,exynos4";
18
19 chosen {
20 stdout-path = &serial_0;
21 };
22
23 memory@40000000 {
24 device_type = "memory";
25 reg = <0x40000000 0x40000000>;
26 };
27
28 leds {
29 compatible = "gpio-leds";
30
31 led1 {
32 label = "led1";
33 gpios = <&gpm4 0 GPIO_ACTIVE_LOW>;
34 default-state = "off";
35 linux,default-trigger = "heartbeat";
36 };
37
38 led2 {
39 label = "led2";
40 gpios = <&gpm4 1 GPIO_ACTIVE_LOW>;
41 default-state = "off";
42 };
43
44 led3 {
45 label = "led3";
46 gpios = <&gpm4 2 GPIO_ACTIVE_LOW>;
47 default-state = "off";
48 };
49
50 led4 {
51 label = "led4";
52 gpios = <&gpm4 3 GPIO_ACTIVE_LOW>;
53 default-state = "off";
54 linux,default-trigger = "mmc0";
55 };
56 };
57
58 fixed-rate-clocks {
59 xxti {
60 compatible = "samsung,clock-xxti";
61 clock-frequency = <0>;
62 };
63
64 xusbxti {
65 compatible = "samsung,clock-xusbxti";
66 clock-frequency = <24000000>;
67 };
68 };
69};
70
71&rtc {
72 status = "okay";
73};
74
75&sdhci_2 {
76 bus-width = <4>;
77 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
78 pinctrl-names = "default";
79 status = "okay";
80};
81
82&serial_0 {
83 status = "okay";
84};
85
86&serial_1 {
87 status = "okay";
88};
89
90&serial_2 {
91 status = "okay";
92};
93
94&serial_3 {
95 status = "okay";
96};
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 memory {
22 reg = <0x40000000 0x40000000>;
23 };
24
25 leds {
26 compatible = "gpio-leds";
27
28 led1 {
29 label = "led1";
30 gpios = <&gpm4 0 1>;
31 default-state = "off";
32 linux,default-trigger = "heartbeat";
33 };
34
35 led2 {
36 label = "led2";
37 gpios = <&gpm4 1 1>;
38 default-state = "off";
39 };
40
41 led3 {
42 label = "led3";
43 gpios = <&gpm4 2 1>;
44 default-state = "off";
45 };
46
47 led4 {
48 label = "led4";
49 gpios = <&gpm4 3 1>;
50 default-state = "off";
51 linux,default-trigger = "mmc0";
52 };
53 };
54
55 rtc@10070000 {
56 status = "okay";
57 };
58
59 sdhci@12530000 {
60 bus-width = <4>;
61 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
62 pinctrl-names = "default";
63 status = "okay";
64 };
65
66 serial@13800000 {
67 status = "okay";
68 };
69
70 serial@13810000 {
71 status = "okay";
72 };
73
74 serial@13820000 {
75 status = "okay";
76 };
77
78 serial@13830000 {
79 status = "okay";
80 };
81
82 fixed-rate-clocks {
83 xxti {
84 compatible = "samsung,clock-xxti";
85 clock-frequency = <0>;
86 };
87
88 xusbxti {
89 compatible = "samsung,clock-xusbxti";
90 clock-frequency = <24000000>;
91 };
92 };
93};