Merge branches 'for-4.8/i2c-hid' and 'for-4.8/uhid-offload-hid-device-add' into for...
[deliverable/linux.git] / arch / arm / boot / dts / exynos5422-odroidxu3-lite.dts
1 /*
2 * Hardkernel Odroid XU3-Lite board device tree source
3 *
4 * Copyright (c) 2015 Krzysztof Kozlowski
5 * Copyright (c) 2014 Collabora Ltd.
6 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
7 * http://www.samsung.com
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 "exynos5422-odroidxu3-common.dtsi"
16 #include "exynos5422-odroidxu3-audio.dtsi"
17
18 / {
19 model = "Hardkernel Odroid XU3 Lite";
20 compatible = "hardkernel,odroid-xu3-lite", "samsung,exynos5800", "samsung,exynos5";
21
22 pwmleds {
23 compatible = "pwm-leds";
24
25 greenled {
26 label = "green:mmc0";
27 pwms = <&pwm 1 2000000 0>;
28 pwm-names = "pwm1";
29 /*
30 * Green LED is much brighter than the others
31 * so limit its max brightness
32 */
33 max_brightness = <127>;
34 linux,default-trigger = "mmc0";
35 };
36
37 blueled {
38 label = "blue:heartbeat";
39 pwms = <&pwm 2 2000000 0>;
40 pwm-names = "pwm2";
41 max_brightness = <255>;
42 linux,default-trigger = "heartbeat";
43 };
44 };
45
46 gpioleds {
47 compatible = "gpio-leds";
48 redled {
49 label = "red:microSD";
50 gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>;
51 default-state = "off";
52 linux,default-trigger = "mmc1";
53 };
54 };
55 };
56
57 &pwm {
58 /*
59 * PWM 0 -- fan
60 * PWM 1 -- Green LED
61 * PWM 2 -- Blue LED
62 * PWM 3 -- on MIPI connector for backlight
63 */
64 pinctrl-0 = <&pwm0_out &pwm1_out &pwm2_out &pwm3_out>;
65 pinctrl-names = "default";
66 status = "okay";
67 };
68
69 &usbdrd_dwc3_1 {
70 dr_mode = "peripheral";
71 };
This page took 0.048096 seconds and 5 git commands to generate.