| 1 |
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
| 2 |
/* |
| 3 |
* Copyright (c) 2021 SUSE LLC |
| 4 |
* Copyright 2019-2021, 2024-2025 NXP |
| 5 |
*/ |
| 6 |
|
| 7 |
/dts-v1/; |
| 8 |
|
| 9 |
#include "s32g2.dtsi" |
| 10 |
#include "s32gxxxa-evb.dtsi" |
| 11 |
|
| 12 |
/ { |
| 13 |
model = "NXP S32G2 Evaluation Board (S32G-VNP-EVB)"; |
| 14 |
compatible = "nxp,s32g274a-evb", "nxp,s32g2"; |
| 15 |
|
| 16 |
aliases { |
| 17 |
ethernet0 = &gmac0; |
| 18 |
serial0 = &uart0; |
| 19 |
}; |
| 20 |
|
| 21 |
chosen { |
| 22 |
stdout-path = "serial0:115200n8"; |
| 23 |
}; |
| 24 |
|
| 25 |
/* 4GiB RAM */ |
| 26 |
memory@80000000 { |
| 27 |
device_type = "memory"; |
| 28 |
reg = <0x0 0x80000000 0 0x80000000>, |
| 29 |
<0x8 0x80000000 0 0x80000000>; |
| 30 |
}; |
| 31 |
}; |
| 32 |
|
| 33 |
/* UART (J58) to Micro USB port */ |
| 34 |
&uart0 { |
| 35 |
status = "okay"; |
| 36 |
}; |
| 37 |
|
| 38 |
&usdhc0 { |
| 39 |
pinctrl-names = "default", "state_100mhz", "state_200mhz"; |
| 40 |
pinctrl-0 = <&pinctrl_usdhc0>; |
| 41 |
pinctrl-1 = <&pinctrl_usdhc0_100mhz>; |
| 42 |
pinctrl-2 = <&pinctrl_usdhc0_200mhz>; |
| 43 |
disable-wp; |
| 44 |
no-1-8-v; |
| 45 |
status = "okay"; |
| 46 |
}; |
| 47 |
|
| 48 |
&gmac0 { |
| 49 |
clocks = <&clks 24>, <&clks 19>, <&clks 18>, <&clks 15>; |
| 50 |
clock-names = "stmmaceth", "tx", "rx", "ptp_ref"; |
| 51 |
phy-mode = "rgmii-id"; |
| 52 |
phy-handle = <&rgmiiaphy4>; |
| 53 |
status = "okay"; |
| 54 |
}; |
| 55 |
|
| 56 |
&gmac0mdio { |
| 57 |
/* KSZ 9031 on RGMII */ |
| 58 |
rgmiiaphy4: ethernet-phy@4 { |
| 59 |
reg = <4>; |
| 60 |
}; |
| 61 |
}; |