dmesg:
[ 12.470622] of_pwm_get(): can't parse "pwms" property
[ 12.475746] pwm-fan pwm-fan: error -ENOENT: Could not get PWM
[ 12.481493] pwm-fan: probe of pwm-fan failed with error -2
root@BPI-R4:~# cat /sys/kernel/debug/clk/clk_summary |grep -i pwm
infra_hf_66m_pwm_hck 0 0 0 156250000 0 0 50000 N
pwm_sel 0 0 0 156250000 0 0 50000 N
infra_pwm_ck8_sel 0 0 0 156250000 0 0 50000 Y
infra_hf_66m_pwm_ck8 0 0 0 156250000 0 0 50000 N
infra_pwm_ck7_sel 0 0 0 156250000 0 0 50000 Y
infra_hf_66m_pwm_ck7 0 0 0 156250000 0 0 50000 N
infra_pwm_ck6_sel 0 0 0 156250000 0 0 50000 Y
infra_hf_66m_pwm_ck6 0 0 0 156250000 0 0 50000 N
infra_pwm_ck5_sel 0 0 0 156250000 0 0 50000 Y
infra_hf_66m_pwm_ck5 0 0 0 156250000 0 0 50000 N
infra_pwm_ck4_sel 0 0 0 156250000 0 0 50000 Y
infra_hf_66m_pwm_ck4 0 0 0 156250000 0 0 50000 N
infra_pwm_ck3_sel 0 0 0 156250000 0 0 50000 Y
infra_hf_66m_pwm_ck3 0 0 0 156250000 0 0 50000 N
infra_pwm_ck2_sel 0 0 0 156250000 0 0 50000 Y
infra_hf_66m_pwm_ck2 0 0 0 156250000 0 0 50000 N
infra_pwm_ck1_sel 0 0 0 156250000 0 0 50000 Y
infra_hf_66m_pwm_ck1 0 0 0 156250000 0 0 50000 N
infra_pwm_sel 0 0 0 156250000 0 0 50000 Y
infra_hf_66m_pwm_bck 0 0 0 156250000 0 0 50000 N
root@BPI-R4:~# cd /sys/class/thermal
root@BPI-R4:/sys/class/thermal# ls -ltr
lrwxrwxrwx 1 root root 0 Jan 1 1970 thermal_zone0 -> ../../devices/virtual/thermal/thermal_zone0
no cooling device