1// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2/*
3 * Copyright 2021-2024 NXP
4 *
5 * NXP S32G3 Reference Design Board 3 (S32G-VNP-RDB3)
6 */
7
8/dts-v1/;
9
10#include "s32g3.dtsi"
11#include "s32gxxxa-rdb.dtsi"
12
13/ {
14	model = "NXP S32G3 Reference Design Board 3 (S32G-VNP-RDB3)";
15	compatible = "nxp,s32g399a-rdb3", "nxp,s32g3";
16
17	aliases {
18		mmc0 = &usdhc0;
19		serial0 = &uart0;
20		serial1 = &uart1;
21	};
22
23	chosen {
24		stdout-path = "serial0:115200n8";
25	};
26
27	/* 4GiB RAM */
28	memory@80000000 {
29		device_type = "memory";
30		reg = <0x0 0x80000000 0 0x80000000>,
31		      <0x8 0x80000000 0 0x80000000>;
32	};
33};
34
35&uart0 {
36	status = "okay";
37};
38
39&uart1 {
40	status = "okay";
41};
42
43&i2c4 {
44	current-sensor@40 {
45		compatible = "ti,ina231";
46		reg = <0x40>;
47		shunt-resistor = <1000>;
48	};
49};
50
51&usdhc0 {
52	pinctrl-names = "default", "state_100mhz", "state_200mhz";
53	pinctrl-0 = <&pinctrl_usdhc0>;
54	pinctrl-1 = <&pinctrl_usdhc0_100mhz>;
55	pinctrl-2 = <&pinctrl_usdhc0_200mhz>;
56	bus-width = <8>;
57	disable-wp;
58	status = "okay";
59};
60