• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// SPDX-License-Identifier: GPL-2.0+
2// Copyright (c) 2018 Facebook Inc.
3/dts-v1/;
4
5#include "ast2500-facebook-netbmc-common.dtsi"
6
7/ {
8	model = "Facebook YAMP 100 BMC";
9	compatible = "facebook,yamp-bmc", "aspeed,ast2500";
10
11	aliases {
12		/*
13		 * Override the default uart aliases to avoid breaking
14		 * the legacy applications.
15		 */
16		serial0 = &uart5;
17		serial1 = &uart1;
18		serial2 = &uart2;
19		serial3 = &uart3;
20	};
21
22	chosen {
23		stdout-path = &uart5;
24		bootargs = "console=ttyS0,9600n8 root=/dev/ram rw";
25	};
26};
27
28&uart2 {
29	status = "okay";
30	pinctrl-names = "default";
31	pinctrl-0 = <&pinctrl_txd2_default
32		     &pinctrl_rxd2_default>;
33};
34
35&mac0 {
36	status = "okay";
37	use-ncsi;
38	pinctrl-names = "default";
39	pinctrl-0 = <&pinctrl_rmii1_default>;
40	clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
41		 <&syscon ASPEED_CLK_MAC1RCLK>;
42	clock-names = "MACCLK", "RCLK";
43};
44
45&mac1 {
46	status = "disabled";
47};
48
49&i2c0 {
50	status = "okay";
51};
52
53&i2c1 {
54	status = "okay";
55};
56
57&i2c2 {
58	status = "okay";
59
60	i2c-switch@75 {
61		compatible = "nxp,pca9548";
62		#address-cells = <1>;
63		#size-cells = <0>;
64		reg = <0x75>;
65	};
66};
67
68&i2c3 {
69	status = "okay";
70};
71
72&i2c4 {
73	status = "okay";
74};
75
76&i2c5 {
77	status = "okay";
78};
79
80&i2c6 {
81	status = "okay";
82};
83
84&i2c7 {
85	status = "okay";
86};
87
88&i2c8 {
89	status = "okay";
90};
91
92&i2c9 {
93	status = "okay";
94};
95
96&i2c10 {
97	status = "okay";
98};
99
100&i2c11 {
101	status = "okay";
102};
103
104&i2c12 {
105	status = "okay";
106};
107
108&i2c13 {
109	status = "okay";
110};
111
112&fmc_flash0 {
113#include "facebook-bmc-flash-layout.dtsi"
114};
115
116&fmc_flash1 {
117	partitions {
118		compatible = "fixed-partitions";
119		#address-cells = <1>;
120		#size-cells = <1>;
121
122		flash1@0 {
123			reg = <0x0 0x2000000>;
124			label = "flash1";
125		};
126	};
127};
128