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>;
&key {
io-channels = <&adc 2>;
-};
\ No newline at end of file
+};
/ {
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;
+ };
};
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 {
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>;