Linux Audio

Check our new training course

Loading...
v6.2
  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	aliases {
 21		ethernet = &ethernet;
 22	};
 23};
 24
 25&arm_a7_pmu {
 26	status = "disabled";
 27};
 28
 29&arm_a15_pmu {
 30	status = "disabled";
 31};
 32
 33&chipid {
 34	samsung,asv-bin = <2>;
 35};
 36
 37/*
 38 * Odroid XU3-Lite board uses SoC revision with lower maximum frequencies
 39 * than Odroid XU3/XU4 boards: 1.8 GHz for A15 cores & 1.3 GHz for A7 cores.
 40 * Therefore we need to update OPPs tables and thermal maps accordingly.
 41 */
 42&cluster_a15_opp_table {
 43	/delete-node/opp-2000000000;
 44	/delete-node/opp-1900000000;
 45};
 46
 47&cluster_a7_opp_table {
 48	/delete-node/opp-1400000000;
 49};
 50
 51&cpu0_cooling_map4 {
 52	cooling-device = <&cpu0 3 7>,
 53			 <&cpu1 3 7>,
 54			 <&cpu2 3 7>,
 55			 <&cpu3 3 7>,
 56			 <&cpu4 3 12>,
 57			 <&cpu5 3 12>,
 58			 <&cpu6 3 12>,
 59			 <&cpu7 3 12>;
 60};
 61
 62&cpu1_cooling_map4 {
 63	cooling-device = <&cpu0 3 7>,
 64			 <&cpu1 3 7>,
 65			 <&cpu2 3 7>,
 66			 <&cpu3 3 7>,
 67			 <&cpu4 3 12>,
 68			 <&cpu5 3 12>,
 69			 <&cpu6 3 12>,
 70			 <&cpu7 3 12>;
 71};
 72
 73&cpu2_cooling_map4 {
 74	cooling-device = <&cpu0 3 7>,
 75			 <&cpu1 3 7>,
 76			 <&cpu2 3 7>,
 77			 <&cpu3 3 7>,
 78			 <&cpu4 3 12>,
 79			 <&cpu5 3 12>,
 80			 <&cpu6 3 12>,
 81			 <&cpu7 3 12>;
 82};
 83
 84&cpu3_cooling_map4 {
 85	cooling-device = <&cpu0 3 7>,
 86			 <&cpu1 3 7>,
 87			 <&cpu2 3 7>,
 88			 <&cpu3 3 7>,
 89			 <&cpu4 3 12>,
 90			 <&cpu5 3 12>,
 91			 <&cpu6 3 12>,
 92			 <&cpu7 3 12>;
 93};
 94
 95&pwm {
 96	/*
 97	 * PWM 0 -- fan
 98	 * PWM 1 -- Green LED
 99	 * PWM 2 -- Blue LED
100	 * PWM 3 -- on MIPI connector for backlight
101	 */
102	pinctrl-0 = <&pwm0_out &pwm1_out &pwm2_out &pwm3_out>;
103	pinctrl-names = "default";
104	status = "okay";
105};
106
107&usbdrd_dwc3_1 {
108	dr_mode = "peripheral";
109};
110
111&usbhost2 {
112	#address-cells = <1>;
113	#size-cells = <0>;
114
115	hub@1 {
116		compatible = "usb424,9514";
117		reg = <1>;
118		#address-cells = <1>;
119		#size-cells = <0>;
120
121		ethernet: ethernet@1 {
122			compatible = "usb424,ec00";
123			reg = <1>;
124			local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */
125		};
126	};
127};
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};