1 // SPDX-License-Identifier: GPL-2.0
3 * Hardkernel Odroid XU/XU3 LED device tree source
5 * Copyright (c) 2015,2016 Krzysztof Kozlowski
6 * Copyright (c) 2014 Collabora Ltd.
7 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
8 * http://www.samsung.com
11 #include <dt-bindings/gpio/gpio.h>
15 compatible = "pwm-leds";
19 pwms = <&pwm 1 2000000 0>;
22 * Green LED is much brighter than the others
23 * so limit its max brightness
25 max_brightness = <127>;
26 linux,default-trigger = "mmc0";
30 label = "blue:heartbeat";
31 pwms = <&pwm 2 2000000 0>;
33 max_brightness = <255>;
34 linux,default-trigger = "heartbeat";
39 compatible = "gpio-leds";
42 label = "red:microSD";
43 gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>;
44 default-state = "off";
45 linux,default-trigger = "mmc1";