Skip to content
Permalink
Browse files

dts: nxp: nxp_rt: Fix unit-address for usb node

The first reg of the node is 0x402E0200 so the unit address should match
that.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information...
galak authored and MaureenHelm committed May 22, 2019
1 parent 79a25a6 commit 18ab73d02c2582e678b9904afb2ffbff62576ddf
Showing with 8 additions and 8 deletions.
  1. +1 −1 boards/arm/mimxrt1050_evk/mimxrt1050_evk.dts
  2. +1 −1 dts/arm/nxp/nxp_rt.dtsi
  3. +6 −6 soc/arm/nxp_imx/rt/dts_fixup.h
@@ -119,6 +119,6 @@ arduino_serial: &uart3 {};
};
};

&usbd1 {
&usbd2 {
status = "ok";
};
@@ -336,7 +336,7 @@
label = "TRNG";
};

usbd1: usbd@402E0000 {
usbd2: usbd@402e0200 {
compatible = "nxp,kinetis-usbd";
reg = <0x402E0200 0x1000>;
interrupts = <113 1>;
@@ -120,11 +120,11 @@
#define DT_ENTROPY_MCUX_TRNG_NAME DT_NXP_KINETIS_TRNG_400CC000_LABEL
#define CONFIG_ENTROPY_NAME DT_NXP_KINETIS_TRNG_400CC000_LABEL

#define DT_USBD_MCUX_EHCI_NAME DT_NXP_KINETIS_USBD_402E0000_LABEL
#define DT_USBD_MCUX_EHCI_IRQ DT_NXP_KINETIS_USBD_402E0000_IRQ_USB_OTG
#define DT_USBD_MCUX_EHCI_IRQ_PRI DT_NXP_KINETIS_USBD_402E0000_IRQ_0_PRIORITY
#define DT_USBD_MCUX_EHCI_BASE_ADDRESS DT_NXP_KINETIS_USBD_402E0000_BASE_ADDRESS
#define DT_USBD_MCUX_EHCI_NUM_BIDIR_EP DT_NXP_KINETIS_USBD_402E0000_NUM_BIDIR_ENDPOINTS
#define DT_USBD_MCUX_EHCI_MAXIMUM_SPEED DT_NXP_KINETIS_USBD_402E0000_MAXIMUM_SPEED
#define DT_USBD_MCUX_EHCI_NAME DT_NXP_KINETIS_USBD_402E0200_LABEL
#define DT_USBD_MCUX_EHCI_IRQ DT_NXP_KINETIS_USBD_402E0200_IRQ_USB_OTG
#define DT_USBD_MCUX_EHCI_IRQ_PRI DT_NXP_KINETIS_USBD_402E0200_IRQ_0_PRIORITY
#define DT_USBD_MCUX_EHCI_BASE_ADDRESS DT_NXP_KINETIS_USBD_402E0200_BASE_ADDRESS
#define DT_USBD_MCUX_EHCI_NUM_BIDIR_EP DT_NXP_KINETIS_USBD_402E0200_NUM_BIDIR_ENDPOINTS
#define DT_USBD_MCUX_EHCI_MAXIMUM_SPEED DT_NXP_KINETIS_USBD_402E0200_MAXIMUM_SPEED

/* End of SoC Level DTS fixup file */

0 comments on commit 18ab73d

Please sign in to comment.
You can’t perform that action at this time.