JetHome: Update JetHub D2 dts file

This commit is contained in:
Viacheslav Bocharov 2024-07-10 18:16:14 +03:00 committed by Igor
parent 684a49953b
commit 06838e7a19
1 changed files with 63 additions and 1 deletions

View File

@ -22,6 +22,7 @@
serial0 = &uart_AO;
ethernet0 = &ethmac;
rtc0 = &rtc;
rtc1 = &vrtc;
};
chosen {
@ -457,7 +458,8 @@
cap-mmc-highspeed;
mmc-ddr-1_8v;
mmc-hs200-1_8v;
max-frequency = <200000000>;
mmc-hs400-1_8v;
max-frequency = <400000000>;
disable-wp;
mmc-pwrseq = <&emmc_pwrseq>;
@ -527,6 +529,7 @@
status = "okay";
pinctrl-0 = <&i2c1_sda_h6_pins>, <&i2c1_sck_h7_pins>;
pinctrl-names = "default";
clock-frequency = <400000>;
/* GPIO expander */
u9: gpio@22 {
@ -562,6 +565,7 @@
status = "okay";
pinctrl-0 = <&i2c2_sda_x_pins>, <&i2c2_sck_x_pins>;
pinctrl-names = "default";
clock-frequency = <400000>;
};
/* I2C_EE_M3: I2C for CPU board */
@ -569,6 +573,7 @@
status = "okay";
pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
pinctrl-names = "default";
clock-frequency = <400000>;
/* I2C for rtc */
rtc: rtc@51 {
@ -652,3 +657,60 @@
reg = <0x32 0x20>;
};
};
&cpu_thermal {
trips {
cpu_passive: cpu-passive {
temperature = <70000>; /* millicelsius */
hysteresis = <2000>; /* millicelsius */
type = "passive";
};
cpu_hot: cpu-hot {
temperature = <85000>; /* millicelsius */
hysteresis = <2000>; /* millicelsius */
type = "hot";
};
cpu_critical: cpu-critical {
temperature = <90000>; /* millicelsius */
hysteresis = <2000>; /* millicelsius */
type = "critical";
};
};
cooling-maps {
map0 {
trip = <&cpu_passive>;
cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map1 {
trip = <&cpu_hot>;
cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
&ddr_thermal {
trips {
ddr_passive: ddr-passive {
temperature = <70000>; /* millicelsius */
hysteresis = <2000>; /* millicelsius */
type = "passive";
};
ddr_critical: ddr-critical {
temperature = <85000>; /* millicelsius */
hysteresis = <2000>; /* millicelsius */
type = "critical";
};
};
};