2019-12-01 11:22:17 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019, MADMACHINE LIMITED
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include <nxp/nxp_rt.dtsi>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "MM MM-SWIFTIO board";
|
|
|
|
compatible = "nxp,mimxrt1052";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
led0 = &green_led;
|
|
|
|
led1 = &red_led;
|
|
|
|
led2 = &blue_led;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
2020-10-20 19:13:43 -05:00
|
|
|
zephyr,sram = &sdram0;
|
2020-10-20 21:01:04 -05:00
|
|
|
zephyr,dtcm = &dtcm;
|
2020-04-14 10:03:32 -05:00
|
|
|
zephyr,console = &lpuart1;
|
|
|
|
zephyr,shell-uart = &lpuart1;
|
2019-12-01 11:22:17 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
sdram0: memory@80000000 {
|
|
|
|
/* Micron MT48LC16M16A2B4-6AIT:G */
|
|
|
|
device_type = "memory";
|
2020-10-21 13:47:17 -05:00
|
|
|
reg = <0x80000000 DT_SIZE_M(32)>;
|
2019-12-01 11:22:17 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
red_led: led_0 {
|
|
|
|
gpios = <&gpio1 9 0>;
|
|
|
|
label = "RGB R";
|
|
|
|
};
|
|
|
|
|
|
|
|
green_led: led_1 {
|
|
|
|
gpios = <&gpio1 10 0>;
|
|
|
|
label = "RGB G";
|
|
|
|
};
|
|
|
|
|
|
|
|
blue_led: led_2 {
|
|
|
|
gpios = <&gpio1 11 0>;
|
|
|
|
label = "RGB B";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2020-04-14 10:03:32 -05:00
|
|
|
&flexspi {
|
2020-10-21 13:47:17 -05:00
|
|
|
reg = <0x402a8000 0x4000>, <0x60000000 DT_SIZE_M(8)>;
|
2019-12-01 11:22:17 +08:00
|
|
|
is25wp064: is25wp064@0 {
|
|
|
|
compatible = "issi,is25wp064", "jedec,spi-nor";
|
|
|
|
size = <67108864>;
|
|
|
|
label = "IS25WP064";
|
|
|
|
reg = <0>;
|
|
|
|
spi-max-frequency = <133000000>;
|
|
|
|
status = "okay";
|
|
|
|
jedec-id = [9d 70 17];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-04-14 10:03:32 -05:00
|
|
|
&lpuart1 {
|
2019-12-01 11:22:17 +08:00
|
|
|
status = "okay";
|
|
|
|
current-speed = <115200>;
|
|
|
|
};
|
|
|
|
|
2020-10-07 21:50:39 +08:00
|
|
|
&lpuart2 {
|
|
|
|
status = "okay";
|
|
|
|
current-speed = <115200>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&lpuart4 {
|
|
|
|
status = "okay";
|
|
|
|
current-speed = <115200>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&lpuart6 {
|
|
|
|
status = "okay";
|
|
|
|
current-speed = <115200>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&lpuart8 {
|
|
|
|
status = "okay";
|
|
|
|
current-speed = <115200>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&lpi2c1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&lpi2c3 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&lpspi3 {
|
|
|
|
status = "okay";
|
|
|
|
pcs-sck-delay = <50>;
|
|
|
|
sck-pcs-delay = <50>;
|
|
|
|
transfer-delay = <50>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&lpspi4 {
|
|
|
|
status = "okay";
|
|
|
|
pcs-sck-delay = <50>;
|
|
|
|
sck-pcs-delay = <50>;
|
|
|
|
transfer-delay = <50>;
|
|
|
|
};
|
|
|
|
|
2020-10-09 21:57:25 +08:00
|
|
|
&flexpwm1_pwm3 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&flexpwm2_pwm0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&flexpwm2_pwm1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&flexpwm2_pwm2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&flexpwm2_pwm3 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&flexpwm4_pwm0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&flexpwm4_pwm1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&flexpwm4_pwm2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&flexpwm4_pwm3 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2020-04-14 10:03:32 -05:00
|
|
|
&usb1 {
|
2019-12-01 11:22:17 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usdhc1 {
|
|
|
|
status = "okay";
|
2020-05-06 19:44:05 +08:00
|
|
|
cd-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
|
2019-12-01 11:22:17 +08:00
|
|
|
};
|