]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - arch/arm/boot/dts/exynos54xx-odroidxu-leds.dtsi
BCM270X: Enable the DSI panel node in the VC4 overlay.
[mirror_ubuntu-zesty-kernel.git] / arch / arm / boot / dts / exynos54xx-odroidxu-leds.dtsi
CommitLineData
8c2bd87e
KK
1/*
2 * Hardkernel Odroid XU/XU3 LED device tree source
3 *
4 * Copyright (c) 2015,2016 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#include <dt-bindings/gpio/gpio.h>
15
16/ {
17 pwmleds {
18 compatible = "pwm-leds";
19
20 greenled {
21 label = "green:mmc0";
22 pwms = <&pwm 1 2000000 0>;
23 pwm-names = "pwm1";
24 /*
25 * Green LED is much brighter than the others
26 * so limit its max brightness
27 */
28 max_brightness = <127>;
29 linux,default-trigger = "mmc0";
30 };
31
32 blueled {
33 label = "blue:heartbeat";
34 pwms = <&pwm 2 2000000 0>;
35 pwm-names = "pwm2";
36 max_brightness = <255>;
37 linux,default-trigger = "heartbeat";
38 };
39 };
40
41 gpioleds {
42 compatible = "gpio-leds";
43 redled {
44 label = "red:microSD";
45 gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>;
46 default-state = "off";
47 linux,default-trigger = "mmc1";
48 };
49 };
50};