summary refs log tree commit diff
path: root/arch/mips/boot/dts/brcm/bcm7435.dtsi
diff options
context:
space:
mode:
authorJaedon Shin <jaedon.shin@gmail.com>2016-08-19 11:52:26 +0900
committerRalf Baechle <ralf@linux-mips.org>2016-10-06 17:31:01 +0200
commit7bbe59ddbb9fae90eef0248416976d4e5f6b1a2d (patch)
tree453bb3ffd22bbce4774d88a8ab3b58a6c9fe67ec /arch/mips/boot/dts/brcm/bcm7435.dtsi
parentc834469b88cd0a54b313012e9f023937c68a5704 (diff)
downloadlinux-7bbe59ddbb9fae90eef0248416976d4e5f6b1a2d.tar.gz
MIPS: BMIPS: Add support PWM device nodes
Adds PWM device nodes to BCM7xxx MIPS based SoCs.

Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: Jonas Gorski <jonas.gorski@gmail.com>
Cc: Kevin Cernekee <cernekee@gmail.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: MIPS Mailing List <linux-mips@linux-mips.org>
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14000/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/boot/dts/brcm/bcm7435.dtsi')
-rw-r--r--arch/mips/boot/dts/brcm/bcm7435.dtsi22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/brcm/bcm7435.dtsi b/arch/mips/boot/dts/brcm/bcm7435.dtsi
index a874d3a0e2ee..7801169416e7 100644
--- a/arch/mips/boot/dts/brcm/bcm7435.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm7435.dtsi
@@ -52,6 +52,12 @@
 			#clock-cells = <0>;
 			clock-frequency = <81000000>;
 		};
+
+		upg_clk: upg_clk {
+			compatible = "fixed-clock";
+			#clock-cells = <0>;
+			clock-frequency = <27000000>;
+		};
 	};
 
 	rdb {
@@ -224,6 +230,22 @@
 		      status = "disabled";
 		};
 
+		pwma: pwm@406580 {
+			compatible = "brcm,bcm7038-pwm";
+			reg = <0x406580 0x28>;
+			#pwm-cells = <2>;
+			clocks = <&upg_clk>;
+			status = "disabled";
+		};
+
+		pwmb: pwm@406800 {
+			compatible = "brcm,bcm7038-pwm";
+			reg = <0x406800 0x28>;
+			#pwm-cells = <2>;
+			clocks = <&upg_clk>;
+			status = "disabled";
+		};
+
 		enet0: ethernet@b80000 {
 			phy-mode = "internal";
 			phy-handle = <&phy1>;