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