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