blob: 57850b35467e018bcf9c0e70bc1f5b7c15531a13 [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include <ddk/protocol/platform-device.h>
#include <zircon/listnode.h>
typedef struct {
list_node_t gpios;
platform_device_protocol_t pdev;
pdev_mmio_buffer_t usb3otg_bc;
pdev_mmio_buffer_t peri_crg;
pdev_mmio_buffer_t pctrl;
} hi3660_bus_t;
zx_status_t hi3360_usb_init(hi3660_bus_t* bus);