mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 03:24:13 +07:00
1ac49427b5
Odroid HC1 board is based on Odroid XU4 board, but it has no HDMI, no eMMC, no built-in USB3.0 hub, no extension port pins, and no GPIO button. USB3.0 ports are used for built-in JMicron USB to SATA bridge and Gigabit R8152 ethernet chips. HC1 uses only passive cooling. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
214 lines
4.4 KiB
Plaintext
214 lines
4.4 KiB
Plaintext
/*
|
|
* Hardkernel Odroid HC1 board device tree source
|
|
*
|
|
* Copyright (c) 2017 Marek Szyprowski
|
|
* Copyright (c) 2017 Samsung Electronics Co., Ltd.
|
|
* http://www.samsung.com
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "exynos5422-odroid-core.dtsi"
|
|
|
|
/ {
|
|
model = "Hardkernel Odroid HC1";
|
|
compatible = "hardkernel,odroid-hc1", "samsung,exynos5800", \
|
|
"samsung,exynos5";
|
|
|
|
pwmleds {
|
|
compatible = "pwm-leds";
|
|
|
|
blueled {
|
|
label = "blue:heartbeat";
|
|
pwms = <&pwm 2 2000000 0>;
|
|
pwm-names = "pwm2";
|
|
max_brightness = <255>;
|
|
linux,default-trigger = "heartbeat";
|
|
};
|
|
};
|
|
|
|
thermal-zones {
|
|
cpu0_thermal: cpu0-thermal {
|
|
thermal-sensors = <&tmu_cpu0 0>;
|
|
trips {
|
|
cpu0_alert0: cpu-alert-0 {
|
|
temperature = <70000>; /* millicelsius */
|
|
hysteresis = <10000>; /* millicelsius */
|
|
type = "active";
|
|
};
|
|
cpu0_alert1: cpu-alert-1 {
|
|
temperature = <85000>; /* millicelsius */
|
|
hysteresis = <10000>; /* millicelsius */
|
|
type = "active";
|
|
};
|
|
cpu0_crit0: cpu-crit-0 {
|
|
temperature = <120000>; /* millicelsius */
|
|
hysteresis = <0>; /* millicelsius */
|
|
type = "critical";
|
|
};
|
|
};
|
|
|
|
cooling-maps {
|
|
/*
|
|
* When reaching cpu0_alert0, reduce CPU
|
|
* by 2 steps. On Exynos5422/5800 that would
|
|
* be: 1600 MHz and 1100 MHz.
|
|
*/
|
|
map0 {
|
|
trip = <&cpu0_alert0>;
|
|
cooling-device = <&cpu0 0 2>;
|
|
};
|
|
map1 {
|
|
trip = <&cpu0_alert0>;
|
|
cooling-device = <&cpu4 0 2>;
|
|
};
|
|
/*
|
|
* When reaching cpu0_alert1, reduce CPU
|
|
* further, down to 600 MHz (12 steps for big,
|
|
* 7 steps for LITTLE).
|
|
*/
|
|
map2 {
|
|
trip = <&cpu0_alert1>;
|
|
cooling-device = <&cpu0 3 7>;
|
|
};
|
|
map3 {
|
|
trip = <&cpu0_alert1>;
|
|
cooling-device = <&cpu4 3 12>;
|
|
};
|
|
};
|
|
};
|
|
cpu1_thermal: cpu1-thermal {
|
|
thermal-sensors = <&tmu_cpu1 0>;
|
|
trips {
|
|
cpu1_alert0: cpu-alert-0 {
|
|
temperature = <70000>;
|
|
hysteresis = <10000>;
|
|
type = "active";
|
|
};
|
|
cpu1_alert1: cpu-alert-1 {
|
|
temperature = <85000>;
|
|
hysteresis = <10000>;
|
|
type = "active";
|
|
};
|
|
cpu1_crit0: cpu-crit-0 {
|
|
temperature = <120000>;
|
|
hysteresis = <0>;
|
|
type = "critical";
|
|
};
|
|
};
|
|
cooling-maps {
|
|
map0 {
|
|
trip = <&cpu1_alert0>;
|
|
cooling-device = <&cpu0 0 2>;
|
|
};
|
|
map1 {
|
|
trip = <&cpu1_alert0>;
|
|
cooling-device = <&cpu4 0 2>;
|
|
};
|
|
map2 {
|
|
trip = <&cpu1_alert1>;
|
|
cooling-device = <&cpu0 3 7>;
|
|
};
|
|
map3 {
|
|
trip = <&cpu1_alert1>;
|
|
cooling-device = <&cpu4 3 12>;
|
|
};
|
|
};
|
|
};
|
|
cpu2_thermal: cpu2-thermal {
|
|
thermal-sensors = <&tmu_cpu2 0>;
|
|
trips {
|
|
cpu2_alert0: cpu-alert-0 {
|
|
temperature = <70000>;
|
|
hysteresis = <10000>;
|
|
type = "active";
|
|
};
|
|
cpu2_alert1: cpu-alert-1 {
|
|
temperature = <85000>;
|
|
hysteresis = <10000>;
|
|
type = "active";
|
|
};
|
|
cpu2_crit0: cpu-crit-0 {
|
|
temperature = <120000>;
|
|
hysteresis = <0>;
|
|
type = "critical";
|
|
};
|
|
};
|
|
cooling-maps {
|
|
map0 {
|
|
trip = <&cpu2_alert0>;
|
|
cooling-device = <&cpu0 0 2>;
|
|
};
|
|
map1 {
|
|
trip = <&cpu2_alert0>;
|
|
cooling-device = <&cpu4 0 2>;
|
|
};
|
|
map2 {
|
|
trip = <&cpu2_alert1>;
|
|
cooling-device = <&cpu0 3 7>;
|
|
};
|
|
map3 {
|
|
trip = <&cpu2_alert1>;
|
|
cooling-device = <&cpu4 3 12>;
|
|
};
|
|
};
|
|
};
|
|
cpu3_thermal: cpu3-thermal {
|
|
thermal-sensors = <&tmu_cpu3 0>;
|
|
trips {
|
|
cpu3_alert0: cpu-alert-0 {
|
|
temperature = <70000>;
|
|
hysteresis = <10000>;
|
|
type = "active";
|
|
};
|
|
cpu3_alert1: cpu-alert-1 {
|
|
temperature = <85000>;
|
|
hysteresis = <10000>;
|
|
type = "active";
|
|
};
|
|
cpu3_crit0: cpu-crit-0 {
|
|
temperature = <120000>;
|
|
hysteresis = <0>;
|
|
type = "critical";
|
|
};
|
|
};
|
|
cooling-maps {
|
|
map0 {
|
|
trip = <&cpu3_alert0>;
|
|
cooling-device = <&cpu0 0 2>;
|
|
};
|
|
map1 {
|
|
trip = <&cpu3_alert0>;
|
|
cooling-device = <&cpu4 0 2>;
|
|
};
|
|
map2 {
|
|
trip = <&cpu3_alert1>;
|
|
cooling-device = <&cpu0 3 7>;
|
|
};
|
|
map3 {
|
|
trip = <&cpu3_alert1>;
|
|
cooling-device = <&cpu4 3 12>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
};
|
|
|
|
&pwm {
|
|
/*
|
|
* PWM 2 -- Blue LED
|
|
*/
|
|
pinctrl-0 = <&pwm2_out>;
|
|
pinctrl-names = "default";
|
|
samsung,pwm-outputs = <2>;
|
|
status = "okay";
|
|
};
|
|
|
|
&usbdrd_dwc3_1 {
|
|
dr_mode = "host";
|
|
};
|