usb: fix otg_drv/host_drv gpio in device tree

This commit is contained in:
lyz
2014-08-08 10:05:47 +08:00
parent b2076f04e8
commit dd52ff55d3
4 changed files with 29 additions and 11 deletions

View File

@@ -10,7 +10,16 @@
default-brightness-level = <128>;
enable-gpios = <&gpio3 GPIO_C1 GPIO_ACTIVE_HIGH>;
};
};
usb_control {
compatible = "rockchip,rk3126-usb-control";
host_drv_gpio = <&gpio2 GPIO_B4 GPIO_ACTIVE_LOW>;
otg_drv_gpio = <&gpio2 GPIO_B6 GPIO_ACTIVE_LOW>;
rockchip,remote_wakeup;
rockchip,usb_irq_wakeup;
};
};
&rk_screen {
display-timings = <&disp_timings>;
@@ -35,4 +44,4 @@
&key {
io-channels = <&adc 2>;
};
};

View File

@@ -3,6 +3,14 @@
/ {
compatible = "rockchip,rk3128";
usb_control {
compatible = "rockchip,rk3126-usb-control";
host_drv_gpio = <&gpio3 GPIO_C4 GPIO_ACTIVE_LOW>;
otg_drv_gpio = <&gpio3 GPIO_C1 GPIO_ACTIVE_LOW>;
rockchip,remote_wakeup;
rockchip,usb_irq_wakeup;
};
};

View File

@@ -10,6 +10,16 @@
default-brightness-level = <128>;
enable-gpios = <&gpio0 GPIO_D3 GPIO_ACTIVE_HIGH>;
};
usb_control {
compatible = "rockchip,rk3126-usb-control";
host_drv_gpio = <&gpio3 GPIO_C4 GPIO_ACTIVE_LOW>;
otg_drv_gpio = <&gpio3 GPIO_C1 GPIO_ACTIVE_LOW>;
rockchip,remote_wakeup;
rockchip,usb_irq_wakeup;
};
};
&rk_screen {

View File

@@ -11,15 +11,6 @@
bootargs = "vmalloc=512M clk_ignore_unused";
};
usb_control {
compatible = "rockchip,rk3126-usb-control";
host_drv_gpio = <&gpio2 GPIO_B4 GPIO_ACTIVE_LOW>;
otg_drv_gpio = <&gpio2 GPIO_B6 GPIO_ACTIVE_LOW>;
rockchip,remote_wakeup;
rockchip,usb_irq_wakeup;
};
pwm_regulator1:pwm-regulator1 {
compatible = "rockchip_pwm_regulator";
pwms = <&pwm1 0 25000>;