Loading...
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};
1// SPDX-License-Identifier: GPL-2.0+
2// Copyright (c) 2018 Facebook Inc.
3/dts-v1/;
4
5#include "aspeed-g4.dtsi"
6
7/ {
8 model = "Facebook Wedge 40 BMC";
9 compatible = "facebook,wedge40-bmc", "aspeed,ast2400";
10
11 aliases {
12 /*
13 * Override the default uart aliases to avoid breaking
14 * the legacy applications.
15 */
16 serial0 = &uart5;
17 serial1 = &uart1;
18 serial2 = &uart3;
19 serial3 = &uart4;
20 };
21
22 chosen {
23 stdout-path = &uart3;
24 bootargs = "console=ttyS2,9600n8 root=/dev/ram rw";
25 };
26
27 memory@40000000 {
28 reg = <0x40000000 0x20000000>;
29 };
30};
31
32&wdt1 {
33 status = "okay";
34 aspeed,reset-type = "system";
35};
36
37&wdt2 {
38 status = "disabled";
39};
40
41&fmc {
42 status = "okay";
43 flash@0 {
44 status = "okay";
45 m25p,fast-read;
46 label = "fmc0";
47#include "facebook-bmc-flash-layout.dtsi"
48 };
49};
50
51&uart1 {
52 status = "okay";
53 pinctrl-names = "default";
54 pinctrl-0 = <&pinctrl_txd1_default
55 &pinctrl_rxd1_default>;
56};
57
58&uart3 {
59 status = "okay";
60 pinctrl-names = "default";
61 pinctrl-0 = <&pinctrl_txd3_default
62 &pinctrl_rxd3_default>;
63};
64
65&uart4 {
66 status = "okay";
67 pinctrl-names = "default";
68 pinctrl-0 = <&pinctrl_txd4_default
69 &pinctrl_rxd4_default>;
70};
71
72&uart5 {
73 status = "okay";
74};
75
76&mac1 {
77 status = "okay";
78 no-hw-checksum;
79 pinctrl-names = "default";
80 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
81};
82
83&i2c0 {
84 status = "okay";
85};
86
87&i2c1 {
88 status = "okay";
89};
90
91&i2c2 {
92 status = "okay";
93};
94
95&i2c3 {
96 status = "okay";
97};
98
99&i2c4 {
100 status = "okay";
101};
102
103&i2c5 {
104 status = "okay";
105};
106
107&i2c6 {
108 status = "okay";
109};
110
111&i2c7 {
112 status = "okay";
113};
114
115&i2c8 {
116 status = "okay";
117};
118
119&i2c9 {
120 status = "okay";
121};
122
123&i2c10 {
124 status = "okay";
125};
126
127&i2c11 {
128 status = "okay";
129};
130
131&i2c12 {
132 status = "okay";
133};
134
135&i2c13 {
136 status = "okay";
137};
138
139&vhub {
140 status = "okay";
141};