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