1/* 2 * Copyright 2022,2024 NXP 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8 9#include <nxp/nxp_mimx93_a55.dtsi> 10#include "imx93_evk-pinctrl.dtsi" 11 12/ { 13 model = "NXP i.MX93 A55"; 14 compatible = "fsl,mimx93"; 15 16 chosen { 17 zephyr,console = &lpuart2; 18 zephyr,shell-uart = &lpuart2; 19 zephyr,sram = &sram0; 20 }; 21 22 cpus { 23 cpu@0 { 24 status = "disabled"; 25 }; 26 }; 27 28 sram0: memory@d0000000 { 29 reg = <0xd0000000 DT_SIZE_M(1)>; 30 }; 31 32 aliases { 33 led0 = &led_r; 34 led1 = &led_g; 35 sw0 = &btn_1; 36 }; 37 38 leds { 39 compatible = "gpio-leds"; 40 led_r: led_r { 41 label = "LED_R"; 42 gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>; 43 }; 44 led_g: led_g { 45 label = "LED_G"; 46 gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>; 47 }; 48 led_b: led_b { 49 label = "LED_B"; 50 gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>; 51 }; 52 }; 53 54 keys { 55 compatible = "gpio-keys"; 56 57 btn_1: btn_1{ 58 label = "BTN1"; 59 gpios = <&gpio2 23 GPIO_ACTIVE_LOW>; 60 }; 61 62 btn_2: btn_2{ 63 label = "BTN2"; 64 gpios = <&gpio2 24 GPIO_ACTIVE_LOW>; 65 }; 66 }; 67}; 68 69&enet { 70 status = "okay"; 71}; 72 73&enet_mac { 74 pinctrl-0 = <&pinmux_enet>; 75 pinctrl-names = "default"; 76 phy-handle = <&phy>; 77 zephyr,random-mac-address; 78 phy-connection-type = "rgmii"; 79 status = "okay"; 80}; 81 82&enet_mdio { 83 pinctrl-0 = <&pinmux_mdio>; 84 pinctrl-names = "default"; 85 status = "okay"; 86 phy: phy@0 { 87 compatible = "realtek,rtl8211f"; 88 reg = <2>; 89 status = "okay"; 90 }; 91}; 92 93&lpuart1 { 94 status = "disabled"; 95 current-speed = <115200>; 96 /* clocks = <&ccm IMX_CCM_UART4_CLK 0x6c 24>; */ 97 pinctrl-0 = <&uart1_default>; 98 pinctrl-names = "default"; 99}; 100 101&lpuart2 { 102 status = "okay"; 103 current-speed = <115200>; 104 /* clocks = <&ccm IMX_CCM_UART4_CLK 0x6c 24>; */ 105 pinctrl-0 = <&uart2_default>; 106 pinctrl-names = "default"; 107}; 108 109 110&lpi2c1 { 111 status = "disabled"; 112 clock-frequency = <I2C_BITRATE_FAST>; 113 pinctrl-0 = <&i2c1_default>; 114 pinctrl-names = "default"; 115}; 116 117&lpi2c2 { 118 status = "disabled"; 119 clock-frequency = <I2C_BITRATE_FAST>; 120 pinctrl-0 = <&i2c2_default>; 121 pinctrl-names = "default"; 122 123 mfd0:adp5585@34 { 124 compatible = "adi,adp5585"; 125 reg = <0x34>; 126 status = "disabled"; 127 128 gpio_exp0: adp5585_gpio { 129 compatible = "adi,adp5585-gpio"; 130 gpio-controller; 131 #gpio-cells = <2>; 132 ngpios = <13>; 133 gpio-reserved-ranges = <5 3>; 134 /* 135 * This device has non-contiguous gpio range: 136 * GPIO Pin R0~R4 are gpio0~4 137 * GPIO Pin C0~C4 are gpio8~12 138 */ 139 140 gpiohog_exp_sel: exp-sel-hog { 141 gpio-hog; 142 gpios = <4 GPIO_ACTIVE_HIGH>; 143 line-name = "exp_sel"; 144 output-low; 145 }; 146 status = "disabled"; 147 }; 148 }; 149}; 150 151&lpspi3 { 152 status = "disabled"; 153 clock-frequency = <1000000>; 154 pinctrl-0 = <&spi3_default>; 155 pinctrl-names = "default"; 156}; 157 158&gpio1{ 159 status = "okay"; 160}; 161 162&gpio2{ 163 status = "okay"; 164}; 165 166&gpio3{ 167 status = "okay"; 168}; 169 170&gpio4{ 171 status = "okay"; 172}; 173