mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
usb: fix otg_drv/host_drv gpio in device tree
This commit is contained in:
@@ -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>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user