xref: /linux/scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-qcom-dc-scm-v1.dts (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later
2*724ba675SRob Herring// Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
3*724ba675SRob Herring
4*724ba675SRob Herring/dts-v1/;
5*724ba675SRob Herring
6*724ba675SRob Herring#include "aspeed-g6.dtsi"
7*724ba675SRob Herring
8*724ba675SRob Herring/ {
9*724ba675SRob Herring	model = "Qualcomm DC-SCM V1 BMC";
10*724ba675SRob Herring	compatible = "qcom,dc-scm-v1-bmc", "aspeed,ast2600";
11*724ba675SRob Herring
12*724ba675SRob Herring	aliases {
13*724ba675SRob Herring		serial4 = &uart5;
14*724ba675SRob Herring	};
15*724ba675SRob Herring
16*724ba675SRob Herring	chosen {
17*724ba675SRob Herring		stdout-path = &uart5;
18*724ba675SRob Herring		bootargs = "console=ttyS4,115200n8";
19*724ba675SRob Herring	};
20*724ba675SRob Herring
21*724ba675SRob Herring	memory@80000000 {
22*724ba675SRob Herring		device_type = "memory";
23*724ba675SRob Herring		reg = <0x80000000 0x40000000>;
24*724ba675SRob Herring	};
25*724ba675SRob Herring};
26*724ba675SRob Herring
27*724ba675SRob Herring&mdio3 {
28*724ba675SRob Herring	status = "okay";
29*724ba675SRob Herring
30*724ba675SRob Herring	ethphy3: ethernet-phy@1 {
31*724ba675SRob Herring		compatible = "ethernet-phy-ieee802.3-c22";
32*724ba675SRob Herring		reg = <1>;
33*724ba675SRob Herring	};
34*724ba675SRob Herring};
35*724ba675SRob Herring
36*724ba675SRob Herring&mac2 {
37*724ba675SRob Herring	status = "okay";
38*724ba675SRob Herring
39*724ba675SRob Herring	/* Bootloader sets up the MAC to insert delay */
40*724ba675SRob Herring	phy-mode = "rgmii";
41*724ba675SRob Herring	phy-handle = <&ethphy3>;
42*724ba675SRob Herring
43*724ba675SRob Herring	pinctrl-names = "default";
44*724ba675SRob Herring	pinctrl-0 = <&pinctrl_rgmii3_default>;
45*724ba675SRob Herring};
46*724ba675SRob Herring
47*724ba675SRob Herring&mac3 {
48*724ba675SRob Herring	status = "okay";
49*724ba675SRob Herring
50*724ba675SRob Herring	pinctrl-names = "default";
51*724ba675SRob Herring	pinctrl-0 = <&pinctrl_rmii4_default>;
52*724ba675SRob Herring
53*724ba675SRob Herring	use-ncsi;
54*724ba675SRob Herring};
55*724ba675SRob Herring
56*724ba675SRob Herring&rtc {
57*724ba675SRob Herring	status = "okay";
58*724ba675SRob Herring};
59*724ba675SRob Herring
60*724ba675SRob Herring&fmc {
61*724ba675SRob Herring	status = "okay";
62*724ba675SRob Herring
63*724ba675SRob Herring	flash@0 {
64*724ba675SRob Herring		status = "okay";
65*724ba675SRob Herring		m25p,fast-read;
66*724ba675SRob Herring		label = "bmc";
67*724ba675SRob Herring		spi-max-frequency = <133000000>;
68*724ba675SRob Herring#include "openbmc-flash-layout-64.dtsi"
69*724ba675SRob Herring	};
70*724ba675SRob Herring
71*724ba675SRob Herring	flash@1 {
72*724ba675SRob Herring		status = "okay";
73*724ba675SRob Herring		m25p,fast-read;
74*724ba675SRob Herring		label = "alt-bmc";
75*724ba675SRob Herring		spi-max-frequency = <133000000>;
76*724ba675SRob Herring#include "openbmc-flash-layout-64-alt.dtsi"
77*724ba675SRob Herring	};
78*724ba675SRob Herring};
79*724ba675SRob Herring
80*724ba675SRob Herring&spi1 {
81*724ba675SRob Herring	status = "okay";
82*724ba675SRob Herring	pinctrl-names = "default";
83*724ba675SRob Herring	pinctrl-0 = <&pinctrl_spi1_default>;
84*724ba675SRob Herring
85*724ba675SRob Herring	flash@0 {
86*724ba675SRob Herring		status = "okay";
87*724ba675SRob Herring		m25p,fast-read;
88*724ba675SRob Herring		label = "bios";
89*724ba675SRob Herring		spi-max-frequency = <133000000>;
90*724ba675SRob Herring	};
91*724ba675SRob Herring};
92*724ba675SRob Herring
93*724ba675SRob Herring&gpio0 {
94*724ba675SRob Herring	gpio-line-names =
95*724ba675SRob Herring	/*A0-A7*/	"","","","","","","","",
96*724ba675SRob Herring	/*B0-B7*/	"BMC_FLASH_MUX_SEL","","","","","","","",
97*724ba675SRob Herring	/*C0-C7*/	"","","","","","","","",
98*724ba675SRob Herring	/*D0-D7*/	"","","","","","","","",
99*724ba675SRob Herring	/*E0-E7*/	"","","","","","","","",
100*724ba675SRob Herring	/*F0-F7*/	"","","","","","","","",
101*724ba675SRob Herring	/*G0-G7*/	"","","","","","","","",
102*724ba675SRob Herring	/*H0-H7*/	"","","","","","","","",
103*724ba675SRob Herring	/*I0-I7*/	"","","","","","","","",
104*724ba675SRob Herring	/*J0-J7*/	"","","","","","","","",
105*724ba675SRob Herring	/*K0-K7*/	"","","","","","","","",
106*724ba675SRob Herring	/*L0-L7*/	"","","","","","","","",
107*724ba675SRob Herring	/*M0-M7*/	"","","","","","","","",
108*724ba675SRob Herring	/*N0-N7*/	"BMC_FWSPI_RST_N","","GPIO_1_BMC_3V3","","","","","",
109*724ba675SRob Herring	/*O0-O7*/	"JTAG_MUX_A","JTAG_MUX_B","","","","","","",
110*724ba675SRob Herring	/*P0-P7*/	"","","","","","","","",
111*724ba675SRob Herring	/*Q0-Q7*/	"","","","","","","","",
112*724ba675SRob Herring	/*R0-R7*/	"","","","","","","","",
113*724ba675SRob Herring	/*S0-S7*/	"","","","","","","","",
114*724ba675SRob Herring	/*T0-T7*/	"","","","","","","","",
115*724ba675SRob Herring	/*U0-U7*/	"","","","","","","","",
116*724ba675SRob Herring	/*V0-V7*/	"","","","SCMFPGA_SPARE_GPIO1_3V3",
117*724ba675SRob Herring			"SCMFPGA_SPARE_GPIO2_3V3","SCMFPGA_SPARE_GPIO3_3V3",
118*724ba675SRob Herring			"SCMFPGA_SPARE_GPIO4_3V3","SCMFPGA_SPARE_GPIO5_3V3",
119*724ba675SRob Herring	/*W0-W7*/	"","","","","","","","",
120*724ba675SRob Herring	/*X0-X7*/	"","","","","","","","",
121*724ba675SRob Herring	/*Y0-Y7*/	"","","","","","","","",
122*724ba675SRob Herring	/*Z0-Z7*/	"","","","","","","","",
123*724ba675SRob Herring	/*AA0-AA7*/	"","","","","","","","",
124*724ba675SRob Herring	/*AB0-AB7*/	"","","","","","","","",
125*724ba675SRob Herring	/*AC0-AC7*/	"","","","","","","","";
126*724ba675SRob Herring};
127*724ba675SRob Herring
128*724ba675SRob Herring&gpio1 {
129*724ba675SRob Herring	gpio-line-names =
130*724ba675SRob Herring	/*A0-A7*/	"GPI_1_BMC_1V8","","","","","",
131*724ba675SRob Herring			"SCMFPGA_SPARE_GPIO1_1V8","SCMFPGA_SPARE_GPIO2_1V8",
132*724ba675SRob Herring	/*B0-B7*/	"SCMFPGA_SPARE_GPIO3_1V8","SCMFPGA_SPARE_GPIO4_1V8",
133*724ba675SRob Herring			"SCMFPGA_SPARE_GPIO5_1V8","","","","","",
134*724ba675SRob Herring	/*C0-C7*/	"","","","","","","","",
135*724ba675SRob Herring	/*D0-D7*/	"","BMC_SPI1_RST_N","BIOS_FLASH_MUX_SEL","",
136*724ba675SRob Herring			"","TPM2_PIRQ_N","TPM2_RST_N","",
137*724ba675SRob Herring	/*E0-E7*/	"","","","","","","","";
138*724ba675SRob Herring};
139*724ba675SRob Herring
140*724ba675SRob Herring&i2c2 {
141*724ba675SRob Herring	status = "okay";
142*724ba675SRob Herring};
143*724ba675SRob Herring
144*724ba675SRob Herring&i2c4 {
145*724ba675SRob Herring	status = "okay";
146*724ba675SRob Herring};
147*724ba675SRob Herring
148*724ba675SRob Herring&i2c5 {
149*724ba675SRob Herring	status = "okay";
150*724ba675SRob Herring};
151*724ba675SRob Herring
152*724ba675SRob Herring&i2c6 {
153*724ba675SRob Herring	status = "okay";
154*724ba675SRob Herring};
155*724ba675SRob Herring
156*724ba675SRob Herring&i2c7 {
157*724ba675SRob Herring	status = "okay";
158*724ba675SRob Herring};
159*724ba675SRob Herring
160*724ba675SRob Herring&i2c8 {
161*724ba675SRob Herring	status = "okay";
162*724ba675SRob Herring};
163*724ba675SRob Herring
164*724ba675SRob Herring&i2c9 {
165*724ba675SRob Herring	status = "okay";
166*724ba675SRob Herring};
167*724ba675SRob Herring
168*724ba675SRob Herring&i2c10 {
169*724ba675SRob Herring	status = "okay";
170*724ba675SRob Herring};
171*724ba675SRob Herring
172*724ba675SRob Herring&i2c12 {
173*724ba675SRob Herring	status = "okay";
174*724ba675SRob Herring};
175*724ba675SRob Herring
176*724ba675SRob Herring&i2c13 {
177*724ba675SRob Herring	status = "okay";
178*724ba675SRob Herring};
179*724ba675SRob Herring
180*724ba675SRob Herring&i2c14 {
181*724ba675SRob Herring	status = "okay";
182*724ba675SRob Herring};
183*724ba675SRob Herring
184*724ba675SRob Herring&i2c15 {
185*724ba675SRob Herring	status = "okay";
186*724ba675SRob Herring};
187*724ba675SRob Herring
188*724ba675SRob Herring&vhub {
189*724ba675SRob Herring	status = "okay";
190*724ba675SRob Herring};
191