xref: /freebsd/sys/dts/arm64/overlays/sun50i-a64-pwm.dtso (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1/dts-v1/;
2/plugin/;
3
4/ {
5	compatible = "allwinner,sun50i-a64";
6};
7
8&{/soc} {
9	pwm: pwm@1c21400 {
10		compatible = "allwinner,sun50i-a64-pwm",
11			     "allwinner,sun5i-a13-pwm";
12		reg = <0x01c21400 0x400>;
13		clocks = <&osc24M>;
14		pinctrl-names = "default";
15		pinctrl-0 = <&pwm_pin>;
16		#pwm-cells = <3>;
17		status = "disabled";
18	};
19};
20
21&{/soc/pinctrl@1c20800} {
22	pwm_pin: pwm_pin {
23		pins = "PD22";
24		function = "pwm";
25	};
26};
27