mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-16 20:14:24 +00:00
usb: add bflb ehci controller
This commit is contained in:
parent
b2fe2832f8
commit
4c45c424d0
4 changed files with 19 additions and 0 deletions
arch/riscv/boot/dts/bouffalolab
include/dt-bindings/mailbox
|
@ -58,3 +58,7 @@
|
|||
&ipclic {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ehci0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -53,3 +53,7 @@
|
|||
&ipclic {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ehci0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -90,6 +90,16 @@
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
ehci0: usb@20072000 {
|
||||
compatible = "generic-ehci";
|
||||
reg = <0x20072010 0x1000>;
|
||||
interrupts-extended = <&ipclic BFLB_IPC_SOURCE_M0
|
||||
BFLB_IPC_DEVICE_USB
|
||||
IRQ_TYPE_EDGE_RISING>;
|
||||
clocks = <&xtal>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
ipclic: mailbox@30005000 {
|
||||
compatible = "bouffalolab,bflb-ipc";
|
||||
reg = <0x30005000 0x20>,
|
||||
|
|
|
@ -13,5 +13,6 @@
|
|||
/* Peripheral device ID */
|
||||
#define BFLB_IPC_DEVICE_SDHCI 0
|
||||
#define BFLB_IPC_DEVICE_UART2 1
|
||||
#define BFLB_IPC_DEVICE_USB 2
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue