1/* 2 * Copyright 2023 NXP 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 chosen { 9 zephyr,flash = &w25q512nw; 10 zephyr,flash-controller = &w25q512nw; 11 zephyr,flash = &w25q512nw; 12 zephyr,code-partition = &slot0_partition; 13 zephyr,bt-hci = &bt_hci_uart; 14 }; 15 16 aliases { 17 /delete-property/ magn0; 18 /delete-property/ accel0; 19 }; 20}; 21 22&flexspi { 23 /* RT1170 EVKB uses a different QSPI flash chip */ 24 /delete-node/ is25wp128@0; 25 status = "okay"; 26 reg = <0x400cc000 0x4000>, <0x30000000 DT_SIZE_M(64)>; 27 w25q512nw:w25q512nw@0 { 28 compatible = "nxp,imx-flexspi-nor"; 29 size = <DT_SIZE_M(64*8)>; 30 reg = <0>; 31 spi-max-frequency = <133000000>; 32 status = "okay"; 33 jedec-id = [ef 60 20]; 34 erase-block-size = <4096>; 35 write-block-size = <1>; 36 37 partitions { 38 compatible = "fixed-partitions"; 39 #address-cells = <1>; 40 #size-cells = <1>; 41 42 boot_partition: partition@0 { 43 label = "mcuboot"; 44 reg = <0x00000000 DT_SIZE_K(128)>; 45 }; 46 /* The MCUBoot swap-move algorithm uses the last 3 sectors 47 * of the primary slot0 for swap status and move. 48 */ 49 slot0_partition: partition@20000 { 50 label = "image-0"; 51 reg = <0x00020000 (DT_SIZE_M(7) + DT_SIZE_K(12))>; 52 }; 53 slot1_partition: partition@723000 { 54 label = "image-1"; 55 reg = <0x00723000 DT_SIZE_M(7)>; 56 }; 57 storage_partition: partition@E23000 { 58 label = "storage"; 59 reg = <0x00E23000 (DT_SIZE_M(50) - DT_SIZE_K(140))>; 60 }; 61 }; 62 }; 63}; 64 65&lpi2c5 { 66 /* FXOS accelerometer is not present in this board */ 67 /delete-node/ fxos8700@1f; 68}; 69 70&enet_mdio { 71 /delete-node/ phy@0; 72 73 phy: phy@0 { 74 compatible = "ethernet-phy"; 75 reg = <0>; 76 status = "okay"; 77 }; 78}; 79 80m2_hci_uart: &lpuart2 { 81 pinctrl-0 = <&pinmux_lpuart2_flowcontrol>; 82 pinctrl-1 = <&pinmux_lpuart2_sleep>; 83 pinctrl-names = "default", "sleep"; 84 85 bt_hci_uart: bt_hci_uart { 86 compatible = "zephyr,bt-hci-uart"; 87 88 m2_bt_module { 89 compatible = "nxp,bt-hci-uart"; 90 sdio-reset-gpios = <&gpio9 15 GPIO_ACTIVE_HIGH>; 91 w-disable-gpios = <&gpio9 30 GPIO_ACTIVE_HIGH>; 92 hci-operation-speed = <3000000>; 93 hw-flow-control; 94 fw-download-primary-speed = <115200>; 95 fw-download-secondary-speed = <3000000>; 96 fw-download-secondary-flowcontrol; 97 }; 98 }; 99}; 100 101&m2_hci_uart { 102 status = "okay"; 103 current-speed = <115200>; 104}; 105