aboutsummaryrefslogtreecommitdiff
path: root/sys/dts/arm64/overlays/sun50i-a64-rpwm.dtso
blob: 8d6a8033e45d723b3c26d512f57d178c0b3c10a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/dts-v1/;
/plugin/;

/ {
	compatible = "allwinner,sun50i-a64";
};

&{/soc} {
	r_pwm: pwm@1f03800 {
		compatible = "allwinner,sun50i-a64-pwm",
			     "allwinner,sun5i-a13-pwm";
		reg = <0x01f03800 0x400>;
		clocks = <&osc24M>;
		pinctrl-names = "default";
		pinctrl-0 = <&r_pwm_pin>;
		#pwm-cells = <3>;
		status = "okay";
	};
};

&{/soc/pinctrl@1f02c00} {
	r_pwm_pin: pwm {
		pins = "PL10";
		function = "s_pwm";
	};
};
/dts-v1/;
/plugin/;

/ {
	compatible = "allwinner,sun50i-a64";
};

&{/soc} {
	r_pwm: pwm@1f03800 {
		compatible = "allwinner,sun50i-a64-pwm",
			     "allwinner,sun5i-a13-pwm";
		reg = <0x01f03800 0x400>;
		clocks = <&osc24M>;
		pinctrl-names = "default";
		pinctrl-0 = <&r_pwm_pin>;
		#pwm-cells = <3>;
		status = "okay";
	};
};

&{/soc/pinctrl@1f02c00} {
	r_pwm_pin: pwm {
		pins = "PL10";
		function = "s_pwm";
	};
};