blob: 0c0bbdbfd85f5b2761617aee9af82cb69a339b3c [file] [log] [blame]
Sjoerd Simons86a2d2a2015-01-12 17:35:49 +09001/*
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/;
Krzysztof Kozlowski3a7c01d2015-05-25 21:13:17 +090014#include "exynos5422-odroidxu3-common.dtsi"
Krzysztof Kozlowski8cec7342015-09-16 08:37:07 +090015#include "exynos5422-odroidxu3-audio.dtsi"
Sjoerd Simons86a2d2a2015-01-12 17:35:49 +090016
17/ {
18 model = "Hardkernel Odroid XU3";
19 compatible = "hardkernel,odroid-xu3", "samsung,exynos5800", "samsung,exynos5";
Krzysztof Kozlowski66583562015-09-16 08:37:11 +090020
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 };
Inha Song7a548b12015-04-10 16:32:58 +090054};
55
Krzysztof Kozlowski8021dda2015-05-14 19:47:43 +090056&i2c_0 {
Inha Song7a548b12015-04-10 16:32:58 +090057 status = "okay";
Krzysztof Kozlowski8021dda2015-05-14 19:47:43 +090058
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 };
Sjoerd Simons86a2d2a2015-01-12 17:35:49 +090086};
Krzysztof Kozlowski66583562015-09-16 08:37:11 +090087
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};