dts: bindings: Fix NXP USB bindings
NXP USB bindings were combined into one binding and using a property corresponding to HAL enums which is improper use of devicetree. Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
parent
c5d3fc10c1
commit
345f079e49
16 changed files with 73 additions and 54 deletions
|
@ -217,7 +217,7 @@ static ALWAYS_INLINE void clock_init(void)
|
|||
|
||||
#if CONFIG_USB_DC_NXP_LPCIP3511
|
||||
|
||||
#if DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(usbfs), nxp_mcux_usbd, okay)
|
||||
#if DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(usbfs), nxp_lpcip3511, okay)
|
||||
/*< Turn on USB Phy */
|
||||
#if defined(CONFIG_SOC_LPC55S36)
|
||||
POWER_DisablePD(kPDRUNCFG_PD_USBFSPHY);
|
||||
|
@ -248,7 +248,7 @@ static ALWAYS_INLINE void clock_init(void)
|
|||
|
||||
#endif /* USB_DEVICE_TYPE_FS */
|
||||
|
||||
#if DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(usbhs), nxp_mcux_usbd, okay)
|
||||
#if DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(usbhs), nxp_lpcip3511, okay)
|
||||
/* enable usb1 host clock */
|
||||
CLOCK_EnableClock(kCLOCK_Usbh1);
|
||||
/* Put PHY powerdown under software control */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue