Skip to content

Commit

Permalink
ARM: dts: sun8i: a83t: Enable the PWM
Browse files Browse the repository at this point in the history
The A83T has the same PWM block than the H3. Add it to our DT.

Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  • Loading branch information
Maxime Ripard committed Jan 4, 2018
1 parent 73f122c commit cb13dd5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/arm/boot/dts/sun8i-a83t.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,11 @@
bias-pull-up;
};

pwm_pin: pwm-pin {
pins = "PD28";
function = "pwm";
};

spdif_tx_pin: spdif-tx-pin {
pins = "PE18";
function = "spdif";
Expand Down Expand Up @@ -571,6 +576,15 @@
status = "disabled";
};

pwm: pwm@1c21400 {
compatible = "allwinner,sun8i-a83t-pwm",
"allwinner,sun8i-h3-pwm";
reg = <0x01c21400 0x400>;
clocks = <&osc24M>;
#pwm-cells = <3>;
status = "disabled";
};

uart0: serial@1c28000 {
compatible = "snps,dw-apb-uart";
reg = <0x01c28000 0x400>;
Expand Down

0 comments on commit cb13dd5

Please sign in to comment.