]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/arm/boot/dts/exynos4412-odroidx.dts
UBUNTU: Ubuntu-4.13.0-45.50
[mirror_ubuntu-artful-kernel.git] / arch / arm / boot / dts / exynos4412-odroidx.dts
1 /*
2 * Hardkernel's Exynos4412 based ODROID-X board device tree source
3 *
4 * Copyright (c) 2012 Dongjin Kim <tobetter@gmail.com>
5 *
6 * Device tree source file for Hardkernel's ODROID-X board which is based
7 * on 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-odroid-common.dtsi"
16
17 / {
18 model = "Hardkernel ODROID-X board based on Exynos4412";
19 compatible = "hardkernel,odroid-x", "samsung,exynos4412", "samsung,exynos4";
20
21 memory@40000000 {
22 device_type = "memory";
23 reg = <0x40000000 0x3FF00000>;
24 };
25
26 leds {
27 compatible = "gpio-leds";
28 led1 {
29 label = "led1:heart";
30 gpios = <&gpc1 0 GPIO_ACTIVE_LOW>;
31 default-state = "on";
32 linux,default-trigger = "heartbeat";
33 };
34 led2 {
35 label = "led2:mmc0";
36 gpios = <&gpc1 2 GPIO_ACTIVE_LOW>;
37 default-state = "on";
38 linux,default-trigger = "mmc0";
39 };
40 };
41
42 gpio_keys {
43 pinctrl-0 = <&gpio_power_key &gpio_home_key>;
44
45 home_key {
46 interrupt-parent = <&gpx2>;
47 interrupts = <2 IRQ_TYPE_NONE>;
48 gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>;
49 linux,code = <KEY_HOME>;
50 label = "home key";
51 debounce-interval = <10>;
52 wakeup-source;
53 };
54 };
55
56 regulator_p3v3 {
57 compatible = "regulator-fixed";
58 regulator-name = "p3v3_en";
59 regulator-min-microvolt = <3300000>;
60 regulator-max-microvolt = <3300000>;
61 gpio = <&gpa1 1 GPIO_ACTIVE_LOW>;
62 enable-active-high;
63 regulator-always-on;
64 };
65 };
66
67 &adc {
68 vdd-supply = <&ldo10_reg>;
69 status = "okay";
70 };
71
72 /* VDDQ for MSHC (eMMC card) */
73 &buck8_reg {
74 regulator-name = "BUCK8_VDDQ_MMC4_2.8V";
75 regulator-min-microvolt = <2800000>;
76 regulator-max-microvolt = <2800000>;
77 };
78
79 &ehci {
80 port@1 {
81 status = "okay";
82 };
83 };
84
85 &mshc_0 {
86 vqmmc-supply = <&buck8_reg>;
87 };
88
89 &pinctrl_1 {
90 gpio_home_key: home_key {
91 samsung,pins = "gpx2-2";
92 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
93 };
94 };
95
96 &serial_2 {
97 status = "okay";
98 };
99
100 &serial_3 {
101 status = "okay";
102 };
103
104 &sound {
105 simple-audio-card,name = "Odroid-X";
106 simple-audio-card,widgets =
107 "Headphone", "Headphone Jack",
108 "Microphone", "Mic Jack",
109 "Microphone", "DMIC";
110 simple-audio-card,routing =
111 "Headphone Jack", "HPL",
112 "Headphone Jack", "HPR",
113 "IN1", "Mic Jack",
114 "Mic Jack", "MICBIAS";
115 };