xref: /linux/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts (revision 55d0969c451159cff86949b38c39171cab962069)
1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Copyright (c) 2021 SUSE LLC
4 * Copyright 2019-2021, 2024 NXP
5 */
6
7/dts-v1/;
8
9#include "s32g2.dtsi"
10
11/ {
12	model = "NXP S32G2 Reference Design Board 2 (S32G-VNP-RDB2)";
13	compatible = "nxp,s32g274a-rdb2", "nxp,s32g2";
14
15	aliases {
16		serial0 = &uart0;
17		serial1 = &uart1;
18	};
19
20	chosen {
21		stdout-path = "serial0:115200n8";
22	};
23
24	/* 4GiB RAM */
25	memory@80000000 {
26		device_type = "memory";
27		reg = <0x0 0x80000000 0 0x80000000>,
28		      <0x8 0x80000000 0 0x80000000>;
29	};
30};
31
32/* UART (J2) to Micro USB port */
33&uart0 {
34	status = "okay";
35};
36
37/* UART (J1) to Micro USB port */
38&uart1 {
39	status = "okay";
40};
41
42&usdhc0 {
43	pinctrl-names = "default", "state_100mhz", "state_200mhz";
44	pinctrl-0 = <&pinctrl_usdhc0>;
45	pinctrl-1 = <&pinctrl_usdhc0_100mhz>;
46	pinctrl-2 = <&pinctrl_usdhc0_200mhz>;
47	disable-wp;
48	/* Remove no-1-8-v to enable higher speed modes for SD card.
49	 * However, this is not enough to enable HS400 or HS200 modes for eMMC.
50	 * In this case, the position of the resistor R797 must be changed
51	 * from A to B before removing the property.
52	 * If the property is removed without changing the resistor position,
53	 * HS*00 may be enabled, but the interface might be unstable because of
54	 * the wrong VCCQ voltage applied to the eMMC.
55	 */
56	no-1-8-v;
57	status = "okay";
58};
59