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