date --set='2023-10-25 15:17:42'
hwclock --systohc
hwclock --show
b.After powering off, use the command ‘date’ to check the current time
fan: pwm-fan {
compatible = "pwm-fan";
#cooling-cells = <2>;
pwms = <&pwm6 0 50000 0>;
cooling-levels = <0 50 100 150 200 255>;
rockchip,temp-trips = <
50000 1
55000 2
60000 3
65000 4
70000 5
>;
};
&pwm6{
pinctrl-0 = <&pwm6m0_pins>;
status = "okay";
};