Loading...
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&pwm {
22 /*
23 * PWM 0 -- fan
24 * PWM 1 -- Green LED
25 * PWM 2 -- Blue LED
26 * PWM 3 -- on MIPI connector for backlight
27 */
28 pinctrl-0 = <&pwm0_out &pwm1_out &pwm2_out &pwm3_out>;
29 pinctrl-names = "default";
30 status = "okay";
31};
32
33&usbdrd_dwc3_1 {
34 dr_mode = "peripheral";
35};
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&chipid {
30 samsung,asv-bin = <2>;
31};
32
33/*
34 * Odroid XU3-Lite board uses SoC revision with lower maximum frequencies
35 * than Odroid XU3/XU4 boards: 1.8 GHz for A15 cores & 1.3 GHz for A7 cores.
36 * Therefore we need to update OPPs tables and thermal maps accordingly.
37 */
38&cluster_a15_opp_table {
39 /delete-node/opp-2000000000;
40 /delete-node/opp-1900000000;
41};
42
43&cluster_a7_opp_table {
44 /delete-node/opp-1400000000;
45};
46
47&cpu0_cooling_map4 {
48 cooling-device = <&cpu0 3 7>,
49 <&cpu1 3 7>,
50 <&cpu2 3 7>,
51 <&cpu3 3 7>,
52 <&cpu4 3 12>,
53 <&cpu5 3 12>,
54 <&cpu6 3 12>,
55 <&cpu7 3 12>;
56};
57
58&cpu1_cooling_map4 {
59 cooling-device = <&cpu0 3 7>,
60 <&cpu1 3 7>,
61 <&cpu2 3 7>,
62 <&cpu3 3 7>,
63 <&cpu4 3 12>,
64 <&cpu5 3 12>,
65 <&cpu6 3 12>,
66 <&cpu7 3 12>;
67};
68
69&cpu2_cooling_map4 {
70 cooling-device = <&cpu0 3 7>,
71 <&cpu1 3 7>,
72 <&cpu2 3 7>,
73 <&cpu3 3 7>,
74 <&cpu4 3 12>,
75 <&cpu5 3 12>,
76 <&cpu6 3 12>,
77 <&cpu7 3 12>;
78};
79
80&cpu3_cooling_map4 {
81 cooling-device = <&cpu0 3 7>,
82 <&cpu1 3 7>,
83 <&cpu2 3 7>,
84 <&cpu3 3 7>,
85 <&cpu4 3 12>,
86 <&cpu5 3 12>,
87 <&cpu6 3 12>,
88 <&cpu7 3 12>;
89};
90
91&pwm {
92 /*
93 * PWM 0 -- fan
94 * PWM 1 -- Green LED
95 * PWM 2 -- Blue LED
96 * PWM 3 -- on MIPI connector for backlight
97 */
98 pinctrl-0 = <&pwm0_out &pwm1_out &pwm2_out &pwm3_out>;
99 pinctrl-names = "default";
100 status = "okay";
101};
102
103&usbdrd_dwc3_1 {
104 dr_mode = "peripheral";
105};