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