| /* |
| * Copyright (c) 2019, Linaro |
| * |
| * SPDX-License-Identifier: Apache-2.0 |
| */ |
| |
| #include <nxp/nxp_rt.dtsi> |
| |
| &sysclk { |
| clock-frequency = <500000000>; |
| }; |
| |
| &itcm { |
| reg = <0x00000000 DT_SIZE_K(32)>; |
| }; |
| |
| &dtcm { |
| reg = <0x20000000 DT_SIZE_K(32)>; |
| }; |
| |
| &ocram { |
| reg = <0x20200000 DT_SIZE_K(64)>; |
| }; |
| |
| &gpio1 { |
| interrupts = <70 0>, <71 0>; |
| }; |
| |
| &gpio5 { |
| interrupts = <73 0>; |
| }; |
| |
| &gpt_hw_timer { |
| interrupts = <30 0>; |
| }; |
| |
| &gpt2 { |
| interrupts = <31 0>; |
| gptfreq = <12500000>; |
| }; |
| |
| &usb1 { |
| interrupts = <25 0>; |
| }; |
| |
| &flexspi { |
| interrupts = <26 0>; |
| }; |
| |
| &flexpwm1_pwm0 { |
| interrupts = <34 0>; |
| }; |
| |
| &flexpwm1_pwm1 { |
| interrupts = <35 0>; |
| }; |
| |
| &flexpwm1_pwm2 { |
| interrupts = <36 0>; |
| }; |
| |
| &flexpwm1_pwm3 { |
| interrupts = <37 0>; |
| }; |
| |
| &flexpwm1 { |
| interrupts = <38 0>; |
| }; |
| |
| &edma0 { |
| dma-channels = <16>; |
| }; |
| |
| / { |
| soc { |
| /* Fixup GPIO2 its a different location on RT1010 */ |
| /delete-node/ gpio@401bc000; |
| |
| gpio2: gpio@42000000 { |
| compatible = "nxp,imx-gpio"; |
| reg = <0x42000000 0x4000>; |
| interrupts = <72 0>; |
| label = "GPIO_2"; |
| gpio-controller; |
| #gpio-cells = <2>; |
| }; |
| |
| /* Remove GPIO3 & GPIO4, they dont exist on RT1010 */ |
| /delete-node/ gpio@401c0000; |
| /delete-node/ gpio@401c4000; |
| |
| /* Fixup LPSPI1 and LPSPI2, they have different base addr on RT1010 */ |
| /delete-node/ spi@40394000; |
| /delete-node/ spi@40398000; |
| lpspi1: spi@40194000 { |
| compatible = "nxp,imx-lpspi"; |
| reg = <0x40194000 0x4000>; |
| interrupts = <32 3>; |
| label = "SPI_1"; |
| status = "disabled"; |
| clocks = <&ccm IMX_CCM_LPSPI_CLK 0x6c 0>; |
| #address-cells = <1>; |
| #size-cells = <0>; |
| }; |
| |
| lpspi2: spi@40198000 { |
| compatible = "nxp,imx-lpspi"; |
| reg = <0x40198000 0x4000>; |
| interrupts = <33 3>; |
| label = "SPI_2"; |
| status = "disabled"; |
| clocks = <&ccm IMX_CCM_LPSPI_CLK 0x6c 2>; |
| #address-cells = <1>; |
| #size-cells = <0>; |
| }; |
| |
| /* Remove ADC2, it doesn't exist on RT1010 */ |
| /delete-node/ adc@400C8000; |
| }; |
| }; |
| |
| /* RT1015 only has two LPSPI blocks */ |
| /delete-node/ &lpspi3; |
| /delete-node/ &lpspi4; |