date --set='2023-10-25 15:17:42'
hwclock --systohc
hwclock --show
b.掉电一下之后,使用命令 ‘date’ 查看当前时间
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";
};