1/*
2 * Copyright 2022,2024 NXP
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/dts-v1/;
8
9#include <zephyr/dt-bindings/gpio/gpio.h>
10#include <zephyr/dt-bindings/i2c/i2c.h>
11#include <nxp/nxp_mimx8mn_a53.dtsi>
12#include "imx8mn_evk-pinctrl.dtsi"
13
14/ {
15	model = "NXP i.MX8MN A53";
16	compatible = "fsl,mimx8mn";
17
18	chosen {
19		zephyr,console = &uart4;
20		zephyr,shell-uart = &uart4;
21		/* sram node actually locates at DDR DRAM */
22		zephyr,sram = &dram;
23	};
24
25	cpus {
26		cpu@0 {
27			status = "disabled";
28		};
29		cpu@1 {
30			status = "disabled";
31		};
32		cpu@2 {
33			status = "disabled";
34		};
35	};
36
37	dram: memory@93c00000 {
38		reg = <0x93c00000 DT_SIZE_M(1)>;
39	};
40};
41
42&enet {
43	status = "okay";
44};
45
46&enet_mac {
47	pinctrl-0 = <&pinmux_enet>;
48	pinctrl-names = "default";
49	phy-handle = <&phy>;
50	zephyr,random-mac-address;
51	phy-connection-type = "rgmii";
52	status = "okay";
53};
54
55&enet_mdio {
56	pinctrl-0 = <&pinmux_mdio>;
57	pinctrl-names = "default";
58	status = "okay";
59	phy: phy@0 {
60		compatible = "qca,ar8031";
61		reg = <0>;
62		status = "okay";
63	};
64};
65
66&uart4 {
67	current-speed = <115200>;
68	pinctrl-0 = <&uart4_default>;
69	pinctrl-names = "default";
70	status = "okay";
71};
72
73&gpio1 {
74	status = "okay";
75};
76
77&i2c3 {
78	status = "okay";
79	pinctrl-0 = <&pinmux_i2c3>;
80	pinctrl-names = "default";
81	clock-frequency = <I2C_BITRATE_STANDARD>;
82
83	gpio_exp1: pca6416@20 {
84		compatible = "nxp,pca6416";
85		reg = <0x20>;
86		gpio-controller;
87		#gpio-cells = <2>;
88		interrupt-gpios = <&gpio1 12 (GPIO_ACTIVE_LOW|GPIO_PULL_UP)>;
89		status = "okay";
90	};
91};
92