blob: 62c5928aa994b8b4b63886b7bda8ecec447b93fe [file] [log] [blame]
Krzysztof Kozlowskicc4637f2017-12-25 11:40:09 +01001// SPDX-License-Identifier: GPL-2.0
Krzysztof Kozlowski3a7c01d2015-05-25 21:13:17 +09002/*
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
Krzysztof Kozlowskicc4637f2017-12-25 11:40:09 +01009 */
Krzysztof Kozlowski3a7c01d2015-05-25 21:13:17 +090010
11/dts-v1/;
12#include "exynos5422-odroidxu3-common.dtsi"
Krzysztof Kozlowski8cec7342015-09-16 08:37:07 +090013#include "exynos5422-odroidxu3-audio.dtsi"
Krzysztof Kozlowski8c2bd872016-05-03 14:35:51 +020014#include "exynos54xx-odroidxu-leds.dtsi"
Krzysztof Kozlowski3a7c01d2015-05-25 21:13:17 +090015
16/ {
17 model = "Hardkernel Odroid XU3 Lite";
18 compatible = "hardkernel,odroid-xu3-lite", "samsung,exynos5800", "samsung,exynos5";
Łukasz Stelmach9ef3a2c2020-11-03 19:44:09 +010019
20 aliases {
21 ethernet = &ethernet;
22 };
Krzysztof Kozlowski66583562015-09-16 08:37:11 +090023};
24
Marek Szyprowski4dc185c2019-02-18 14:22:57 +010025&arm_a7_pmu {
26 status = "disabled";
27};
28
29&arm_a15_pmu {
30 status = "disabled";
31};
32
Sylwester Nawrockif33e70c2019-09-10 14:36:18 +020033&chipid {
34 samsung,asv-bin = <2>;
35};
36
Bartlomiej Zolnierkiewiczeaffc4d2019-12-10 12:40:27 +010037/*
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
Krzysztof Kozlowski66583562015-09-16 08:37:11 +090095&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 {
Marek Szyprowski997a2ec2015-11-19 12:51:22 +0100108 dr_mode = "peripheral";
Krzysztof Kozlowski3a7c01d2015-05-25 21:13:17 +0900109};
Łukasz Stelmach9ef3a2c2020-11-03 19:44:09 +0100110
111&usbhost2 {
112 #address-cells = <1>;
113 #size-cells = <0>;
114
115 hub@1 {
116 compatible = "usb0424,9514";
117 reg = <1>;
118 #address-cells = <1>;
119 #size-cells = <0>;
120
121 ethernet: usbether@1 {
122 compatible = "usb0424,ec00";
123 reg = <1>;
124 local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */
125 };
126 };
127};