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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-opp-nicole.dts

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-opp-nicole.dts (Architecture i386) and /scripts/dtc/include-prefixes/arm/aspeed/aspeed-bmc-opp-nicole.dts (Architecture sparc64)


  1 // SPDX-License-Identifier: GPL-2.0+                1 // SPDX-License-Identifier: GPL-2.0+
  2 // Copyright 2019 YADRO                             2 // Copyright 2019 YADRO
  3 /dts-v1/;                                           3 /dts-v1/;
  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         model = "Nicole BMC";                       8         model = "Nicole BMC";
  9         compatible = "yadro,nicole-bmc", "aspe      9         compatible = "yadro,nicole-bmc", "aspeed,ast2500";
 10                                                    10 
 11         chosen {                                   11         chosen {
 12                 stdout-path = &uart5;              12                 stdout-path = &uart5;
 13                 bootargs = "console=ttyS4,1152     13                 bootargs = "console=ttyS4,115200 earlycon";
 14         };                                         14         };
 15                                                    15 
 16         memory@80000000 {                          16         memory@80000000 {
 17                 reg = <0x80000000 0x20000000>;     17                 reg = <0x80000000 0x20000000>;
 18         };                                         18         };
 19                                                    19 
 20         reserved-memory {                          20         reserved-memory {
 21                 #address-cells = <1>;              21                 #address-cells = <1>;
 22                 #size-cells = <1>;                 22                 #size-cells = <1>;
 23                 ranges;                            23                 ranges;
 24                                                    24 
 25                 vga_memory: framebuffer@9f0000     25                 vga_memory: framebuffer@9f000000 {
 26                         no-map;                    26                         no-map;
 27                         reg = <0x9f000000 0x01     27                         reg = <0x9f000000 0x01000000>; /* 16M */
 28                 };                                 28                 };
 29                                                    29 
 30                 flash_memory: region@98000000      30                 flash_memory: region@98000000 {
 31                         no-map;                    31                         no-map;
 32                         reg = <0x98000000 0x04     32                         reg = <0x98000000 0x04000000>; /* 64M */
 33                 };                                 33                 };
 34                                                    34 
 35                 coldfire_memory: codefire_memo     35                 coldfire_memory: codefire_memory@9ef00000 {
 36                         reg = <0x9ef00000 0x00     36                         reg = <0x9ef00000 0x00100000>;
 37                         no-map;                    37                         no-map;
 38                 };                                 38                 };
 39                                                    39 
 40                 gfx_memory: framebuffer {          40                 gfx_memory: framebuffer {
 41                         size = <0x01000000>;       41                         size = <0x01000000>;
 42                         alignment = <0x0100000     42                         alignment = <0x01000000>;
 43                         compatible = "shared-d     43                         compatible = "shared-dma-pool";
 44                         reusable;                  44                         reusable;
 45                 };                                 45                 };
 46                                                    46 
 47                 video_engine_memory: jpegbuffe     47                 video_engine_memory: jpegbuffer {
 48                         size = <0x02000000>;       48                         size = <0x02000000>;    /* 32M */
 49                         alignment = <0x0100000     49                         alignment = <0x01000000>;
 50                         compatible = "shared-d     50                         compatible = "shared-dma-pool";
 51                         reusable;                  51                         reusable;
 52                 };                                 52                 };
 53         };                                         53         };
 54                                                    54 
 55         leds {                                     55         leds {
 56                 compatible = "gpio-leds";          56                 compatible = "gpio-leds";
 57                                                    57 
 58                 power {                            58                 power {
 59                         label = "platform:gree     59                         label = "platform:green:power";
 60                         gpios = <&gpio ASPEED_     60                         gpios = <&gpio ASPEED_GPIO(AA, 4) GPIO_ACTIVE_HIGH>;
 61                 };                                 61                 };
 62                                                    62 
 63                 identify {                         63                 identify {
 64                         label = "platform:blue     64                         label = "platform:blue:indicator";
 65                         gpios = <&gpio ASPEED_     65                         gpios = <&gpio ASPEED_GPIO(AA, 7) GPIO_ACTIVE_HIGH>;
 66                 };                                 66                 };
 67                                                    67 
 68                 fault {                            68                 fault {
 69                         label = "platform:red:     69                         label = "platform:red:fault";
 70                         gpios = <&gpio ASPEED_     70                         gpios = <&gpio ASPEED_GPIO(AA, 3) GPIO_ACTIVE_HIGH>;
 71                 };                                 71                 };
 72                                                    72 
 73                 attention {                        73                 attention {
 74                         label = "platform:yell     74                         label = "platform:yellow:alarm";
 75                         gpios = <&gpio ASPEED_     75                         gpios = <&gpio ASPEED_GPIO(AA, 1) GPIO_ACTIVE_HIGH>;
 76                 };                                 76                 };
 77         };                                         77         };
 78                                                    78 
 79         fsi: gpio-fsi {                            79         fsi: gpio-fsi {
 80                 compatible = "aspeed,ast2500-c     80                 compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master";
 81                 #address-cells = <2>;              81                 #address-cells = <2>;
 82                 #size-cells = <0>;                 82                 #size-cells = <0>;
 83                 no-gpio-delays;                    83                 no-gpio-delays;
 84                                                    84 
 85                 memory-region = <&coldfire_mem     85                 memory-region = <&coldfire_memory>;
 86                 aspeed,sram = <&sram>;             86                 aspeed,sram = <&sram>;
 87                 aspeed,cvic = <&cvic>;             87                 aspeed,cvic = <&cvic>;
 88                                                    88 
 89                 clock-gpios = <&gpio ASPEED_GP     89                 clock-gpios = <&gpio ASPEED_GPIO(AA, 0) GPIO_ACTIVE_HIGH>;
 90                 data-gpios = <&gpio ASPEED_GPI     90                 data-gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_HIGH>;
 91                 mux-gpios = <&gpio ASPEED_GPIO     91                 mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
 92                 enable-gpios = <&gpio ASPEED_G     92                 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
 93                 trans-gpios = <&gpio ASPEED_GP     93                 trans-gpios = <&gpio ASPEED_GPIO(P, 1) GPIO_ACTIVE_HIGH>;
 94         };                                         94         };
 95                                                    95 
 96         gpio-keys {                                96         gpio-keys {
 97                 compatible = "gpio-keys";          97                 compatible = "gpio-keys";
 98                                                    98 
 99                 event-checkstop {                  99                 event-checkstop {
100                         label = "checkstop";      100                         label = "checkstop";
101                         gpios = <&gpio ASPEED_    101                         gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
102                         linux,code = <ASPEED_G    102                         linux,code = <ASPEED_GPIO(J, 2)>;
103                 };                                103                 };
104         };                                        104         };
105                                                   105 
106         iio-hwmon-battery {                       106         iio-hwmon-battery {
107                 compatible = "iio-hwmon";         107                 compatible = "iio-hwmon";
108                 io-channels = <&adc 12>;          108                 io-channels = <&adc 12>;
109         };                                        109         };
110 };                                                110 };
111                                                   111 
112 &fmc {                                            112 &fmc {
113         status = "okay";                          113         status = "okay";
114         flash@0 {                                 114         flash@0 {
115                 status = "okay";                  115                 status = "okay";
116                 m25p,fast-read;                   116                 m25p,fast-read;
117                 label = "bmc";                    117                 label = "bmc";
118                 spi-max-frequency = <50000000>    118                 spi-max-frequency = <50000000>;
119 #include "openbmc-flash-layout.dtsi"              119 #include "openbmc-flash-layout.dtsi"
120         };                                        120         };
121 };                                                121 };
122                                                   122 
123 &spi1 {                                           123 &spi1 {
124         status = "okay";                          124         status = "okay";
125         pinctrl-names = "default";                125         pinctrl-names = "default";
126         pinctrl-0 = <&pinctrl_spi1_default>;      126         pinctrl-0 = <&pinctrl_spi1_default>;
127                                                   127 
128         flash@0 {                                 128         flash@0 {
129                 status = "okay";                  129                 status = "okay";
130                 m25p,fast-read;                   130                 m25p,fast-read;
131                 label = "pnor";                   131                 label = "pnor";
132                 spi-max-frequency = <100000000    132                 spi-max-frequency = <100000000>;
133         };                                        133         };
134 };                                                134 };
135                                                   135 
136 &lpc_ctrl {                                       136 &lpc_ctrl {
137         status = "okay";                          137         status = "okay";
138         memory-region = <&flash_memory>;          138         memory-region = <&flash_memory>;
139         flash = <&spi1>;                          139         flash = <&spi1>;
140 };                                                140 };
141                                                   141 
142 &uart1 {                                          142 &uart1 {
143         /* Rear RS-232 connector */               143         /* Rear RS-232 connector */
144         status = "okay";                          144         status = "okay";
145                                                   145 
146         pinctrl-names = "default";                146         pinctrl-names = "default";
147         pinctrl-0 = <&pinctrl_txd1_default        147         pinctrl-0 = <&pinctrl_txd1_default
148                         &pinctrl_rxd1_default     148                         &pinctrl_rxd1_default
149                         &pinctrl_nrts1_default    149                         &pinctrl_nrts1_default
150                         &pinctrl_ndtr1_default    150                         &pinctrl_ndtr1_default
151                         &pinctrl_ndsr1_default    151                         &pinctrl_ndsr1_default
152                         &pinctrl_ncts1_default    152                         &pinctrl_ncts1_default
153                         &pinctrl_ndcd1_default    153                         &pinctrl_ndcd1_default
154                         &pinctrl_nri1_default>    154                         &pinctrl_nri1_default>;
155 };                                                155 };
156                                                   156 
157 &uart5 {                                          157 &uart5 {
158         status = "okay";                          158         status = "okay";
159 };                                                159 };
160                                                   160 
161 &mac0 {                                           161 &mac0 {
162         status = "okay";                          162         status = "okay";
163                                                   163 
164         use-ncsi;                                 164         use-ncsi;
165                                                   165 
166         pinctrl-names = "default";                166         pinctrl-names = "default";
167         pinctrl-0 = <&pinctrl_rmii1_default>;     167         pinctrl-0 = <&pinctrl_rmii1_default>;
168         clocks = <&syscon ASPEED_CLK_GATE_MAC1    168         clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
169                  <&syscon ASPEED_CLK_MAC1RCLK>    169                  <&syscon ASPEED_CLK_MAC1RCLK>;
170         clock-names = "MACCLK", "RCLK";           170         clock-names = "MACCLK", "RCLK";
171 };                                                171 };
172                                                   172 
173 &i2c0 {                                           173 &i2c0 {
174         status = "okay";                          174         status = "okay";
175                                                   175 
176         eeprom@50 {                               176         eeprom@50 {
177                 compatible = "atmel,24c256";      177                 compatible = "atmel,24c256";
178                 reg = <0x50>;                     178                 reg = <0x50>;
179                 pagesize = <64>;                  179                 pagesize = <64>;
180         };                                        180         };
181 };                                                181 };
182                                                   182 
183 &i2c2 {                                           183 &i2c2 {
184         status = "okay";                          184         status = "okay";
185         /* CPU0 characterization connector */     185         /* CPU0 characterization connector */
186 };                                                186 };
187                                                   187 
188 &i2c3 {                                           188 &i2c3 {
189         status = "okay";                          189         status = "okay";
190         /* CLK GEN SI5338 */                      190         /* CLK GEN SI5338 */
191 };                                                191 };
192                                                   192 
193 &i2c4 {                                           193 &i2c4 {
194         status = "okay";                          194         status = "okay";
195         /* Voltage regulators for CPU0 */         195         /* Voltage regulators for CPU0 */
196 };                                                196 };
197                                                   197 
198 &i2c5 {                                           198 &i2c5 {
199         status = "okay";                          199         status = "okay";
200         /* Voltage regulators for CPU1 */         200         /* Voltage regulators for CPU1 */
201 };                                                201 };
202                                                   202 
203 &i2c6 {                                           203 &i2c6 {
204         status = "okay";                          204         status = "okay";
205                                                   205 
206         rtc@32 {                                  206         rtc@32 {
207                 compatible = "epson,rx8900";      207                 compatible = "epson,rx8900";
208                 reg = <0x32>;                     208                 reg = <0x32>;
209         };                                        209         };
210 };                                                210 };
211                                                   211 
212 &i2c7 {                                           212 &i2c7 {
213         status = "okay";                          213         status = "okay";
214         /* CPLD */                                214         /* CPLD */
215 };                                                215 };
216                                                   216 
217 &gpio {                                           217 &gpio {
218         gpio-line-names =                         218         gpio-line-names =
219         /*A0-A7*/       "","cfam-reset","","",    219         /*A0-A7*/       "","cfam-reset","","","","","fsi-mux","",
220         /*B0-B7*/       "","","","","","","","    220         /*B0-B7*/       "","","","","","","","",
221         /*C0-C7*/       "","","","","","","","    221         /*C0-C7*/       "","","","","","","","",
222         /*D0-D7*/       "fsi-enable","bmc_powe    222         /*D0-D7*/       "fsi-enable","bmc_power_up","sys_pwrok_buf",
223                         "func_mode0","func_mod    223                         "func_mode0","func_mode1","func_mode2","","",
224         /*E0-E7*/       "","ncsi_cfg","","",""    224         /*E0-E7*/       "","ncsi_cfg","","","","","","",
225         /*F0-F7*/       "","","","","","","","    225         /*F0-F7*/       "","","","","","","","",
226         /*G0-G7*/       "","","","","","","","    226         /*G0-G7*/       "","","","","","","","",
227         /*H0-H7*/       "","","","","","","","    227         /*H0-H7*/       "","","","","","","","",
228         /*I0-I7*/       "","","","","","","","    228         /*I0-I7*/       "","","","","","","","",
229         /*J0-J7*/       "","","checkstop","","    229         /*J0-J7*/       "","","checkstop","","","","","",
230         /*K0-K7*/       "","","","","","","","    230         /*K0-K7*/       "","","","","","","","",
231         /*L0-L7*/       "","","","","","","","    231         /*L0-L7*/       "","","","","","","","",
232         /*M0-M7*/       "","","","","","","","    232         /*M0-M7*/       "","","","","","","","",
233         /*N0-N7*/       "","","","","","","","    233         /*N0-N7*/       "","","","","","","","",
234         /*O0-O7*/       "","","power-button","    234         /*O0-O7*/       "","","power-button","","","","","",
235         /*P0-P7*/       "","fsi-trans","pm_rtc    235         /*P0-P7*/       "","fsi-trans","pm_rtc_adc_en","","","","","",
236         /*Q0-Q7*/       "","","","","","","","    236         /*Q0-Q7*/       "","","","","","","","id-button",
237         /*R0-R7*/       "","software_pwrgood",    237         /*R0-R7*/       "","software_pwrgood","","","","","","",
238         /*S0-S7*/       "","","","","","","","    238         /*S0-S7*/       "","","","","","","","seq_cont",
239         /*T0-T7*/       "","","","","","","","    239         /*T0-T7*/       "","","","","","","","",
240         /*U0-U7*/       "","","","","","","","    240         /*U0-U7*/       "","","","","","","","",
241         /*V0-V7*/       "","","","","","","","    241         /*V0-V7*/       "","","","","","","","",
242         /*W0-W7*/       "","","","","","","","    242         /*W0-W7*/       "","","","","","","","",
243         /*X0-X7*/       "","","","","","","","    243         /*X0-X7*/       "","","","","","","","",
244         /*Y0-Y7*/       "","","","","","","","    244         /*Y0-Y7*/       "","","","","","","","",
245         /*Z0-Z7*/       "","","","","","","","    245         /*Z0-Z7*/       "","","","","","","","",
246         /*AA0-AA7*/     "fsi-clock","led-atten    246         /*AA0-AA7*/     "fsi-clock","led-attention","fsi-data","led-fault",
247                         "led-power","","","led    247                         "led-power","","","led-identify",
248         /*AB0-AB7*/     "","","","","","","","    248         /*AB0-AB7*/     "","","","","","","","",
249         /*AC0-AC7*/     "","","","","","","","    249         /*AC0-AC7*/     "","","","","","","","";
250                                                   250 
251         func_mode0 {                              251         func_mode0 {
252                 gpio-hog;                         252                 gpio-hog;
253                 gpios = <ASPEED_GPIO(D, 3) GPI    253                 gpios = <ASPEED_GPIO(D, 3) GPIO_ACTIVE_HIGH>;
254                 output-low;                       254                 output-low;
255         };                                        255         };
256         func_mode1 {                              256         func_mode1 {
257                 gpio-hog;                         257                 gpio-hog;
258                 gpios = <ASPEED_GPIO(D, 4) GPI    258                 gpios = <ASPEED_GPIO(D, 4) GPIO_ACTIVE_HIGH>;
259                 output-low;                       259                 output-low;
260         };                                        260         };
261         func_mode2 {                              261         func_mode2 {
262                 gpio-hog;                         262                 gpio-hog;
263                 gpios = <ASPEED_GPIO(D, 5) GPI    263                 gpios = <ASPEED_GPIO(D, 5) GPIO_ACTIVE_HIGH>;
264                 output-low;                       264                 output-low;
265         };                                        265         };
266         seq_cont {                                266         seq_cont {
267                 gpio-hog;                         267                 gpio-hog;
268                 gpios = <ASPEED_GPIO(S, 7) GPI    268                 gpios = <ASPEED_GPIO(S, 7) GPIO_ACTIVE_HIGH>;
269                 output-low;                       269                 output-low;
270         };                                        270         };
271         ncsi_cfg {                                271         ncsi_cfg {
272                 gpio-hog;                         272                 gpio-hog;
273                 input;                            273                 input;
274                 gpios = <ASPEED_GPIO(E, 1) GPI    274                 gpios = <ASPEED_GPIO(E, 1) GPIO_ACTIVE_HIGH>;
275         };                                        275         };
276 };                                                276 };
277                                                   277 
278 &vuart {                                          278 &vuart {
279         status = "okay";                          279         status = "okay";
280 };                                                280 };
281                                                   281 
282 &gfx {                                            282 &gfx {
283         status = "okay";                          283         status = "okay";
284         memory-region = <&gfx_memory>;            284         memory-region = <&gfx_memory>;
285 };                                                285 };
286                                                   286 
287 &ibt {                                            287 &ibt {
288         status = "okay";                          288         status = "okay";
289 };                                                289 };
290                                                   290 
291 &vhub {                                           291 &vhub {
292         status = "okay";                          292         status = "okay";
293 };                                                293 };
294                                                   294 
295 &adc {                                            295 &adc {
296         status = "okay";                          296         status = "okay";
297                                                   297 
298         pinctrl-names = "default";                298         pinctrl-names = "default";
299         pinctrl-0 = <&pinctrl_adc0_default        299         pinctrl-0 = <&pinctrl_adc0_default
300                         &pinctrl_adc1_default     300                         &pinctrl_adc1_default
301                         &pinctrl_adc2_default     301                         &pinctrl_adc2_default
302                         &pinctrl_adc3_default     302                         &pinctrl_adc3_default
303                         &pinctrl_adc4_default     303                         &pinctrl_adc4_default
304                         &pinctrl_adc5_default     304                         &pinctrl_adc5_default
305                         &pinctrl_adc6_default     305                         &pinctrl_adc6_default
306                         &pinctrl_adc7_default     306                         &pinctrl_adc7_default
307                         &pinctrl_adc8_default     307                         &pinctrl_adc8_default
308                         &pinctrl_adc9_default     308                         &pinctrl_adc9_default
309                         &pinctrl_adc10_default    309                         &pinctrl_adc10_default
310                         &pinctrl_adc11_default    310                         &pinctrl_adc11_default
311                         &pinctrl_adc12_default    311                         &pinctrl_adc12_default
312                         &pinctrl_adc13_default    312                         &pinctrl_adc13_default
313                         &pinctrl_adc14_default    313                         &pinctrl_adc14_default
314                         &pinctrl_adc15_default    314                         &pinctrl_adc15_default>;
315 };                                                315 };
316                                                   316 
317 &video {                                          317 &video {
318         status = "okay";                          318         status = "okay";
319         memory-region = <&video_engine_memory>    319         memory-region = <&video_engine_memory>;
320 };                                                320 };
321                                                   321 
322 #include "ibm-power9-dual.dtsi"                   322 #include "ibm-power9-dual.dtsi"
                                                      

~ [ 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