Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / aspeed-bmc-facebook-tiogapass.dts
1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright (c) 2018 Facebook Inc.
3 // Author: Vijay Khemka <vijaykhemka@fb.com>
4 /dts-v1/;
5
6 #include "aspeed-g5.dtsi"
7 #include <dt-bindings/gpio/aspeed-gpio.h>
8
9 / {
10         model = "Facebook TiogaPass BMC";
11         compatible = "facebook,tiogapass-bmc", "aspeed,ast2500";
12         aliases {
13                 serial0 = &uart1;
14                 serial4 = &uart5;
15         };
16         chosen {
17                 stdout-path = &uart5;
18                 bootargs = "console=ttyS4,115200 earlyprintk";
19         };
20
21         memory@80000000 {
22                 reg = <0x80000000 0x20000000>;
23         };
24 };
25
26 &fmc {
27         status = "okay";
28         flash@0 {
29                 status = "okay";
30                 m25p,fast-read;
31 #include "openbmc-flash-layout.dtsi"
32         };
33 };
34
35 &spi1 {
36         status = "okay";
37         pinctrl-names = "default";
38         pinctrl-0 = <&pinctrl_spi1_default>;
39         flash@0 {
40                 status = "okay";
41                 m25p,fast-read;
42                 label = "pnor";
43         };
44 };
45
46 &uart1 {
47         // Host Console
48         status = "okay";
49         pinctrl-names = "default";
50         pinctrl-0 = <&pinctrl_txd1_default
51                      &pinctrl_rxd1_default>;
52 };
53
54 &uart5 {
55         // BMC Console
56         status = "okay";
57 };
58
59 &mac0 {
60         status = "okay";
61
62         pinctrl-names = "default";
63         pinctrl-0 = <&pinctrl_rmii1_default>;
64         use-ncsi;
65 };
66
67 &i2c0 {
68         status = "okay";
69         //Airmax Conn B, CPU0 PIROM, CPU1 PIROM
70 };
71
72 &i2c1 {
73         status = "okay";
74         //X24 Riser
75 };
76
77 &i2c2 {
78         status = "okay";
79         // Mezz Management SMBus
80 };
81
82 &i2c3 {
83         status = "okay";
84         // SMBus to Board ID EEPROM
85 };
86
87 &i2c4 {
88         status = "okay";
89         // BMC Debug Header
90 };
91
92 &i2c5 {
93         status = "okay";
94         // CPU Voltage regulators
95 };
96
97 &i2c6 {
98         status = "okay";
99         tpm@20 {
100                 compatible = "infineon,slb9645tt";
101                 reg = <0x20>;
102         };
103         tmp421@4e {
104                 compatible = "ti,tmp421";
105                 reg = <0x4e>;
106         };
107         tmp421@4f {
108                 compatible = "ti,tmp421";
109                 reg = <0x4f>;
110         };
111         eeprom@54 {
112                 compatible = "atmel,24c64";
113                 reg = <0x54>;
114                 pagesize = <32>;
115         };
116 };
117
118 &i2c7 {
119         status = "okay";
120         //HSC, AirMax Conn A
121 };
122
123 &i2c8 {
124         status = "okay";
125         //Mezz Sensor SMBus
126 };
127
128 &i2c9 {
129         status = "okay";
130         //USB Debug Connector
131 };
132
133 &pwm_tacho {
134         status = "okay";
135         pinctrl-names = "default";
136         pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default>;
137         fan@0 {
138                 reg = <0x00>;
139                 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
140         };
141
142         fan@1 {
143                 reg = <0x00>;
144                 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
145         };
146 };