GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / aspeed-bmc-intel-s2600wf.dts
1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2017 Intel Corporation
3 /dts-v1/;
4
5 #include "aspeed-g5.dtsi"
6
7 / {
8         model = "S2600WF BMC";
9         compatible = "intel,s2600wf-bmc", "aspeed,ast2500";
10
11         chosen {
12                 stdout-path = &uart5;
13                 bootargs = "earlyprintk";
14         };
15
16         memory@80000000 {
17                 reg = <0x80000000 0x20000000>;
18         };
19
20         reserved-memory {
21                 #address-cells = <1>;
22                 #size-cells = <1>;
23                 ranges;
24
25                 vga_memory: framebuffer@9f000000 {
26                         no-map;
27                         reg = <0x9f000000 0x01000000>; /* 16M */
28                 };
29         };
30
31         iio-hwmon {
32                 compatible = "iio-hwmon";
33                 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
34                         <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,
35                         <&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>,
36                         <&adc 12>, <&adc 13>, <&adc 14>, <&adc 15>;
37         };
38
39 };
40
41 &fmc {
42         status = "okay";
43         flash@0 {
44                 status = "okay";
45                 m25p,fast-read;
46                 label = "bmc";
47 #include "openbmc-flash-layout.dtsi"
48         };
49 };
50
51 &spi1 {
52         status = "okay";
53         pinctrl-names = "default";
54         pinctrl-0 = <&pinctrl_spi1_default>;
55
56         flash@0 {
57                 status = "okay";
58                 m25p,fast-read;
59                 label = "pnor";
60         };
61 };
62
63 &uart5 {
64         status = "okay";
65 };
66
67 &mac0 {
68         status = "okay";
69
70         pinctrl-names = "default";
71         pinctrl-0 = <&pinctrl_rmii1_default>;
72         use-ncsi;
73 };
74
75 &mac1 {
76         status = "okay";
77
78         pinctrl-names = "default";
79         pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
80 };
81
82 &i2c1 {
83         status = "okay";
84 };
85
86 &i2c2 {
87         status = "okay";
88 };
89
90 &i2c3 {
91         status = "okay";
92 };
93
94 &i2c4 {
95         status = "okay";
96 };
97
98 &i2c5 {
99         status = "okay";
100 };
101
102 &i2c6 {
103         status = "okay";
104 };
105
106 &i2c7 {
107         status = "okay";
108 };
109
110 &i2c13 {
111         status = "okay";
112 };
113
114 &gfx {
115         status = "okay";
116 };
117
118 &pinctrl {
119         aspeed,external-nodes = <&gfx &lhc>;
120 };
121
122 &pwm_tacho {
123         status = "okay";
124         pinctrl-names = "default";
125         pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default
126                          &pinctrl_pwm2_default &pinctrl_pwm3_default
127                          &pinctrl_pwm4_default &pinctrl_pwm5_default
128                          &pinctrl_pwm6_default &pinctrl_pwm7_default>;
129 };