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>
This commit is contained in:
Sean Wang 2017-04-26 17:25:58 +08:00 committed by Matthias Brugger
parent 35fdd6c921
commit ffdbc3cfc5
1 changed files with 16 additions and 0 deletions

View File

@ -241,6 +241,22 @@ uart3: serial@11005000 {
status = "disabled"; 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 { i2c0: i2c@11007000 {
compatible = "mediatek,mt7623-i2c", compatible = "mediatek,mt7623-i2c",
"mediatek,mt6577-i2c"; "mediatek,mt6577-i2c";