Linux Audio

Check our new training course

Loading...
v5.4
 1// SPDX-License-Identifier: GPL-2.0
 2/*
 3 * Hardkernel Odroid XU3-Lite board device tree source
 4 *
 5 * Copyright (c) 2015 Krzysztof Kozlowski
 6 * Copyright (c) 2014 Collabora Ltd.
 7 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
 8 *		http://www.samsung.com
 9 */
 
 
 
 
10
11/dts-v1/;
12#include "exynos5422-odroidxu3-common.dtsi"
13#include "exynos5422-odroidxu3-audio.dtsi"
14#include "exynos54xx-odroidxu-leds.dtsi"
15
16/ {
17	model = "Hardkernel Odroid XU3 Lite";
18	compatible = "hardkernel,odroid-xu3-lite", "samsung,exynos5800", "samsung,exynos5";
19};
20
21&arm_a7_pmu {
22	status = "disabled";
23};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
25&arm_a15_pmu {
26	status = "disabled";
 
 
 
 
 
 
 
27};
28
29&pwm {
30	/*
31	 * PWM 0 -- fan
32	 * PWM 1 -- Green LED
33	 * PWM 2 -- Blue LED
34	 * PWM 3 -- on MIPI connector for backlight
35	 */
36	pinctrl-0 = <&pwm0_out &pwm1_out &pwm2_out &pwm3_out>;
37	pinctrl-names = "default";
38	status = "okay";
39};
40
41&usbdrd_dwc3_1 {
42	dr_mode = "peripheral";
43};
v4.6
 
 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};