PWM 使用問題

您好
請教一下,我需要使用到PWM5 控制。我在 devicetree 修改如下,之後 make dtbs,並下載到板子上。

	pwm5_pin_a: pwm5@0 {
		pins = "PG4";
		function = "pwm5";
		drive-strength = <10>;
		bias-pull-up;
	};

	pwm5_pin_b: pwm5@1 {
		pins = "PG4";
		function = "gpio_in";
	};

&sdc1{
status = "disabled";
};

&pwm5 {
	pinctrl-names = "active", "sleep";
	pinctrl-0 = <&pwm5_pin_a>;
	pinctrl-1 = <&pwm5_pin_b>;
	status = "okay";
};

之後透過 echo 1 > /sys/class/pwm/pwmchip0/pwm5 ,啟動PWM

不過測量PG4 引腳,並無訊號輸出?

你好请问您的问题解决了吗?我也遇到这个问题