xref: /linux/scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-facebook-yamp.dts (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0+
2724ba675SRob Herring// Copyright (c) 2018 Facebook Inc.
3724ba675SRob Herring/dts-v1/;
4724ba675SRob Herring
5724ba675SRob Herring#include "ast2500-facebook-netbmc-common.dtsi"
6724ba675SRob Herring
7724ba675SRob Herring/ {
8724ba675SRob Herring	model = "Facebook YAMP 100 BMC";
9724ba675SRob Herring	compatible = "facebook,yamp-bmc", "aspeed,ast2500";
10724ba675SRob Herring
11724ba675SRob Herring	aliases {
12724ba675SRob Herring		/*
13724ba675SRob Herring		 * Override the default uart aliases to avoid breaking
14724ba675SRob Herring		 * the legacy applications.
15724ba675SRob Herring		 */
16724ba675SRob Herring		serial0 = &uart5;
17724ba675SRob Herring		serial1 = &uart1;
18724ba675SRob Herring		serial2 = &uart2;
19724ba675SRob Herring		serial3 = &uart3;
20724ba675SRob Herring	};
21724ba675SRob Herring
22724ba675SRob Herring	chosen {
23724ba675SRob Herring		stdout-path = &uart5;
24724ba675SRob Herring		bootargs = "console=ttyS0,9600n8 root=/dev/ram rw";
25724ba675SRob Herring	};
26724ba675SRob Herring};
27724ba675SRob Herring
28724ba675SRob Herring&uart2 {
29724ba675SRob Herring	status = "okay";
30724ba675SRob Herring	pinctrl-names = "default";
31724ba675SRob Herring	pinctrl-0 = <&pinctrl_txd2_default
32724ba675SRob Herring		     &pinctrl_rxd2_default>;
33724ba675SRob Herring};
34724ba675SRob Herring
35724ba675SRob Herring&mac0 {
36724ba675SRob Herring	status = "okay";
37724ba675SRob Herring	use-ncsi;
38724ba675SRob Herring	pinctrl-names = "default";
39724ba675SRob Herring	pinctrl-0 = <&pinctrl_rmii1_default>;
40724ba675SRob Herring	clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
41724ba675SRob Herring		 <&syscon ASPEED_CLK_MAC1RCLK>;
42724ba675SRob Herring	clock-names = "MACCLK", "RCLK";
43724ba675SRob Herring};
44724ba675SRob Herring
45724ba675SRob Herring&mac1 {
46724ba675SRob Herring	status = "disabled";
47724ba675SRob Herring};
48724ba675SRob Herring
49724ba675SRob Herring&i2c0 {
50724ba675SRob Herring	status = "okay";
51724ba675SRob Herring};
52724ba675SRob Herring
53724ba675SRob Herring&i2c1 {
54724ba675SRob Herring	status = "okay";
55724ba675SRob Herring};
56724ba675SRob Herring
57724ba675SRob Herring&i2c2 {
58724ba675SRob Herring	status = "okay";
59724ba675SRob Herring
60*4b46d86cSGeert Uytterhoeven	i2c-mux@75 {
61724ba675SRob Herring		compatible = "nxp,pca9548";
62724ba675SRob Herring		#address-cells = <1>;
63724ba675SRob Herring		#size-cells = <0>;
64724ba675SRob Herring		reg = <0x75>;
65724ba675SRob Herring	};
66724ba675SRob Herring};
67724ba675SRob Herring
68724ba675SRob Herring&i2c3 {
69724ba675SRob Herring	status = "okay";
70724ba675SRob Herring};
71724ba675SRob Herring
72724ba675SRob Herring&i2c4 {
73724ba675SRob Herring	status = "okay";
74724ba675SRob Herring};
75724ba675SRob Herring
76724ba675SRob Herring&i2c5 {
77724ba675SRob Herring	status = "okay";
78724ba675SRob Herring};
79724ba675SRob Herring
80724ba675SRob Herring&i2c6 {
81724ba675SRob Herring	status = "okay";
82724ba675SRob Herring};
83724ba675SRob Herring
84724ba675SRob Herring&i2c7 {
85724ba675SRob Herring	status = "okay";
86724ba675SRob Herring};
87724ba675SRob Herring
88724ba675SRob Herring&i2c8 {
89724ba675SRob Herring	status = "okay";
90724ba675SRob Herring};
91724ba675SRob Herring
92724ba675SRob Herring&i2c9 {
93724ba675SRob Herring	status = "okay";
94724ba675SRob Herring};
95724ba675SRob Herring
96724ba675SRob Herring&i2c10 {
97724ba675SRob Herring	status = "okay";
98724ba675SRob Herring};
99724ba675SRob Herring
100724ba675SRob Herring&i2c11 {
101724ba675SRob Herring	status = "okay";
102724ba675SRob Herring};
103724ba675SRob Herring
104724ba675SRob Herring&i2c12 {
105724ba675SRob Herring	status = "okay";
106724ba675SRob Herring};
107724ba675SRob Herring
108724ba675SRob Herring&i2c13 {
109724ba675SRob Herring	status = "okay";
110724ba675SRob Herring};
111724ba675SRob Herring
112724ba675SRob Herring&fmc_flash0 {
113724ba675SRob Herring#include "facebook-bmc-flash-layout.dtsi"
114724ba675SRob Herring};
115724ba675SRob Herring
116724ba675SRob Herring&fmc_flash1 {
117724ba675SRob Herring	partitions {
118724ba675SRob Herring		compatible = "fixed-partitions";
119724ba675SRob Herring		#address-cells = <1>;
120724ba675SRob Herring		#size-cells = <1>;
121724ba675SRob Herring
122724ba675SRob Herring		flash1@0 {
123724ba675SRob Herring			reg = <0x0 0x2000000>;
124724ba675SRob Herring			label = "flash1";
125724ba675SRob Herring		};
126724ba675SRob Herring	};
127724ba675SRob Herring};
128