summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2017-04-26 17:25:58 +0800
committerMatthias Brugger <matthias.bgg@gmail.com>2017-05-15 10:47:08 +0200
commitffdbc3cfc504245a883ed0ef49bfd3a913caf4b0 (patch)
tree9a553e3d8aac01c08f663694ee77d6017823e800 /arch/arm/boot
parent35fdd6c921b4ffa25eded3c1a51e93efd9df3ae5 (diff)
downloadblackbird-obmc-linux-ffdbc3cfc504245a883ed0ef49bfd3a913caf4b0.tar.gz
blackbird-obmc-linux-ffdbc3cfc504245a883ed0ef49bfd3a913caf4b0.zip
arm: dts: mt7623: add pwm nodes to the mt7623.dtsi file
Add PWM nodes to the mt7623.dtsi file. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/mt7623.dtsi16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
index 3ffa2275045c..27823307d71e 100644
--- a/arch/arm/boot/dts/mt7623.dtsi
+++ b/arch/arm/boot/dts/mt7623.dtsi
@@ -241,6 +241,22 @@
status = "disabled";
};
+ pwm: pwm@11006000 {
+ compatible = "mediatek,mt7623-pwm";
+ reg = <0 0x11006000 0 0x1000>;
+ #pwm-cells = <2>;
+ clocks = <&topckgen CLK_TOP_PWM_SEL>,
+ <&pericfg CLK_PERI_PWM>,
+ <&pericfg CLK_PERI_PWM1>,
+ <&pericfg CLK_PERI_PWM2>,
+ <&pericfg CLK_PERI_PWM3>,
+ <&pericfg CLK_PERI_PWM4>,
+ <&pericfg CLK_PERI_PWM5>;
+ clock-names = "top", "main", "pwm1", "pwm2",
+ "pwm3", "pwm4", "pwm5";
+ status = "disabled";
+ };
+
i2c0: i2c@11007000 {
compatible = "mediatek,mt7623-i2c",
"mediatek,mt6577-i2c";
OpenPOWER on IntegriCloud