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 { 27 reg = <0x40000000 0x40000000>; 28 }; 29 30 leds { 31 compatible = "gpio-leds"; 32 33 led1 { 34 label = "led1"; |
35 gpios = <&gpm4 0 GPIO_ACTIVE_LOW>; |
36 default-state = "off"; 37 linux,default-trigger = "heartbeat"; 38 }; 39 40 led2 { 41 label = "led2"; |
42 gpios = <&gpm4 1 GPIO_ACTIVE_LOW>; |
43 default-state = "off"; 44 }; 45 46 led3 { 47 label = "led3"; |
48 gpios = <&gpm4 2 GPIO_ACTIVE_LOW>; |
49 default-state = "off"; 50 }; 51 52 led4 { 53 label = "led4"; |
54 gpios = <&gpm4 3 GPIO_ACTIVE_LOW>; |
55 default-state = "off"; 56 linux,default-trigger = "mmc0"; 57 }; 58 }; 59 |
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}; |
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}; |