xref: /freebsd-src/sys/contrib/device-tree/src/arm/samsung/exynos5422-odroidxu3-lite.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Hardkernel Odroid XU3-Lite board device tree source
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright (c) 2015 Krzysztof Kozlowski
6*f126890aSEmmanuel Vadot * Copyright (c) 2014 Collabora Ltd.
7*f126890aSEmmanuel Vadot * Copyright (c) 2013 Samsung Electronics Co., Ltd.
8*f126890aSEmmanuel Vadot *		http://www.samsung.com
9*f126890aSEmmanuel Vadot */
10*f126890aSEmmanuel Vadot
11*f126890aSEmmanuel Vadot/dts-v1/;
12*f126890aSEmmanuel Vadot#include "exynos5422-odroidxu3-common.dtsi"
13*f126890aSEmmanuel Vadot#include "exynos5422-odroidxu3-audio.dtsi"
14*f126890aSEmmanuel Vadot#include "exynos54xx-odroidxu-leds.dtsi"
15*f126890aSEmmanuel Vadot
16*f126890aSEmmanuel Vadot/ {
17*f126890aSEmmanuel Vadot	model = "Hardkernel Odroid XU3 Lite";
18*f126890aSEmmanuel Vadot	compatible = "hardkernel,odroid-xu3-lite", "samsung,exynos5800", "samsung,exynos5";
19*f126890aSEmmanuel Vadot
20*f126890aSEmmanuel Vadot	aliases {
21*f126890aSEmmanuel Vadot		ethernet = &ethernet;
22*f126890aSEmmanuel Vadot	};
23*f126890aSEmmanuel Vadot};
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot&arm_a7_pmu {
26*f126890aSEmmanuel Vadot	status = "disabled";
27*f126890aSEmmanuel Vadot};
28*f126890aSEmmanuel Vadot
29*f126890aSEmmanuel Vadot&arm_a15_pmu {
30*f126890aSEmmanuel Vadot	status = "disabled";
31*f126890aSEmmanuel Vadot};
32*f126890aSEmmanuel Vadot
33*f126890aSEmmanuel Vadot&chipid {
34*f126890aSEmmanuel Vadot	samsung,asv-bin = <2>;
35*f126890aSEmmanuel Vadot};
36*f126890aSEmmanuel Vadot
37*f126890aSEmmanuel Vadot/*
38*f126890aSEmmanuel Vadot * Odroid XU3-Lite board uses SoC revision with lower maximum frequencies
39*f126890aSEmmanuel Vadot * than Odroid XU3/XU4 boards: 1.8 GHz for A15 cores & 1.3 GHz for A7 cores.
40*f126890aSEmmanuel Vadot * Therefore we need to update OPPs tables and thermal maps accordingly.
41*f126890aSEmmanuel Vadot */
42*f126890aSEmmanuel Vadot&cluster_a15_opp_table {
43*f126890aSEmmanuel Vadot	/delete-node/opp-2000000000;
44*f126890aSEmmanuel Vadot	/delete-node/opp-1900000000;
45*f126890aSEmmanuel Vadot};
46*f126890aSEmmanuel Vadot
47*f126890aSEmmanuel Vadot&cluster_a7_opp_table {
48*f126890aSEmmanuel Vadot	/delete-node/opp-1400000000;
49*f126890aSEmmanuel Vadot};
50*f126890aSEmmanuel Vadot
51*f126890aSEmmanuel Vadot&cpu0_cooling_map4 {
52*f126890aSEmmanuel Vadot	cooling-device = <&cpu0 3 7>,
53*f126890aSEmmanuel Vadot			 <&cpu1 3 7>,
54*f126890aSEmmanuel Vadot			 <&cpu2 3 7>,
55*f126890aSEmmanuel Vadot			 <&cpu3 3 7>,
56*f126890aSEmmanuel Vadot			 <&cpu4 3 12>,
57*f126890aSEmmanuel Vadot			 <&cpu5 3 12>,
58*f126890aSEmmanuel Vadot			 <&cpu6 3 12>,
59*f126890aSEmmanuel Vadot			 <&cpu7 3 12>;
60*f126890aSEmmanuel Vadot};
61*f126890aSEmmanuel Vadot
62*f126890aSEmmanuel Vadot&cpu1_cooling_map4 {
63*f126890aSEmmanuel Vadot	cooling-device = <&cpu0 3 7>,
64*f126890aSEmmanuel Vadot			 <&cpu1 3 7>,
65*f126890aSEmmanuel Vadot			 <&cpu2 3 7>,
66*f126890aSEmmanuel Vadot			 <&cpu3 3 7>,
67*f126890aSEmmanuel Vadot			 <&cpu4 3 12>,
68*f126890aSEmmanuel Vadot			 <&cpu5 3 12>,
69*f126890aSEmmanuel Vadot			 <&cpu6 3 12>,
70*f126890aSEmmanuel Vadot			 <&cpu7 3 12>;
71*f126890aSEmmanuel Vadot};
72*f126890aSEmmanuel Vadot
73*f126890aSEmmanuel Vadot&cpu2_cooling_map4 {
74*f126890aSEmmanuel Vadot	cooling-device = <&cpu0 3 7>,
75*f126890aSEmmanuel Vadot			 <&cpu1 3 7>,
76*f126890aSEmmanuel Vadot			 <&cpu2 3 7>,
77*f126890aSEmmanuel Vadot			 <&cpu3 3 7>,
78*f126890aSEmmanuel Vadot			 <&cpu4 3 12>,
79*f126890aSEmmanuel Vadot			 <&cpu5 3 12>,
80*f126890aSEmmanuel Vadot			 <&cpu6 3 12>,
81*f126890aSEmmanuel Vadot			 <&cpu7 3 12>;
82*f126890aSEmmanuel Vadot};
83*f126890aSEmmanuel Vadot
84*f126890aSEmmanuel Vadot&cpu3_cooling_map4 {
85*f126890aSEmmanuel Vadot	cooling-device = <&cpu0 3 7>,
86*f126890aSEmmanuel Vadot			 <&cpu1 3 7>,
87*f126890aSEmmanuel Vadot			 <&cpu2 3 7>,
88*f126890aSEmmanuel Vadot			 <&cpu3 3 7>,
89*f126890aSEmmanuel Vadot			 <&cpu4 3 12>,
90*f126890aSEmmanuel Vadot			 <&cpu5 3 12>,
91*f126890aSEmmanuel Vadot			 <&cpu6 3 12>,
92*f126890aSEmmanuel Vadot			 <&cpu7 3 12>;
93*f126890aSEmmanuel Vadot};
94*f126890aSEmmanuel Vadot
95*f126890aSEmmanuel Vadot&pwm {
96*f126890aSEmmanuel Vadot	/*
97*f126890aSEmmanuel Vadot	 * PWM 0 -- fan
98*f126890aSEmmanuel Vadot	 * PWM 1 -- Green LED
99*f126890aSEmmanuel Vadot	 * PWM 2 -- Blue LED
100*f126890aSEmmanuel Vadot	 * PWM 3 -- on MIPI connector for backlight
101*f126890aSEmmanuel Vadot	 */
102*f126890aSEmmanuel Vadot	pinctrl-0 = <&pwm0_out &pwm1_out &pwm2_out &pwm3_out>;
103*f126890aSEmmanuel Vadot	pinctrl-names = "default";
104*f126890aSEmmanuel Vadot	status = "okay";
105*f126890aSEmmanuel Vadot};
106*f126890aSEmmanuel Vadot
107*f126890aSEmmanuel Vadot&usbdrd_dwc3_1 {
108*f126890aSEmmanuel Vadot	dr_mode = "peripheral";
109*f126890aSEmmanuel Vadot};
110*f126890aSEmmanuel Vadot
111*f126890aSEmmanuel Vadot&usbhost2 {
112*f126890aSEmmanuel Vadot	#address-cells = <1>;
113*f126890aSEmmanuel Vadot	#size-cells = <0>;
114*f126890aSEmmanuel Vadot
115*f126890aSEmmanuel Vadot	hub@1 {
116*f126890aSEmmanuel Vadot		compatible = "usb424,9514";
117*f126890aSEmmanuel Vadot		reg = <1>;
118*f126890aSEmmanuel Vadot		#address-cells = <1>;
119*f126890aSEmmanuel Vadot		#size-cells = <0>;
120*f126890aSEmmanuel Vadot
121*f126890aSEmmanuel Vadot		ethernet: ethernet@1 {
122*f126890aSEmmanuel Vadot			compatible = "usb424,ec00";
123*f126890aSEmmanuel Vadot			reg = <1>;
124*f126890aSEmmanuel Vadot			local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */
125*f126890aSEmmanuel Vadot		};
126*f126890aSEmmanuel Vadot	};
127*f126890aSEmmanuel Vadot};
128