summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/s32g274a-evb.dts
blob: aa40a52f8e531ba201c86db647a6ae8e6db8ec2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
 * Copyright (c) 2021 SUSE LLC
 * Copyright 2019-2021, 2024-2025 NXP
 */

/dts-v1/;

#include "s32g2.dtsi"
#include "s32gxxxa-evb.dtsi"

/ {
	model = "NXP S32G2 Evaluation Board (S32G-VNP-EVB)";
	compatible = "nxp,s32g274a-evb", "nxp,s32g2";

	aliases {
		ethernet0 = &gmac0;
		serial0 = &uart0;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

	/* 4GiB RAM */
	memory@80000000 {
		device_type = "memory";
		reg = <0x0 0x80000000 0 0x80000000>,
		      <0x8 0x80000000 0 0x80000000>;
	};
};

/* UART (J58) to Micro USB port */
&uart0 {
	status = "okay";
};

&usdhc0 {
	pinctrl-names = "default", "state_100mhz", "state_200mhz";
	pinctrl-0 = <&pinctrl_usdhc0>;
	pinctrl-1 = <&pinctrl_usdhc0_100mhz>;
	pinctrl-2 = <&pinctrl_usdhc0_200mhz>;
	disable-wp;
	no-1-8-v;
	status = "okay";
};

&gmac0 {
	clocks = <&clks 24>, <&clks 19>, <&clks 18>, <&clks 15>;
	clock-names = "stmmaceth", "tx", "rx", "ptp_ref";
	phy-mode = "rgmii-id";
	phy-handle = <&rgmiiaphy4>;
	status = "okay";
};

&gmac0mdio {
	/* KSZ 9031 on RGMII */
	rgmiiaphy4: ethernet-phy@4 {
		reg = <4>;
	};
};