1/* 2 * Copyright (c) 2021, MADMACHINE LIMITED 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8 9#include <nxp/nxp_rt1060.dtsi> 10#include "mm_feather-pinctrl.dtsi" 11 12/ { 13 model = "MM MM-FEATHER board"; 14 compatible = "nxp,mimxrt1062"; 15 16 aliases { 17 led0 = &green_led; 18 led1 = &red_led; 19 led2 = &blue_led; 20 sdhc0 = &usdhc1; 21 }; 22 23 chosen { 24 zephyr,sram = &sdram0; 25 zephyr,itcm = &itcm; 26 zephyr,dtcm = &dtcm; 27 zephyr,console = &lpuart1; 28 zephyr,shell-uart = &lpuart1; 29 zephyr,flash = &is25wp064; 30 }; 31 32 sdram0: memory@80000000 { 33 /* Micron MT48LC16M16A2B4-6AIT:G */ 34 device_type = "memory"; 35 reg = <0x80000000 DT_SIZE_M(32)>; 36 }; 37 38 leds { 39 compatible = "gpio-leds"; 40 red_led: led_0 { 41 gpios = <&gpio1 9 0>; 42 label = "RGB R"; 43 }; 44 45 green_led: led_1 { 46 gpios = <&gpio1 10 0>; 47 label = "RGB G"; 48 }; 49 50 blue_led: led_2 { 51 gpios = <&gpio1 11 0>; 52 label = "RGB B"; 53 }; 54 }; 55}; 56 57 58&flexspi { 59 reg = <0x402a8000 0x4000>, <0x60000000 DT_SIZE_M(8)>; 60 is25wp064: is25wp064@0 { 61 compatible = "nxp,imx-flexspi-nor"; 62 size = <67108864>; 63 reg = <0>; 64 spi-max-frequency = <104000000>; 65 status = "okay"; 66 jedec-id = [9d 70 17]; 67 }; 68}; 69 70&lpuart1 { 71 status = "okay"; 72 current-speed = <115200>; 73 pinctrl-0 = <&pinmux_lpuart1>; 74 pinctrl-1 = <&pinmux_lpuart1_sleep>; 75 pinctrl-names = "default", "sleep"; 76}; 77 78&lpuart2 { 79 status = "okay"; 80 current-speed = <115200>; 81}; 82 83&lpuart3 { 84 status = "okay"; 85 current-speed = <115200>; 86}; 87 88&lpuart4 { 89 status = "okay"; 90 current-speed = <115200>; 91}; 92 93&lpuart8 { 94 status = "okay"; 95 current-speed = <115200>; 96}; 97 98&lpi2c1 { 99 pinctrl-0 = <&pinmux_lpi2c1>; 100 pinctrl-names = "default"; 101 status = "okay"; 102}; 103 104&lpi2c3 { 105 pinctrl-0 = <&pinmux_lpi2c3>; 106 pinctrl-names = "default"; 107 status = "okay"; 108}; 109 110&lpspi3 { 111 status = "okay"; 112 pcs-sck-delay = <2>; 113 sck-pcs-delay = <2>; 114 transfer-delay = <2>; 115}; 116 117&lpspi4 { 118 status = "okay"; 119 pcs-sck-delay = <2>; 120 sck-pcs-delay = <2>; 121 transfer-delay = <2>; 122}; 123 124&flexpwm1_pwm3 { 125 status = "okay"; 126}; 127 128&flexpwm2_pwm0 { 129 status = "okay"; 130}; 131 132&flexpwm2_pwm1 { 133 status = "okay"; 134}; 135 136&flexpwm2_pwm2 { 137 status = "okay"; 138}; 139 140&flexpwm2_pwm3 { 141 status = "okay"; 142}; 143 144&flexpwm4_pwm0 { 145 status = "okay"; 146}; 147 148&flexpwm4_pwm1 { 149 status = "okay"; 150}; 151 152&flexpwm4_pwm2 { 153 status = "okay"; 154}; 155 156&flexpwm4_pwm3 { 157 status = "okay"; 158}; 159 160&usb1 { 161 status = "okay"; 162}; 163 164&usdhc1 { 165 status = "okay"; 166 cd-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; 167 no-1-8-v; 168 pinctrl-0 = <&pinmux_usdhc1>; 169 pinctrl-1 = <&pinmux_usdhc1_slow>; 170 pinctrl-2 = <&pinmux_usdhc1_med>; 171 pinctrl-3 = <&pinmux_usdhc1_fast>; 172 pinctrl-names = "default", "slow", "med", "fast"; 173}; 174 175&edma0 { 176 status = "okay"; 177}; 178 179&systick { 180 status = "okay"; 181}; 182