blob: 6624855d8ebdf785613966bf34303816b76bdb9f [file] [log] [blame]
Tao Ren5cb98b42019-08-01 21:06:50 -07001// SPDX-License-Identifier: GPL-2.0+
2// Copyright (c) 2018 Facebook Inc.
3/dts-v1/;
4
Tao Rene4c16332020-11-11 15:23:28 -08005#include "ast2400-facebook-netbmc-common.dtsi"
Tao Ren5cb98b42019-08-01 21:06:50 -07006
7/ {
8 model = "Facebook Wedge 40 BMC";
9 compatible = "facebook,wedge40-bmc", "aspeed,ast2400";
10
Tao Ren5cb98b42019-08-01 21:06:50 -070011 chosen {
12 stdout-path = &uart3;
13 bootargs = "console=ttyS2,9600n8 root=/dev/ram rw";
14 };
15
Tao Renacd00932020-07-23 16:05:38 -070016 ast-adc-hwmon {
17 compatible = "iio-hwmon";
18 io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>;
19 };
Tao Ren5cb98b42019-08-01 21:06:50 -070020};
21
Tao Ren5cb98b42019-08-01 21:06:50 -070022&wdt2 {
23 status = "disabled";
24};
25
Tao Rene6873082020-07-23 16:05:39 -070026&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};