xref: /freebsd/sys/contrib/device-tree/src/arm/aspeed/aspeed-bmc-facebook-wedge40.dts (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1// SPDX-License-Identifier: GPL-2.0+
2// Copyright (c) 2018 Facebook Inc.
3/dts-v1/;
4
5#include "ast2400-facebook-netbmc-common.dtsi"
6
7/ {
8	model = "Facebook Wedge 40 BMC";
9	compatible = "facebook,wedge40-bmc", "aspeed,ast2400";
10
11	chosen {
12		stdout-path = &uart3;
13		bootargs = "console=ttyS2,9600n8 root=/dev/ram rw";
14	};
15
16	ast-adc-hwmon {
17		compatible = "iio-hwmon";
18		io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>;
19	};
20};
21
22&wdt2 {
23	status = "disabled";
24};
25
26&pwm_tacho {
27	status = "okay";
28	pinctrl-names = "default";
29	pinctrl-0 = <&pinctrl_pwm0_default
30		     &pinctrl_pwm1_default
31		     &pinctrl_pwm6_default
32		     &pinctrl_pwm7_default>;
33
34	fan@0 {
35		reg = <0x00>;
36		aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
37	};
38
39	fan@1 {
40		reg = <0x01>;
41		aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
42	};
43
44	fan@6 {
45		reg = <0x06>;
46		aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>;
47	};
48
49	fan@7 {
50		reg = <0x07>;
51		aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>;
52	};
53};
54