~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-vegman.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-vegman.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-vegman.dtsi (Architecture mips)


  1 // SPDX-License-Identifier: GPL-2.0+                1 // SPDX-License-Identifier: GPL-2.0+
  2 // Copyright (C) 2021 YADRO                         2 // Copyright (C) 2021 YADRO
  3                                                     3 
  4 #include "aspeed-g5.dtsi"                           4 #include "aspeed-g5.dtsi"
  5 #include <dt-bindings/gpio/aspeed-gpio.h>           5 #include <dt-bindings/gpio/aspeed-gpio.h>
  6                                                     6 
  7 / {                                                 7 / {
  8         aliases {                                   8         aliases {
  9                 serial4 = &uart5;                   9                 serial4 = &uart5;
 10         };                                         10         };
 11                                                    11 
 12         chosen {                                   12         chosen {
 13                 stdout-path = &uart5;              13                 stdout-path = &uart5;
 14                 bootargs = "console=ttyS4,1152     14                 bootargs = "console=ttyS4,115200 earlyprintk";
 15         };                                         15         };
 16                                                    16 
 17         memory@80000000 {                          17         memory@80000000 {
 18                 reg = <0x80000000 0x20000000>;     18                 reg = <0x80000000 0x20000000>;
 19         };                                         19         };
 20                                                    20 
 21         reserved-memory {                          21         reserved-memory {
 22                 #address-cells = <1>;              22                 #address-cells = <1>;
 23                 #size-cells = <1>;                 23                 #size-cells = <1>;
 24                 ranges;                            24                 ranges;
 25                                                    25 
 26                 video_engine_memory: jpegbuffe     26                 video_engine_memory: jpegbuffer {
 27                         size = <0x02000000>;       27                         size = <0x02000000>;    /* 32M */
 28                         alignment = <0x0100000     28                         alignment = <0x01000000>;
 29                         compatible = "shared-d     29                         compatible = "shared-dma-pool";
 30                         reusable;                  30                         reusable;
 31                 };                                 31                 };
 32                                                    32 
 33                 ramoops@9eff0000{                  33                 ramoops@9eff0000{
 34                         compatible = "ramoops"     34                         compatible = "ramoops";
 35                         reg = <0x9eff0000 0x10     35                         reg = <0x9eff0000 0x10000>;
 36                         record-size = <0x2000>     36                         record-size = <0x2000>;
 37                         console-size = <0x2000     37                         console-size = <0x2000>;
 38                 };                                 38                 };
 39         };                                         39         };
 40                                                    40 
 41         iio-hwmon {                                41         iio-hwmon {
 42                 compatible = "iio-hwmon";          42                 compatible = "iio-hwmon";
 43                 io-channels = <&adc 0>, <&adc      43                 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
 44                         <&adc 4>, <&adc 5>, <&     44                         <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,
 45                         <&adc 8>, <&adc 9>, <&     45                         <&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>,
 46                         <&adc 12>, <&adc 13>,      46                         <&adc 12>, <&adc 13>, <&adc 14>, <&adc 15>;
 47         };                                         47         };
 48                                                    48 
 49         leds {                                     49         leds {
 50                 compatible = "gpio-leds";          50                 compatible = "gpio-leds";
 51                                                    51 
 52                 identify {                         52                 identify {
 53                         label = "platform:blue     53                         label = "platform:blue:indicator";
 54                         linux,default-trigger      54                         linux,default-trigger = "heartbeat";
 55                         gpios = <&gpio ASPEED_     55                         gpios = <&gpio ASPEED_GPIO(S, 6) GPIO_ACTIVE_LOW>;
 56                 };                                 56                 };
 57                                                    57 
 58                 status_amber {                     58                 status_amber {
 59                         label = "platform:red:     59                         label = "platform:red:status";
 60                         default-state = "off";     60                         default-state = "off";
 61                         gpios = <&gpio ASPEED_     61                         gpios = <&gpio ASPEED_GPIO(S, 5) GPIO_ACTIVE_LOW>;
 62                 };                                 62                 };
 63                                                    63 
 64                 status_green {                     64                 status_green {
 65                         label = "platform:gree     65                         label = "platform:green:status";
 66                         default-state = "off";     66                         default-state = "off";
 67                         gpios = <&gpio ASPEED_     67                         gpios = <&gpio ASPEED_GPIO(S, 4) GPIO_ACTIVE_LOW>;
 68                 };                                 68                 };
 69                                                    69 
 70                 power_fault {                      70                 power_fault {
 71                         label = "platform:red:     71                         label = "platform:red:power";
 72                         default-state = "off";     72                         default-state = "off";
 73                         gpios = <&gpio ASPEED_     73                         gpios = <&gpio ASPEED_GPIO(AA, 4) GPIO_ACTIVE_LOW>;
 74                 };                                 74                 };
 75                                                    75 
 76                 power_ok {                         76                 power_ok {
 77                         label = "platform:gree     77                         label = "platform:green:power";
 78                         default-state = "off";     78                         default-state = "off";
 79                         gpios = <&gpio ASPEED_     79                         gpios = <&gpio ASPEED_GPIO(AA, 5) GPIO_ACTIVE_LOW>;
 80                 };                                 80                 };
 81         };                                         81         };
 82                                                    82 
 83         beeper {                                   83         beeper {
 84                 compatible = "pwm-beeper";         84                 compatible = "pwm-beeper";
 85                 pwms = <&timer 5 1000000 0>;       85                 pwms = <&timer 5 1000000 0>;
 86         };                                         86         };
 87 };                                                 87 };
 88                                                    88 
 89 &fmc {                                             89 &fmc {
 90         status = "okay";                           90         status = "okay";
 91         flash@0 {                                  91         flash@0 {
 92                 status = "okay";                   92                 status = "okay";
 93                 label = "bmc";                     93                 label = "bmc";
 94                 m25p,fast-read;                    94                 m25p,fast-read;
 95 #include "openbmc-flash-layout-64.dtsi"            95 #include "openbmc-flash-layout-64.dtsi"
 96         };                                         96         };
 97 };                                                 97 };
 98                                                    98 
 99 &spi2 {                                            99 &spi2 {
100         status = "okay";                          100         status = "okay";
101         pinctrl-names = "default";                101         pinctrl-names = "default";
102         pinctrl-0 = <&pinctrl_spi2ck_default      102         pinctrl-0 = <&pinctrl_spi2ck_default
103                         &pinctrl_spi2miso_defa    103                         &pinctrl_spi2miso_default
104                         &pinctrl_spi2mosi_defa    104                         &pinctrl_spi2mosi_default
105                         &pinctrl_spi2cs0_defau    105                         &pinctrl_spi2cs0_default>;
106         flash@0 {                                 106         flash@0 {
107                 status = "okay";                  107                 status = "okay";
108                 label = "bios";                   108                 label = "bios";
109                 m25p,fast-read;                   109                 m25p,fast-read;
110         };                                        110         };
111 };                                                111 };
112                                                   112 
113 &mac0 {                                           113 &mac0 {
114         status = "okay";                          114         status = "okay";
115         use-ncsi;                                 115         use-ncsi;
116                                                   116 
117         pinctrl-names = "default";                117         pinctrl-names = "default";
118         pinctrl-0 = <&pinctrl_rmii1_default>;     118         pinctrl-0 = <&pinctrl_rmii1_default>;
119 };                                                119 };
120                                                   120 
121 &mac1 {                                           121 &mac1 {
122         status = "okay";                          122         status = "okay";
123                                                   123 
124         pinctrl-names = "default";                124         pinctrl-names = "default";
125         pinctrl-0 = <&pinctrl_rgmii2_default &    125         pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
126                                                   126 
127         phy-mode = "rgmii";                       127         phy-mode = "rgmii";
128         phy-handle = <&phy>;                      128         phy-handle = <&phy>;
129         mdio {                                    129         mdio {
130                 #address-cells = <1>;             130                 #address-cells = <1>;
131                 #size-cells = <0>;                131                 #size-cells = <0>;
132                                                   132 
133                 phy: ethernet-phy@1 {             133                 phy: ethernet-phy@1 {
134                         /* KSZ9131 */             134                         /* KSZ9131 */
135                         compatible = "ethernet    135                         compatible = "ethernet-phy-id0022.1640";
136                         reg = <1>;                136                         reg = <1>;
137                                                   137 
138                         micrel,led-mode = <0>;    138                         micrel,led-mode = <0>;
139                 };                                139                 };
140         };                                        140         };
141 };                                                141 };
142                                                   142 
143 &vhub {                                           143 &vhub {
144         status = "okay";                          144         status = "okay";
145 };                                                145 };
146                                                   146 
147 &adc {                                            147 &adc {
148         status = "okay";                          148         status = "okay";
149 };                                                149 };
150                                                   150 
151 &video {                                          151 &video {
152         status = "okay";                          152         status = "okay";
153         memory-region = <&video_engine_memory>    153         memory-region = <&video_engine_memory>;
154 };                                                154 };
155                                                   155 
156 &sdmmc {                                          156 &sdmmc {
157         status = "okay";                          157         status = "okay";
158 };                                                158 };
159                                                   159 
160 &sdhci1 {                                         160 &sdhci1 {
161         status = "okay";                          161         status = "okay";
162                                                   162 
163         pinctrl-names = "default";                163         pinctrl-names = "default";
164         pinctrl-0 = <&pinctrl_sd2_default>;       164         pinctrl-0 = <&pinctrl_sd2_default>;
165         disable-wp;                               165         disable-wp;
166 };                                                166 };
167                                                   167 
168 &timer {                                          168 &timer {
169         fttmr010,pwm-outputs = <5>;               169         fttmr010,pwm-outputs = <5>;
170         pinctrl-names = "default";                170         pinctrl-names = "default";
171         pinctrl-0 = <&pinctrl_timer5_default>;    171         pinctrl-0 = <&pinctrl_timer5_default>;
172         #pwm-cells = <3>;                         172         #pwm-cells = <3>;
173         status = "okay";                          173         status = "okay";
174 };                                                174 };
175                                                   175 
176 &uart1 {                                          176 &uart1 {
177         status = "okay";                          177         status = "okay";
178         pinctrl-names = "default";                178         pinctrl-names = "default";
179         pinctrl-0 = <&pinctrl_txd1_default        179         pinctrl-0 = <&pinctrl_txd1_default
180                         &pinctrl_rxd1_default     180                         &pinctrl_rxd1_default
181                         &pinctrl_nrts1_default    181                         &pinctrl_nrts1_default
182                         &pinctrl_ndtr1_default    182                         &pinctrl_ndtr1_default
183                         &pinctrl_ndsr1_default    183                         &pinctrl_ndsr1_default
184                         &pinctrl_ncts1_default    184                         &pinctrl_ncts1_default
185                         &pinctrl_ndcd1_default    185                         &pinctrl_ndcd1_default
186                         &pinctrl_nri1_default>    186                         &pinctrl_nri1_default>;
187 };                                                187 };
188                                                   188 
189 &uart5 {                                          189 &uart5 {
190         status = "okay";                          190         status = "okay";
191 };                                                191 };
192                                                   192 
193 &vuart {                                          193 &vuart {
194         status = "okay";                          194         status = "okay";
195 };                                                195 };
196                                                   196 
197 &kcs3 {                                           197 &kcs3 {
198         aspeed,lpc-io-reg = <0xCA2>;              198         aspeed,lpc-io-reg = <0xCA2>;
199         status = "okay";                          199         status = "okay";
200 };                                                200 };
201                                                   201 
202 &kcs4 {                                           202 &kcs4 {
203         aspeed,lpc-io-reg = <0xCA4>;              203         aspeed,lpc-io-reg = <0xCA4>;
204         status = "okay";                          204         status = "okay";
205 };                                                205 };
206                                                   206 
207 &lpc_snoop {                                      207 &lpc_snoop {
208         snoop-ports = <0x80>;                     208         snoop-ports = <0x80>;
209         status = "okay";                          209         status = "okay";
210 };                                                210 };
211                                                   211 
212 &uart_routing {                                   212 &uart_routing {
213         status = "okay";                          213         status = "okay";
214 };                                                214 };
215                                                   215 
216 &uart2 {                                          216 &uart2 {
217         status = "okay";                          217         status = "okay";
218         pinctrl-names = "default";                218         pinctrl-names = "default";
219         pinctrl-0 = <>;                           219         pinctrl-0 = <>;
220 };                                                220 };
221                                                   221 
222 &uart3 {                                          222 &uart3 {
223         status = "okay";                          223         status = "okay";
224         pinctrl-names = "default";                224         pinctrl-names = "default";
225         pinctrl-0 = <>;                           225         pinctrl-0 = <>;
226 };                                                226 };
227                                                   227 
228 &uart4 {                                          228 &uart4 {
229         status = "okay";                          229         status = "okay";
230         pinctrl-names = "default";                230         pinctrl-names = "default";
231         pinctrl-0 = <>;                           231         pinctrl-0 = <>;
232 };                                                232 };
233                                                   233 
234 &i2c0 {                                           234 &i2c0 {
235         /* SMB_IPMB_STBY_LVC3 */                  235         /* SMB_IPMB_STBY_LVC3 */
236         multi-master;                             236         multi-master;
237         status = "okay";                          237         status = "okay";
238 };                                                238 };
239                                                   239 
240 &i2c1 {                                           240 &i2c1 {
241         /* SMB_CHASSENSOR_STBY_LVC3 */            241         /* SMB_CHASSENSOR_STBY_LVC3 */
242         status = "okay";                          242         status = "okay";
243 };                                                243 };
244                                                   244 
245 &i2c2 {                                           245 &i2c2 {
246         /* SMB_PCIE_STBY_LVC3 */                  246         /* SMB_PCIE_STBY_LVC3 */
247         status = "okay";                          247         status = "okay";
248 };                                                248 };
249                                                   249 
250 &i2c3 {                                           250 &i2c3 {
251         /* SMB_HOST_STBY_LVC3 */                  251         /* SMB_HOST_STBY_LVC3 */
252         multi-master;                             252         multi-master;
253         status = "okay";                          253         status = "okay";
254 };                                                254 };
255                                                   255 
256 &i2c4 {                                           256 &i2c4 {
257         /* BMC_PMBUS2_STBY */                     257         /* BMC_PMBUS2_STBY */
258         status = "okay";                          258         status = "okay";
259 };                                                259 };
260                                                   260 
261 &i2c5 {                                           261 &i2c5 {
262         /* SMB_SMLINK0_STBY_LVC3 */               262         /* SMB_SMLINK0_STBY_LVC3 */
263         bus-frequency = <1000000>;                263         bus-frequency = <1000000>;
264         multi-master;                             264         multi-master;
265         status = "okay";                          265         status = "okay";
266 };                                                266 };
267                                                   267 
268 &i2c6 {                                           268 &i2c6 {
269         /* SMB_TEMPSENSOR_STBY_LVC3 */            269         /* SMB_TEMPSENSOR_STBY_LVC3 */
270         multi-master;                             270         multi-master;
271         status = "okay";                          271         status = "okay";
272 };                                                272 };
273                                                   273 
274 &i2c7 {                                           274 &i2c7 {
275         /* SMB_SM_PMB1_SML1_STBY_LVC3 */          275         /* SMB_SM_PMB1_SML1_STBY_LVC3 */
276         multi-master;                             276         multi-master;
277         status = "okay";                          277         status = "okay";
278 };                                                278 };
279                                                   279 
280 &i2c9 {                                           280 &i2c9 {
281         /* SMB_BMC_ETH3_LVC3 */                   281         /* SMB_BMC_ETH3_LVC3 */
282         status = "okay";                          282         status = "okay";
283 };                                                283 };
284                                                   284 
285 &i2c10 {                                          285 &i2c10 {
286         /* SMB_BMC_ETH2_LVC3 */                   286         /* SMB_BMC_ETH2_LVC3 */
287         status = "okay";                          287         status = "okay";
288 };                                                288 };
289                                                   289 
290 &i2c11 {                                          290 &i2c11 {
291         /* SMB_BMC_MGMT_LVC3 */                   291         /* SMB_BMC_MGMT_LVC3 */
292         status = "okay";                          292         status = "okay";
293                                                   293 
294         at24@50 {                                 294         at24@50 {
295                 compatible = "atmel,24c64";       295                 compatible = "atmel,24c64";
296                 reg = <0x50>;                     296                 reg = <0x50>;
297                 pagesize = <32>;                  297                 pagesize = <32>;
298                 size = <8192>;                    298                 size = <8192>;
299                 address-width = <16>;             299                 address-width = <16>;
300         };                                        300         };
301 };                                                301 };
302                                                   302 
303 &i2c12 {                                          303 &i2c12 {
304         /* SMB_BMC_FAULT_EXP_LVC3 */              304         /* SMB_BMC_FAULT_EXP_LVC3 */
305         status = "okay";                          305         status = "okay";
306 };                                                306 };
307                                                   307 
308 &i2c13 {                                          308 &i2c13 {
309         /* SMB_PCIE2_STBY_LVC3 */                 309         /* SMB_PCIE2_STBY_LVC3 */
310         status = "okay";                          310         status = "okay";
311 };                                                311 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php