xref: /linux/arch/arm/boot/dts/samsung/exynos5422-odroidxu3-lite.dts (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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};
128