Merge branch 'for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup
[linux-2.6-microblaze.git] / arch / arm / boot / dts / aspeed-bmc-facebook-wedge40.dts
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 &adc {
27         status = "okay";
28 };
29
30 &pwm_tacho {
31         status = "okay";
32         pinctrl-names = "default";
33         pinctrl-0 = <&pinctrl_pwm0_default
34                      &pinctrl_pwm1_default
35                      &pinctrl_pwm6_default
36                      &pinctrl_pwm7_default>;
37
38         fan@0 {
39                 reg = <0x00>;
40                 aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
41         };
42
43         fan@1 {
44                 reg = <0x01>;
45                 aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
46         };
47
48         fan@6 {
49                 reg = <0x06>;
50                 aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>;
51         };
52
53         fan@7 {
54                 reg = <0x07>;
55                 aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>;
56         };
57 };