Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/dts Add pwm node
details: https://anonhg.NetBSD.org/src/rev/4e3e7d0acea1
branches: trunk
changeset: 318832:4e3e7d0acea1
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun May 06 10:43:32 2018 +0000
description:
Add pwm node
diffstat:
sys/arch/arm/dts/sun50i-a64.dtsi | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r 9ac9389d6f66 -r 4e3e7d0acea1 sys/arch/arm/dts/sun50i-a64.dtsi
--- a/sys/arch/arm/dts/sun50i-a64.dtsi Sun May 06 10:36:06 2018 +0000
+++ b/sys/arch/arm/dts/sun50i-a64.dtsi Sun May 06 10:43:32 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun50i-a64.dtsi,v 1.6 2018/05/05 13:31:35 jmcneill Exp $ */
+/* $NetBSD: sun50i-a64.dtsi,v 1.7 2018/05/06 10:43:32 jmcneill Exp $ */
/*-
* Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -41,6 +41,14 @@
};
soc {
+ pwm: pwm@1c21400 {
+ compatible = "allwinner,sun50i-a64-pwm";
+ reg = <0x01c21400 0x8>;
+ clocks = <&osc24M>;
+ #pwm-cells = <3>;
+ status = "disabled";
+ };
+
rtp: rtp@1c25000 {
compatible = "allwinner,sun50i-a64-ts";
reg = <0x01c25000 0x400>;
@@ -52,3 +60,10 @@
};
};
};
+
+&pio {
+ pwm0_pins: pwm0 {
+ pins = "PD22";
+ function = "pwm";
+ };
+};
Home |
Main Index |
Thread Index |
Old Index