Krzysztof Kozlowski | 0cfec8e | 2018-02-04 17:46:45 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Alex Ling | b67a55125 | 2013-12-19 05:34:26 +0900 | [diff] [blame] | 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. |
Krzysztof Kozlowski | 0cfec8e | 2018-02-04 17:46:45 +0100 | [diff] [blame] | 9 | */ |
Alex Ling | b67a55125 | 2013-12-19 05:34:26 +0900 | [diff] [blame] | 10 | |
| 11 | /dts-v1/; |
| 12 | #include "exynos4412.dtsi" |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 13 | #include <dt-bindings/gpio/gpio.h> |
Alex Ling | b67a55125 | 2013-12-19 05:34:26 +0900 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "FriendlyARM TINY4412 board based on Exynos4412"; |
Sachin Kamat | 8bdb31b | 2014-03-21 02:17:22 +0900 | [diff] [blame] | 17 | compatible = "friendlyarm,tiny4412", "samsung,exynos4412", "samsung,exynos4"; |
Alex Ling | b67a55125 | 2013-12-19 05:34:26 +0900 | [diff] [blame] | 18 | |
Tomasz Figa | 62d3809 | 2015-01-23 14:47:42 +0100 | [diff] [blame] | 19 | chosen { |
| 20 | stdout-path = &serial_0; |
| 21 | }; |
| 22 | |
Javier Martinez Canillas | 824e413 | 2016-09-01 11:06:55 +0200 | [diff] [blame] | 23 | memory@40000000 { |
Javier Martinez Canillas | 1354835 | 2016-09-01 11:06:52 +0200 | [diff] [blame] | 24 | device_type = "memory"; |
Alex Ling | b67a55125 | 2013-12-19 05:34:26 +0900 | [diff] [blame] | 25 | reg = <0x40000000 0x40000000>; |
| 26 | }; |
| 27 | |
| 28 | leds { |
| 29 | compatible = "gpio-leds"; |
| 30 | |
| 31 | led1 { |
| 32 | label = "led1"; |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 33 | gpios = <&gpm4 0 GPIO_ACTIVE_LOW>; |
Alex Ling | b67a55125 | 2013-12-19 05:34:26 +0900 | [diff] [blame] | 34 | default-state = "off"; |
| 35 | linux,default-trigger = "heartbeat"; |
| 36 | }; |
| 37 | |
| 38 | led2 { |
| 39 | label = "led2"; |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 40 | gpios = <&gpm4 1 GPIO_ACTIVE_LOW>; |
Alex Ling | b67a55125 | 2013-12-19 05:34:26 +0900 | [diff] [blame] | 41 | default-state = "off"; |
| 42 | }; |
| 43 | |
| 44 | led3 { |
| 45 | label = "led3"; |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 46 | gpios = <&gpm4 2 GPIO_ACTIVE_LOW>; |
Alex Ling | b67a55125 | 2013-12-19 05:34:26 +0900 | [diff] [blame] | 47 | default-state = "off"; |
| 48 | }; |
| 49 | |
| 50 | led4 { |
| 51 | label = "led4"; |
Javier Martinez Canillas | c10d329 | 2015-10-08 07:39:58 +0900 | [diff] [blame] | 52 | gpios = <&gpm4 3 GPIO_ACTIVE_LOW>; |
Alex Ling | b67a55125 | 2013-12-19 05:34:26 +0900 | [diff] [blame] | 53 | default-state = "off"; |
| 54 | linux,default-trigger = "mmc0"; |
| 55 | }; |
| 56 | }; |
| 57 | |
Alex Ling | b67a55125 | 2013-12-19 05:34:26 +0900 | [diff] [blame] | 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 | }; |
Krzysztof Kozlowski | 81ce481 | 2015-05-11 22:34:30 +0900 | [diff] [blame] | 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 | }; |