xref: /freebsd/sys/contrib/device-tree/src/arm/aspeed/aspeed-bmc-facebook-wedge100.dts (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+
2f126890aSEmmanuel Vadot// Copyright (c) 2018 Facebook Inc.
3f126890aSEmmanuel Vadot/dts-v1/;
4f126890aSEmmanuel Vadot
5f126890aSEmmanuel Vadot#include "ast2400-facebook-netbmc-common.dtsi"
6f126890aSEmmanuel Vadot
7f126890aSEmmanuel Vadot/ {
8f126890aSEmmanuel Vadot	model = "Facebook Wedge 100 BMC";
9f126890aSEmmanuel Vadot	compatible = "facebook,wedge100-bmc", "aspeed,ast2400";
10f126890aSEmmanuel Vadot
11f126890aSEmmanuel Vadot	chosen {
12f126890aSEmmanuel Vadot		stdout-path = &uart3;
13f126890aSEmmanuel Vadot		bootargs = "console=ttyS2,9600n8 root=/dev/ram rw";
14f126890aSEmmanuel Vadot	};
15f126890aSEmmanuel Vadot
16f126890aSEmmanuel Vadot	ast-adc-hwmon {
17f126890aSEmmanuel Vadot		compatible = "iio-hwmon";
18f126890aSEmmanuel Vadot		io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>;
19f126890aSEmmanuel Vadot	};
20f126890aSEmmanuel Vadot};
21f126890aSEmmanuel Vadot
22f126890aSEmmanuel Vadot&wdt2 {
23f126890aSEmmanuel Vadot	status = "okay";
24f126890aSEmmanuel Vadot	aspeed,reset-type = "system";
25f126890aSEmmanuel Vadot};
26f126890aSEmmanuel Vadot
27f126890aSEmmanuel Vadot&fmc {
28f126890aSEmmanuel Vadot	flash@1 {
29f126890aSEmmanuel Vadot		status = "okay";
30f126890aSEmmanuel Vadot		m25p,fast-read;
31f126890aSEmmanuel Vadot		label = "spi0.1";
32f126890aSEmmanuel Vadot
33f126890aSEmmanuel Vadot		partitions {
34f126890aSEmmanuel Vadot			compatible = "fixed-partitions";
35f126890aSEmmanuel Vadot			#address-cells = <1>;
36f126890aSEmmanuel Vadot			#size-cells = <1>;
37f126890aSEmmanuel Vadot
38f126890aSEmmanuel Vadot			flash1@0 {
39f126890aSEmmanuel Vadot				reg = <0x0 0x2000000>;
40f126890aSEmmanuel Vadot				label = "flash1";
41f126890aSEmmanuel Vadot			};
42f126890aSEmmanuel Vadot		};
43f126890aSEmmanuel Vadot	};
44f126890aSEmmanuel Vadot};
45f126890aSEmmanuel Vadot
46f126890aSEmmanuel Vadot&i2c7 {
47*aa1a8ff2SEmmanuel Vadot	i2c-mux@70 {
48f126890aSEmmanuel Vadot		compatible = "nxp,pca9548";
49f126890aSEmmanuel Vadot		#address-cells = <1>;
50f126890aSEmmanuel Vadot		#size-cells = <0>;
51f126890aSEmmanuel Vadot		reg = <0x70>;
52f126890aSEmmanuel Vadot		i2c-mux-idle-disconnect;
53f126890aSEmmanuel Vadot	};
54f126890aSEmmanuel Vadot};
55f126890aSEmmanuel Vadot
56f126890aSEmmanuel Vadot&i2c9 {
57f126890aSEmmanuel Vadot	status = "okay";
58f126890aSEmmanuel Vadot};
59f126890aSEmmanuel Vadot
60f126890aSEmmanuel Vadot
61f126890aSEmmanuel Vadot&vhub {
62f126890aSEmmanuel Vadot	status = "okay";
63f126890aSEmmanuel Vadot};
64