]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - arch/arm/boot/dts/exynos4412-odroidx.dts
Merge tag 'linux-watchdog-4.17-rc1' of git://www.linux-watchdog.org/linux-watchdog
[mirror_ubuntu-eoan-kernel.git] / arch / arm / boot / dts / exynos4412-odroidx.dts
CommitLineData
cc4637f7 1// SPDX-License-Identifier: GPL-2.0
800974ac
DK
2/*
3 * Hardkernel's Exynos4412 based ODROID-X board device tree source
4 *
5 * Copyright (c) 2012 Dongjin Kim <tobetter@gmail.com>
6 *
ec601ff3
MS
7 * Device tree source file for Hardkernel's ODROID-X board which is based
8 * on Samsung's Exynos4412 SoC.
cc4637f7 9 */
800974ac
DK
10
11/dts-v1/;
ec601ff3 12#include "exynos4412-odroid-common.dtsi"
800974ac
DK
13
14/ {
15 model = "Hardkernel ODROID-X board based on Exynos4412";
8bdb31b4 16 compatible = "hardkernel,odroid-x", "samsung,exynos4412", "samsung,exynos4";
800974ac 17
824e4133 18 memory@40000000 {
1354835a 19 device_type = "memory";
f9e45a69 20 reg = <0x40000000 0x3FF00000>;
800974ac
DK
21 };
22
23 leds {
24 compatible = "gpio-leds";
25 led1 {
26 label = "led1:heart";
c10d3290 27 gpios = <&gpc1 0 GPIO_ACTIVE_LOW>;
800974ac
DK
28 default-state = "on";
29 linux,default-trigger = "heartbeat";
30 };
31 led2 {
32 label = "led2:mmc0";
c10d3290 33 gpios = <&gpc1 2 GPIO_ACTIVE_LOW>;
800974ac
DK
34 default-state = "on";
35 linux,default-trigger = "mmc0";
36 };
37 };
38
081a15e3
MS
39 gpio_keys {
40 pinctrl-0 = <&gpio_power_key &gpio_home_key>;
41
42 home_key {
c10d3290 43 gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>;
081a15e3
MS
44 linux,code = <KEY_HOME>;
45 label = "home key";
46 debounce-interval = <10>;
36a0282a 47 wakeup-source;
081a15e3
MS
48 };
49 };
50
800974ac
DK
51 regulator_p3v3 {
52 compatible = "regulator-fixed";
53 regulator-name = "p3v3_en";
54 regulator-min-microvolt = <3300000>;
55 regulator-max-microvolt = <3300000>;
c10d3290 56 gpio = <&gpa1 1 GPIO_ACTIVE_LOW>;
800974ac 57 enable-active-high;
ec601ff3 58 regulator-always-on;
5eb30193 59 };
ec601ff3 60};
5eb30193 61
c9a865bd
MR
62&adc {
63 vdd-supply = <&ldo10_reg>;
64 status = "okay";
65};
66
303ce716
KK
67/* VDDQ for MSHC (eMMC card) */
68&buck8_reg {
69 regulator-name = "BUCK8_VDDQ_MMC4_2.8V";
70 regulator-min-microvolt = <2800000>;
71 regulator-max-microvolt = <2800000>;
72};
73
ec601ff3
MS
74&ehci {
75 port@1 {
5eb30193 76 status = "okay";
5eb30193 77 };
800974ac 78};
081a15e3 79
303ce716
KK
80&mshc_0 {
81 vqmmc-supply = <&buck8_reg>;
82};
83
081a15e3
MS
84&pinctrl_1 {
85 gpio_home_key: home_key {
86 samsung,pins = "gpx2-2";
c35bc3f9 87 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
081a15e3
MS
88 };
89};
49c1a163
KK
90
91&serial_2 {
92 status = "okay";
93};
94
95&serial_3 {
96 status = "okay";
97};
287dad02
MR
98
99&sound {
100 simple-audio-card,name = "Odroid-X";
101 simple-audio-card,widgets =
102 "Headphone", "Headphone Jack",
103 "Microphone", "Mic Jack",
104 "Microphone", "DMIC";
105 simple-audio-card,routing =
106 "Headphone Jack", "HPL",
107 "Headphone Jack", "HPR",
108 "IN1", "Mic Jack",
109 "Mic Jack", "MICBIAS";
110};