dts: added nxp.kinetis-ptp interrupts

Kinetis device K64F's PTP interrupt crashed the system becase it was not
generated from dts. Device interrupt correctly set now.

Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com>
This commit is contained in:
Andrei Gansari 2018-11-16 17:12:43 +02:00 committed by Maureen Helm
commit db7d1da896
2 changed files with 6 additions and 1 deletions

View file

@ -18,4 +18,9 @@ properties:
category: required
description: compatible strings
constraint: "nxp,kinetis-ptp"
interrupts:
type: array
category: required
description: required interrupts
generation: define
...

View file

@ -129,7 +129,7 @@
#define DT_ETH_MCUX_0_MAC5 DT_NXP_KINETIS_ETHERNET_400C0004_LOCAL_MAC_ADDRESS_5
/* IRQs */
#define DT_IRQ_ETH_IEEE1588_TMR DT_NXP_KINETIS_ETHERNET_400C0004_IRQ_ERR_MISC
#define DT_IRQ_ETH_IEEE1588_TMR DT_NXP_KINETIS_PTP_400C0004_PTP_IRQ_IEEE1588_TMR
#define DT_IRQ_ETH_RX DT_NXP_KINETIS_ETHERNET_400C0004_IRQ_RX
#define DT_IRQ_ETH_TX DT_NXP_KINETIS_ETHERNET_400C0004_IRQ_TX
#define DT_IRQ_ETH_ERR_MISC DT_NXP_KINETIS_ETHERNET_400C0004_IRQ_ERR_MISC