diff options
author | Tom Rini <trini@konsulko.com> | 2020-07-10 14:31:22 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-07-10 14:31:22 -0400 |
commit | 3113c84ba25ec3ceae072cc5ad450c4238425939 (patch) | |
tree | dbcdb8d6692c2ef2d6b926de1ad1f9ff456a27a9 /arch/arm/mach-bcm283x/include/mach | |
parent | 618c30679086e0b6d74e427b52931a31a2767af6 (diff) | |
parent | d6ecb71a1f0c764c94f1bb381f085734d57e94e9 (diff) |
Merge tag 'rpi-next-2020.10' of https://gitlab.denx.de/u-boot/custodians/u-boot-raspberrypi
- add support for PCI and XHCI for RPi4 (64 bit only)
- optionally reset XHCI device on registration
- enable USB_KEYBOARD for rpi_4_defconfig
Diffstat (limited to 'arch/arm/mach-bcm283x/include/mach')
-rw-r--r-- | arch/arm/mach-bcm283x/include/mach/mbox.h | 13 | ||||
-rw-r--r-- | arch/arm/mach-bcm283x/include/mach/msg.h | 7 |
2 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm283x/include/mach/mbox.h b/arch/arm/mach-bcm283x/include/mach/mbox.h index 60e226ce1d..2ae2d3d97c 100644 --- a/arch/arm/mach-bcm283x/include/mach/mbox.h +++ b/arch/arm/mach-bcm283x/include/mach/mbox.h @@ -491,6 +491,19 @@ struct bcm2835_mbox_tag_set_palette { } body; }; +#define BCM2835_MBOX_TAG_NOTIFY_XHCI_RESET 0x00030058 + +struct bcm2835_mbox_tag_pci_dev_addr { + struct bcm2835_mbox_tag_hdr tag_hdr; + union { + struct { + u32 dev_addr; + } req; + struct { + } resp; + } body; +}; + /* * Pass a raw u32 message to the VC, and receive a raw u32 back. * diff --git a/arch/arm/mach-bcm283x/include/mach/msg.h b/arch/arm/mach-bcm283x/include/mach/msg.h index 4afb08631b..e45c1bf010 100644 --- a/arch/arm/mach-bcm283x/include/mach/msg.h +++ b/arch/arm/mach-bcm283x/include/mach/msg.h @@ -48,4 +48,11 @@ int bcm2835_set_video_params(int *widthp, int *heightp, int depth_bpp, int pixel_order, int alpha_mode, ulong *fb_basep, ulong *fb_sizep, int *pitchp); +/** + * bcm2711_load_vl805_firmware() - get vl805's firmware loaded + * + * @return 0 if OK, -EIO on error + */ +int bcm2711_notify_vl805_reset(void); + #endif |