ARM: dts: rk3288: move the remote-ctrl of PWM into box dts

Thinking about the PWM remote-ctrl is used by box, we should
put this into box dts.

Meanwhile, that PWM configure will break the normal PWM driver.
This patch will fix it.

Change-Id: I14878332631f94f512412ced5ceb8689f8bfbe46
Signed-off-by: huang zhibao <hzb@rock-chips.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
This commit is contained in:
huang zhibao
2015-08-27 16:03:41 +08:00
committed by Caesar Wang
parent 16b7b28461
commit 74a24fe1b7
2 changed files with 8 additions and 14 deletions

View File

@@ -909,9 +909,16 @@
regulator-name = "vcc_sd";
};
&remotectl {
/*
* Due to not have the software of PWM for remotectrl.
* We can _*HACK*_ do that as the following.
*/
&pwm0 {
compatible = "rockchip,remotectl-pwm";
remote_pwm_id = <0>;
handle_cpu_id = <1>;
status = "okay";
ir_key1{
rockchip,usercode = <0x4040>;
rockchip,key_table =

View File

@@ -919,19 +919,6 @@
status = "disabled";
};
remotectl: pwm@ff680000 {
compatible = "rockchip,remotectl-pwm";
reg = <0xff680000 0x10>;
#pwm-cells = <2>;
pinctrl-names = "default";
pinctrl-0 = <&pwm0_pin>;
clocks = <&clk_gates11 11>;
clock-names = "pclk_pwm";
remote_pwm_id = <0>;
interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};
dvfs {
vd_arm: vd_arm {