exynos4412-odroidx.dts revision 295436
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"; 29295436Sandrew gpios = <&gpc1 0 GPIO_ACTIVE_LOW>; 30279377Simp default-state = "on"; 31279377Simp linux,default-trigger = "heartbeat"; 32279377Simp }; 33279377Simp led2 { 34279377Simp label = "led2:mmc0"; 35295436Sandrew gpios = <&gpc1 2 GPIO_ACTIVE_LOW>; 36279377Simp default-state = "on"; 37279377Simp linux,default-trigger = "mmc0"; 38279377Simp }; 39279377Simp }; 40279377Simp 41279377Simp gpio_keys { 42279377Simp pinctrl-0 = <&gpio_power_key &gpio_home_key>; 43279377Simp 44279377Simp home_key { 45279377Simp interrupt-parent = <&gpx2>; 46279377Simp interrupts = <2 0>; 47295436Sandrew gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>; 48279377Simp linux,code = <KEY_HOME>; 49279377Simp label = "home key"; 50279377Simp debounce-interval = <10>; 51279377Simp gpio-key,wakeup; 52279377Simp }; 53279377Simp }; 54279377Simp 55279377Simp regulator_p3v3 { 56279377Simp compatible = "regulator-fixed"; 57279377Simp regulator-name = "p3v3_en"; 58279377Simp regulator-min-microvolt = <3300000>; 59279377Simp regulator-max-microvolt = <3300000>; 60295436Sandrew gpio = <&gpa1 1 GPIO_ACTIVE_LOW>; 61279377Simp enable-active-high; 62279377Simp regulator-always-on; 63279377Simp }; 64279377Simp}; 65279377Simp 66279377Simp&ehci { 67279377Simp port@1 { 68279377Simp status = "okay"; 69279377Simp }; 70279377Simp}; 71279377Simp 72279377Simp&pinctrl_1 { 73279377Simp gpio_home_key: home_key { 74279377Simp samsung,pins = "gpx2-2"; 75279377Simp samsung,pin-pud = <0>; 76279377Simp }; 77279377Simp}; 78295436Sandrew 79295436Sandrew&serial_2 { 80295436Sandrew status = "okay"; 81295436Sandrew}; 82295436Sandrew 83295436Sandrew&serial_3 { 84295436Sandrew status = "okay"; 85295436Sandrew}; 86