]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/arm/boot/dts/exynos5422-odroidxu3.dts
Merge branches 'for-4.4/upstream-fixes', 'for-4.5/async-suspend', 'for-4.5/container...
[mirror_ubuntu-artful-kernel.git] / arch / arm / boot / dts / exynos5422-odroidxu3.dts
CommitLineData
86a2d2ac
SS
1/*
2 * Hardkernel Odroid XU3 board device tree source
3 *
4 * Copyright (c) 2014 Collabora Ltd.
5 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11*/
12
13/dts-v1/;
3a7c01d7 14#include "exynos5422-odroidxu3-common.dtsi"
8cec7349 15#include "exynos5422-odroidxu3-audio.dtsi"
86a2d2ac
SS
16
17/ {
18 model = "Hardkernel Odroid XU3";
19 compatible = "hardkernel,odroid-xu3", "samsung,exynos5800", "samsung,exynos5";
66583560
KK
20
21 pwmleds {
22 compatible = "pwm-leds";
23
24 greenled {
25 label = "green:mmc0";
26 pwms = <&pwm 1 2000000 0>;
27 pwm-names = "pwm1";
28 /*
29 * Green LED is much brighter than the others
30 * so limit its max brightness
31 */
32 max_brightness = <127>;
33 linux,default-trigger = "mmc0";
34 };
35
36 blueled {
37 label = "blue:heartbeat";
38 pwms = <&pwm 2 2000000 0>;
39 pwm-names = "pwm2";
40 max_brightness = <255>;
41 linux,default-trigger = "heartbeat";
42 };
43 };
44
45 gpioleds {
46 compatible = "gpio-leds";
47 redled {
48 label = "red:microSD";
49 gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>;
50 default-state = "off";
51 linux,default-trigger = "mmc1";
52 };
53 };
7a548b1f
IS
54};
55
8021dda5 56&i2c_0 {
7a548b1f 57 status = "okay";
8021dda5
KK
58
59 /* A15 cluster: VDD_ARM */
60 ina231@40 {
61 compatible = "ti,ina231";
62 reg = <0x40>;
63 shunt-resistor = <10000>;
64 };
65
66 /* memory: VDD_MEM */
67 ina231@41 {
68 compatible = "ti,ina231";
69 reg = <0x41>;
70 shunt-resistor = <10000>;
71 };
72
73 /* GPU: VDD_G3D */
74 ina231@44 {
75 compatible = "ti,ina231";
76 reg = <0x44>;
77 shunt-resistor = <10000>;
78 };
79
80 /* A7 cluster: VDD_KFC */
81 ina231@45 {
82 compatible = "ti,ina231";
83 reg = <0x45>;
84 shunt-resistor = <10000>;
85 };
86a2d2ac 86};
66583560
KK
87
88&pwm {
89 /*
90 * PWM 0 -- fan
91 * PWM 1 -- Green LED
92 * PWM 2 -- Blue LED
93 * PWM 3 -- on MIPI connector for backlight
94 */
95 pinctrl-0 = <&pwm0_out &pwm1_out &pwm2_out &pwm3_out>;
96 pinctrl-names = "default";
97 status = "okay";
98};
99
100&usbdrd_dwc3_1 {
101 dr_mode = "otg";
102};