xref: /freebsd/sys/contrib/device-tree/src/arm/aspeed/ast2400-facebook-netbmc-common.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1// SPDX-License-Identifier: GPL-2.0+
2// Copyright (c) 2020 Facebook Inc.
3/dts-v1/;
4
5#include "aspeed-g4.dtsi"
6
7/ {
8	aliases {
9		/*
10		 * Override the default uart aliases to avoid breaking
11		 * the legacy applications.
12		 */
13		serial0 = &uart5;
14		serial1 = &uart1;
15		serial2 = &uart3;
16		serial3 = &uart4;
17	};
18
19	memory@40000000 {
20		reg = <0x40000000 0x20000000>;
21	};
22};
23
24&wdt1 {
25	status = "okay";
26	aspeed,reset-type = "system";
27};
28
29&fmc {
30	status = "okay";
31	flash@0 {
32		status = "okay";
33		m25p,fast-read;
34		label = "spi0.0";
35#include "facebook-bmc-flash-layout.dtsi"
36	};
37};
38
39&uart1 {
40	status = "okay";
41	pinctrl-names = "default";
42	pinctrl-0 = <&pinctrl_txd1_default
43		     &pinctrl_rxd1_default>;
44};
45
46&uart3 {
47	status = "okay";
48	pinctrl-names = "default";
49	pinctrl-0 = <&pinctrl_txd3_default
50		     &pinctrl_rxd3_default>;
51};
52
53&uart4 {
54	status = "okay";
55	pinctrl-names = "default";
56	pinctrl-0 = <&pinctrl_txd4_default
57		     &pinctrl_rxd4_default
58		     &pinctrl_ndts4_default>;
59};
60
61&uart5 {
62	status = "okay";
63};
64
65&mac1 {
66	status = "okay";
67	pinctrl-names = "default";
68	pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
69};
70
71&i2c0 {
72	status = "okay";
73};
74
75&i2c1 {
76	status = "okay";
77};
78
79&i2c2 {
80	status = "okay";
81};
82
83&i2c3 {
84	status = "okay";
85};
86
87&i2c4 {
88	status = "okay";
89};
90
91&i2c5 {
92	status = "okay";
93};
94
95&i2c6 {
96	status = "okay";
97};
98
99&i2c7 {
100	status = "okay";
101};
102
103&i2c8 {
104	status = "okay";
105};
106
107&i2c11 {
108	status = "okay";
109};
110
111&i2c12 {
112	status = "okay";
113};
114
115&vhub {
116	status = "okay";
117};
118
119&adc {
120	status = "okay";
121};
122