1// SPDX-License-Identifier: GPL-2.0+
2// Copyright (c) 2019 Facebook Inc.
3
4#include "aspeed-g5.dtsi"
5
6/ {
7	memory@80000000 {
8		reg = <0x80000000 0x40000000>;
9	};
10};
11
12/*
13 * Update reset type to "system" (full chip) to fix warm reboot hang issue
14 * when reset type is set to default ("soc", gated by reset mask registers).
15 */
16&wdt1 {
17	status = "okay";
18	aspeed,reset-type = "system";
19};
20
21&wdt2 {
22	status = "disabled";
23};
24
25&uart1 {
26	status = "okay";
27	pinctrl-names = "default";
28	pinctrl-0 = <&pinctrl_txd1_default
29		     &pinctrl_rxd1_default>;
30};
31
32&uart3 {
33	status = "okay";
34	pinctrl-names = "default";
35	pinctrl-0 = <&pinctrl_txd3_default
36		     &pinctrl_rxd3_default>;
37};
38
39&uart5 {
40	status = "okay";
41};
42
43&fmc {
44	status = "okay";
45
46	fmc_flash0: flash@0 {
47		status = "okay";
48		m25p,fast-read;
49		label = "spi0.0";
50	};
51
52	fmc_flash1: flash@1 {
53		status = "okay";
54		m25p,fast-read;
55		label = "spi0.1";
56	};
57};
58
59&mac1 {
60	status = "okay";
61	pinctrl-names = "default";
62	pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
63};
64
65&rtc {
66	status = "okay";
67};
68
69&vhub {
70	status = "okay";
71};
72
73&sdmmc {
74	status = "okay";
75};
76
77&sdhci1 {
78	status = "okay";
79
80	pinctrl-names = "default";
81	pinctrl-0 = <&pinctrl_sd2_default>;
82};
83