USB: NXP LPC55S16 USB-HS support

This adds USB-HS support for LPC55S16, much in the same way that
LPC55S28 support was added previously.

Signed-off-by: Maxime Vincent <maxime@veemax.be>
This commit is contained in:
Maxime Vincent 2023-03-30 15:46:41 +02:00 committed by David Leach
parent b9f880a141
commit 006f16de25
4 changed files with 21 additions and 2 deletions

View file

@ -13,3 +13,7 @@
model = "NXP LPCXpresso55S16 board";
compatible = "nxp,lpc55xxx", "nxp,lpc";
};
zephyr_udc0: &usbhs {
status = "okay";
};

View file

@ -22,3 +22,4 @@ supported:
- gpio
- i2c
- spi
- usb_device

View file

@ -56,11 +56,12 @@
zephyr,memory-region = "SRAM2";
};
sram4: memory@20010000 {
usb_sram: memory@20010000 {
/* Connected to USB bus*/
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x20010000 DT_SIZE_K(16)>;
zephyr,memory-region = "SRAM4";
zephyr,memory-region = "USB_SRAM";
zephyr,memory-region-mpu = "RAM";
};
};
@ -232,6 +233,15 @@
reg = <0x3a000 0x1000>;
status = "okay";
};
usbhs: usbhs@144000 {
compatible = "nxp,mcux-usbd";
reg = <0x94000 0x1000>;
interrupts = <47 1>;
num-bidir-endpoints = <6>;
usb-controller-index = "LpcIp3511Hs0";
status = "disabled";
};
};
&nvic {

View file

@ -12,4 +12,8 @@ config CAN_MCUX_MCAN
default y
depends on CAN
choice USB_MCUX_CONTROLLER_TYPE
default USB_DC_NXP_LPCIP3511
endchoice
endif # SOC_LPC55S16