Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | /*
* 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 {
zephyr,sram = &sdram0;
zephyr,itcm = &itcm;
zephyr,dtcm = &dtcm;
zephyr,console = &lpuart1;
zephyr,shell-uart = &lpuart1;
};
sdram0: memory@80000000 {
/* Micron MT48LC16M16A2B4-6AIT:G */
device_type = "memory";
reg = <0x80000000 DT_SIZE_M(32)>;
};
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";
};
};
};
&flexspi {
reg = <0x402a8000 0x4000>, <0x60000000 DT_SIZE_M(8)>;
is25wp064: is25wp064@0 {
compatible = "nxp,imx-flexspi-nor";
size = <67108864>;
label = "IS25WP064";
reg = <0>;
spi-max-frequency = <133000000>;
status = "okay";
jedec-id = [9d 70 17];
};
};
&lpuart1 {
status = "okay";
current-speed = <115200>;
};
&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";
ov7725@21 {
compatible = "ovti,ov7725";
reg = <0x21>;
label = "OV7725";
status = "okay";
reset-gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
port {
ov7725_ep_out: endpoint {
remote-endpoint = <&csi_ep_in>;
};
};
};
};
&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>;
};
&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";
};
&usb1 {
status = "okay";
};
&usdhc1 {
status = "okay";
cd-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
no-1-8-v;
};
&csi {
status = "okay";
sensor-label = "OV7725";
port {
csi_ep_in: endpoint {
remote-endpoint = <&ov7725_ep_out>;
};
};
};
&edma0 {
status = "okay";
};
|