};
dwc_control_usb: dwc-control-usb@20008000 {
compatible = "rockchip,rk3036-dwc-control-usb";
+ reg = <0x20008000 0x4>;
interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "otg_bvalid";
clocks = <&clk_gates9 13>;
static int usb20otg_get_status(int id)
{
int ret = -1;
- u32 soc_status0 = readl(RK_GRF_VIRT + RK3036_GRF_CPU_STATUS0);
+ u32 soc_status0 = readl(RK_GRF_VIRT + RK3036_GRF_SOC_STATUS0);
switch (id) {
case USB_STATUS_BVABLID:
static int usb20host_get_status(int id)
{
int ret = -1;
- u32 soc_status0 = readl(RK_GRF_VIRT + RK3036_GRF_CPU_STATUS0);
+ u32 soc_status0 = readl(RK_GRF_VIRT + RK3036_GRF_SOC_STATUS0);
switch (id) {
case USB_STATUS_BVABLID: