Skip to content

Commit

Permalink
ARM: dts: sunxi: h3/h5: add r_pwm node
Browse files Browse the repository at this point in the history
There is a second PWM unit available in the PL I/O block.
Add a node and pinmux definition for it.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
  • Loading branch information
Mans Rullgard authored and Maxime Ripard committed Feb 27, 2020
1 parent 4098a2b commit 179a79f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions arch/arm/boot/dts/sunxi-h3-h5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,21 @@
pins = "PL0", "PL1";
function = "s_i2c";
};

r_pwm_pin: r-pwm-pin {
pins = "PL10";
function = "s_pwm";
};
};

r_pwm: pwm@1f03800 {
compatible = "allwinner,sun8i-h3-pwm";
reg = <0x01f03800 0x8>;
pinctrl-names = "default";
pinctrl-0 = <&r_pwm_pin>;
clocks = <&osc24M>;
#pwm-cells = <3>;
status = "disabled";
};
};
};

0 comments on commit 179a79f

Please sign in to comment.