arm: dts: rv1108: Add pwm0 node support

Change-Id: Id0bb2776abd70eaabff21bf6af950ef11bcf37cd
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
This commit is contained in:
Nickey Yang 2018-06-09 15:45:46 +08:00
parent 1abf41e2ab
commit 544f4e917b
1 changed files with 18 additions and 0 deletions

View File

@ -160,6 +160,18 @@
status = "disabled";
};
pwm0: pwm@20040000 {
compatible = "rockchip,rk1108-pwm", "rockchip,rk3328-pwm";
reg = <0x20040000 0x10>;
interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
#pwm-cells = <3>;
pinctrl-names = "active";
pinctrl-0 = <&pwm0_pin>;
clocks = <&cru SCLK_PWM>, <&cru PCLK_PWM>;
clock-names = "pwm", "pclk";
status = "disabled";
};
pmugrf: syscon@20060000 {
compatible = "rockchip,rv1108-pmugrf", "syscon";
reg = <0x20060000 0x1000>;
@ -415,6 +427,12 @@
input-enable;
};
pwm0 {
pwm0_pin: pwm0-pin {
rockchip,pins = <0 RK_PC5 RK_FUNC_1 &pcfg_pull_none>;
};
};
gmac {
rmii_pins: rmii-pins {
rockchip,pins = <1 RK_PC5 RK_FUNC_2 &pcfg_pull_none>,