Merge branch '4.14-features' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / exynos5422-odroidxu3.dts
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/;
14 #include "exynos5422-odroidxu3-common.dtsi"
15 #include "exynos5422-odroidxu3-audio.dtsi"
16 #include "exynos54xx-odroidxu-leds.dtsi"
17
18 / {
19         model = "Hardkernel Odroid XU3";
20         compatible = "hardkernel,odroid-xu3", "samsung,exynos5800", "samsung,exynos5";
21 };
22
23 &i2c_0 {
24         status = "okay";
25
26         /* A15 cluster: VDD_ARM */
27         ina231@40 {
28                 compatible = "ti,ina231";
29                 reg = <0x40>;
30                 shunt-resistor = <10000>;
31         };
32
33         /* memory: VDD_MEM */
34         ina231@41 {
35                 compatible = "ti,ina231";
36                 reg = <0x41>;
37                 shunt-resistor = <10000>;
38         };
39
40         /* GPU: VDD_G3D */
41         ina231@44 {
42                 compatible = "ti,ina231";
43                 reg = <0x44>;
44                 shunt-resistor = <10000>;
45         };
46
47         /* A7 cluster: VDD_KFC */
48         ina231@45 {
49                 compatible = "ti,ina231";
50                 reg = <0x45>;
51                 shunt-resistor = <10000>;
52         };
53 };
54
55 &pwm {
56         /*
57          * PWM 0 -- fan
58          * PWM 1 -- Green LED
59          * PWM 2 -- Blue LED
60          * PWM 3 -- on MIPI connector for backlight
61          */
62         pinctrl-0 = <&pwm0_out &pwm1_out &pwm2_out &pwm3_out>;
63         pinctrl-names = "default";
64         status = "okay";
65 };
66
67 &usbdrd_dwc3_1 {
68         dr_mode = "peripheral";
69 };