From 18696fe7ac6062e0553475b5232ab225a66c58d3 Mon Sep 17 00:00:00 2001 From: Jian Hu Date: Mon, 8 Jan 2018 21:36:16 +0800 Subject: [PATCH] arm64: dts: meson-g12a: add pwm DT info [2/2] PD#156734: arm64: dts: meson-g12a: add pwm DT info Change-Id: Iff1ed3709c66e97ac0334290d873b8a67544a6f2 Signed-off-by: Jian Hu --- arch/arm64/boot/dts/amlogic/mesong12a.dtsi | 78 ++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/mesong12a.dtsi b/arch/arm64/boot/dts/amlogic/mesong12a.dtsi index c204444..069b2d2 100644 --- a/arch/arm64/boot/dts/amlogic/mesong12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesong12a.dtsi @@ -290,6 +290,54 @@ reg = <0x0 0x18004 0x0 0x4 0x0 0x1800c 0x0 0x4>; }; + + pwm_ab: pwm@1b000 { + compatible = "amlogic,txlx-ee-pwm"; + reg = <0x0 0x1b000 0x0 0x20>; + #pwm-cells = <3>; + clocks = <&xtal>, + <&xtal>, + <&xtal>, + <&xtal>; + clock-names = "clkin0", + "clkin1", + "clkin2", + "clkin3"; + /* default xtal 24m clkin0-clkin2 and + * clkin1-clkin3 should be set the same + */ + status = "disabled"; + }; + + pwm_cd: pwm@1a000 { + compatible = "amlogic,txlx-ee-pwm"; + reg = <0x0 0x1a000 0x0 0x20>; + #pwm-cells = <3>; + clocks = <&xtal>, + <&xtal>, + <&xtal>, + <&xtal>; + clock-names = "clkin0", + "clkin1", + "clkin2", + "clkin3"; + status = "disabled"; + }; + + pwm_ef: pwm@19000 { + compatible = "amlogic,txlx-ee-pwm"; + reg = <0x0 0x19000 0x0 0x20>; + #pwm-cells = <3>; + clocks = <&xtal>, + <&xtal>, + <&xtal>, + <&xtal>; + clock-names = "clkin0", + "clkin1", + "clkin2", + "clkin3"; + status = "disabled"; + }; }; /* end of cbus */ aobus: aobus@ff800000 { @@ -302,6 +350,36 @@ cpu_version { reg=<0x0 0x220 0x0 0x4>; }; + + pwm_AO_ab: pwm@7000 { + compatible = "amlogic,txlx-ao-pwm"; + reg = <0x0 0x7000 0x0 0x20>; + #pwm-cells = <3>; + clocks = <&xtal>, + <&xtal>, + <&xtal>, + <&xtal>; + clock-names = "clkin0", + "clkin1", + "clkin2", + "clkin3"; + status = "disabled"; + }; + + pwm_AO_cd: pwm@2000 { + compatible = "amlogic,txlx-ao-pwm"; + reg = <0x0 0x2000 0x0 0x20>; + #pwm-cells = <3>; + clocks = <&xtal>, + <&xtal>, + <&xtal>, + <&xtal>; + clock-names = "clkin0", + "clkin1", + "clkin2", + "clkin3"; + status = "disabled"; + }; };/* end of aobus */ periphs: periphs@ff634400 { -- 2.7.4