Tao Ren | 5cb98b4 | 2019-08-01 21:06:50 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | // Copyright (c) 2018 Facebook Inc. |
| 3 | /dts-v1/; |
| 4 | |
Tao Ren | e4c1633 | 2020-11-11 15:23:28 -0800 | [diff] [blame] | 5 | #include "ast2400-facebook-netbmc-common.dtsi" |
Tao Ren | 5cb98b4 | 2019-08-01 21:06:50 -0700 | [diff] [blame] | 6 | |
| 7 | / { |
| 8 | model = "Facebook Wedge 40 BMC"; |
| 9 | compatible = "facebook,wedge40-bmc", "aspeed,ast2400"; |
| 10 | |
Tao Ren | 5cb98b4 | 2019-08-01 21:06:50 -0700 | [diff] [blame] | 11 | chosen { |
| 12 | stdout-path = &uart3; |
| 13 | bootargs = "console=ttyS2,9600n8 root=/dev/ram rw"; |
| 14 | }; |
| 15 | |
Tao Ren | acd0093 | 2020-07-23 16:05:38 -0700 | [diff] [blame] | 16 | ast-adc-hwmon { |
| 17 | compatible = "iio-hwmon"; |
| 18 | io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>; |
| 19 | }; |
Tao Ren | 5cb98b4 | 2019-08-01 21:06:50 -0700 | [diff] [blame] | 20 | }; |
| 21 | |
Tao Ren | 5cb98b4 | 2019-08-01 21:06:50 -0700 | [diff] [blame] | 22 | &wdt2 { |
| 23 | status = "disabled"; |
| 24 | }; |
| 25 | |
Tao Ren | e687308 | 2020-07-23 16:05:39 -0700 | [diff] [blame] | 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 | }; |