1/dts-v1/; 2/plugin/; 3 4/ { 5 compatible = "allwinner,sun50i-a64"; 6}; 7 8&{/soc} { 9 r_pwm: pwm@1f03800 { 10 compatible = "allwinner,sun50i-a64-pwm", 11 "allwinner,sun5i-a13-pwm"; 12 reg = <0x01f03800 0x400>; 13 clocks = <&osc24M>; 14 pinctrl-names = "default"; 15 pinctrl-0 = <&r_pwm_pin>; 16 #pwm-cells = <3>; 17 status = "okay"; 18 }; 19}; 20 21&{/soc/pinctrl@1f02c00} { 22 r_pwm_pin: pwm { 23 pins = "PL10"; 24 function = "s_pwm"; 25 }; 26}; 27