summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-a83t.dtsi
diff options
context:
space:
mode:
authorMaxime Ripard2017-12-21 12:02:36 +0100
committerMaxime Ripard2018-01-04 20:41:21 +0100
commitcb13dd53d8a7893e07717f0315016b8a99ee24c7 (patch)
tree533e05cea406739ca9326d43afb6c57b2406cf27 /arch/arm/boot/dts/sun8i-a83t.dtsi
parentARM: dts: sun8i: a83t: Add display pipeline (diff)
downloadkernel-qcow2-linux-cb13dd53d8a7893e07717f0315016b8a99ee24c7.tar.gz
kernel-qcow2-linux-cb13dd53d8a7893e07717f0315016b8a99ee24c7.tar.xz
kernel-qcow2-linux-cb13dd53d8a7893e07717f0315016b8a99ee24c7.zip
ARM: dts: sun8i: a83t: Enable the PWM
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>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-a83t.dtsi')
-rw-r--r--arch/arm/boot/dts/sun8i-a83t.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi
index 8e942ad41582..fed10aea7c7b 100644
--- a/arch/arm/boot/dts/sun8i-a83t.dtsi
+++ b/arch/arm/boot/dts/sun8i-a83t.dtsi
@@ -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";
@@ -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>;