exynos4412-odroidx.dts revision 279377
1279377Simp/* 2279377Simp * Hardkernel's Exynos4412 based ODROID-X board device tree source 3279377Simp * 4279377Simp * Copyright (c) 2012 Dongjin Kim <tobetter@gmail.com> 5279377Simp * 6279377Simp * Device tree source file for Hardkernel's ODROID-X board which is based 7279377Simp * on Samsung's Exynos4412 SoC. 8279377Simp * 9279377Simp * This program is free software; you can redistribute it and/or modify 10279377Simp * it under the terms of the GNU General Public License version 2 as 11279377Simp * published by the Free Software Foundation. 12279377Simp*/ 13279377Simp 14279377Simp/dts-v1/; 15279377Simp#include "exynos4412-odroid-common.dtsi" 16279377Simp 17279377Simp/ { 18279377Simp model = "Hardkernel ODROID-X board based on Exynos4412"; 19279377Simp compatible = "hardkernel,odroid-x", "samsung,exynos4412", "samsung,exynos4"; 20279377Simp 21279377Simp memory { 22279377Simp reg = <0x40000000 0x3FF00000>; 23279377Simp }; 24279377Simp 25279377Simp leds { 26279377Simp compatible = "gpio-leds"; 27279377Simp led1 { 28279377Simp label = "led1:heart"; 29279377Simp gpios = <&gpc1 0 1>; 30279377Simp default-state = "on"; 31279377Simp linux,default-trigger = "heartbeat"; 32279377Simp }; 33279377Simp led2 { 34279377Simp label = "led2:mmc0"; 35279377Simp gpios = <&gpc1 2 1>; 36279377Simp default-state = "on"; 37279377Simp linux,default-trigger = "mmc0"; 38279377Simp }; 39279377Simp }; 40279377Simp 41279377Simp serial@13820000 { 42279377Simp status = "okay"; 43279377Simp }; 44279377Simp 45279377Simp serial@13830000 { 46279377Simp status = "okay"; 47279377Simp }; 48279377Simp 49279377Simp gpio_keys { 50279377Simp pinctrl-0 = <&gpio_power_key &gpio_home_key>; 51279377Simp 52279377Simp home_key { 53279377Simp interrupt-parent = <&gpx2>; 54279377Simp interrupts = <2 0>; 55279377Simp gpios = <&gpx2 2 0>; 56279377Simp linux,code = <KEY_HOME>; 57279377Simp label = "home key"; 58279377Simp debounce-interval = <10>; 59279377Simp gpio-key,wakeup; 60279377Simp }; 61279377Simp }; 62279377Simp 63279377Simp regulator_p3v3 { 64279377Simp compatible = "regulator-fixed"; 65279377Simp regulator-name = "p3v3_en"; 66279377Simp regulator-min-microvolt = <3300000>; 67279377Simp regulator-max-microvolt = <3300000>; 68279377Simp gpio = <&gpa1 1 1>; 69279377Simp enable-active-high; 70279377Simp regulator-always-on; 71279377Simp }; 72279377Simp}; 73279377Simp 74279377Simp&ehci { 75279377Simp port@1 { 76279377Simp status = "okay"; 77279377Simp }; 78279377Simp}; 79279377Simp 80279377Simp&pinctrl_1 { 81279377Simp gpio_home_key: home_key { 82279377Simp samsung,pins = "gpx2-2"; 83279377Simp samsung,pin-pud = <0>; 84279377Simp }; 85279377Simp}; 86