.. | .. |
---|
26 | 26 | no-map; |
---|
27 | 27 | reg = <0x98000000 0x04000000>; /* 64M */ |
---|
28 | 28 | }; |
---|
| 29 | + |
---|
| 30 | + vga_memory: region@9f000000 { |
---|
| 31 | + no-map; |
---|
| 32 | + compatible = "shared-dma-pool"; |
---|
| 33 | + reg = <0x9f000000 0x01000000>; /* 16M */ |
---|
| 34 | + }; |
---|
| 35 | + |
---|
| 36 | + gfx_memory: framebuffer { |
---|
| 37 | + size = <0x01000000>; |
---|
| 38 | + alignment = <0x01000000>; |
---|
| 39 | + compatible = "shared-dma-pool"; |
---|
| 40 | + reusable; |
---|
| 41 | + }; |
---|
| 42 | + |
---|
| 43 | + video_engine_memory: jpegbuffer { |
---|
| 44 | + size = <0x02000000>; /* 32MM */ |
---|
| 45 | + alignment = <0x01000000>; |
---|
| 46 | + compatible = "shared-dma-pool"; |
---|
| 47 | + reusable; |
---|
| 48 | + }; |
---|
29 | 49 | }; |
---|
30 | 50 | |
---|
31 | 51 | gpio-keys { |
---|
.. | .. |
---|
56 | 76 | }; |
---|
57 | 77 | }; |
---|
58 | 78 | |
---|
| 79 | + iio-hwmon-battery { |
---|
| 80 | + compatible = "iio-hwmon"; |
---|
| 81 | + io-channels = <&adc 12>; |
---|
| 82 | + }; |
---|
| 83 | + |
---|
59 | 84 | gpio-keys-polled { |
---|
60 | 85 | compatible = "gpio-keys-polled"; |
---|
61 | | - #address-cells = <1>; |
---|
62 | | - #size-cells = <0>; |
---|
63 | 86 | poll-interval = <1000>; |
---|
64 | 87 | |
---|
65 | 88 | fan0-presence { |
---|
.. | .. |
---|
174 | 197 | |
---|
175 | 198 | }; |
---|
176 | 199 | |
---|
| 200 | +&gpio { |
---|
| 201 | + gpio-line-names = |
---|
| 202 | + /*A0-A7*/ "","cfam-reset","","","","","fsi-mux","", |
---|
| 203 | + /*B0-B7*/ "","","","","","air-water","","", |
---|
| 204 | + /*C0-C7*/ "","","","","","","","", |
---|
| 205 | + /*D0-D7*/ "fsi-enable","","","","","","","", |
---|
| 206 | + /*E0-E7*/ "fsi-data","","","","","","","", |
---|
| 207 | + /*F0-F7*/ "","","","","","","","", |
---|
| 208 | + /*G0-G7*/ "","","","","","","","", |
---|
| 209 | + /*H0-H7*/ "","","","","","","","", |
---|
| 210 | + /*I0-I7*/ "","","","","","","","", |
---|
| 211 | + /*J0-J7*/ "","","checkstop","","","","","", |
---|
| 212 | + /*K0-K7*/ "","","","","","","","", |
---|
| 213 | + /*L0-L7*/ "","","","","","","","", |
---|
| 214 | + /*M0-M7*/ "","","","","","","","", |
---|
| 215 | + /*N0-N7*/ "presence-ps1","","led-rear-fault","led-rear-power", |
---|
| 216 | + "led-rear-id","","","", |
---|
| 217 | + /*O0-O7*/ "","","","","","","","", |
---|
| 218 | + /*P0-P7*/ "","","","","","","","presence-ps0", |
---|
| 219 | + /*Q0-Q7*/ "","","","","","","","", |
---|
| 220 | + /*R0-R7*/ "","","fsi-trans","","","power-button","","", |
---|
| 221 | + /*S0-S7*/ "","","","","","","","", |
---|
| 222 | + /*T0-T7*/ "","","","","","","","", |
---|
| 223 | + /*U0-U7*/ "","","","","","","","", |
---|
| 224 | + /*V0-V7*/ "","","","","","","","", |
---|
| 225 | + /*W0-W7*/ "","","","","","","","", |
---|
| 226 | + /*X0-X7*/ "","","","","","","","", |
---|
| 227 | + /*Y0-Y7*/ "","","","","","","","", |
---|
| 228 | + /*Z0-Z7*/ "","","","","","","","", |
---|
| 229 | + /*AA0-AA7*/ "fsi-clock","","","","","","","", |
---|
| 230 | + /*AB0-AB7*/ "","","","","","","","", |
---|
| 231 | + /*AC0-AC7*/ "","","","","","","",""; |
---|
| 232 | +}; |
---|
| 233 | + |
---|
177 | 234 | &fmc { |
---|
178 | 235 | status = "okay"; |
---|
179 | 236 | |
---|
.. | .. |
---|
181 | 238 | status = "okay"; |
---|
182 | 239 | label = "bmc"; |
---|
183 | 240 | m25p,fast-read; |
---|
184 | | -#include "openbmc-flash-layout.dtsi" |
---|
| 241 | + spi-max-frequency = <50000000>; |
---|
| 242 | + |
---|
| 243 | + partitions { |
---|
| 244 | + #address-cells = < 1 >; |
---|
| 245 | + #size-cells = < 1 >; |
---|
| 246 | + compatible = "fixed-partitions"; |
---|
| 247 | + u-boot@0 { |
---|
| 248 | + reg = < 0 0x60000 >; |
---|
| 249 | + label = "u-boot"; |
---|
| 250 | + }; |
---|
| 251 | + u-boot-env@60000 { |
---|
| 252 | + reg = < 0x60000 0x20000 >; |
---|
| 253 | + label = "u-boot-env"; |
---|
| 254 | + }; |
---|
| 255 | + obmc-ubi@80000 { |
---|
| 256 | + reg = < 0x80000 0x1F80000 >; |
---|
| 257 | + label = "obmc-ubi"; |
---|
| 258 | + }; |
---|
| 259 | + }; |
---|
185 | 260 | }; |
---|
186 | 261 | |
---|
187 | 262 | flash@1 { |
---|
188 | 263 | status = "okay"; |
---|
189 | | - label = "alt"; |
---|
| 264 | + label = "alt-bmc"; |
---|
190 | 265 | m25p,fast-read; |
---|
| 266 | + spi-max-frequency = <50000000>; |
---|
| 267 | + |
---|
| 268 | + partitions { |
---|
| 269 | + #address-cells = < 1 >; |
---|
| 270 | + #size-cells = < 1 >; |
---|
| 271 | + compatible = "fixed-partitions"; |
---|
| 272 | + u-boot@0 { |
---|
| 273 | + reg = < 0 0x60000 >; |
---|
| 274 | + label = "alt-u-boot"; |
---|
| 275 | + }; |
---|
| 276 | + u-boot-env@60000 { |
---|
| 277 | + reg = < 0x60000 0x20000 >; |
---|
| 278 | + label = "alt-u-boot-env"; |
---|
| 279 | + }; |
---|
| 280 | + obmc-ubi@80000 { |
---|
| 281 | + reg = < 0x80000 0x1F80000 >; |
---|
| 282 | + label = "alt-obmc-ubi"; |
---|
| 283 | + }; |
---|
| 284 | + }; |
---|
191 | 285 | }; |
---|
192 | 286 | }; |
---|
193 | 287 | |
---|
.. | .. |
---|
200 | 294 | status = "okay"; |
---|
201 | 295 | label = "pnor"; |
---|
202 | 296 | m25p,fast-read; |
---|
| 297 | + spi-max-frequency = <100000000>; |
---|
203 | 298 | }; |
---|
204 | 299 | }; |
---|
205 | 300 | |
---|
.. | .. |
---|
238 | 333 | status = "okay"; |
---|
239 | 334 | pinctrl-names = "default"; |
---|
240 | 335 | pinctrl-0 = <&pinctrl_rmii1_default>; |
---|
| 336 | + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, |
---|
| 337 | + <&syscon ASPEED_CLK_MAC1RCLK>; |
---|
| 338 | + clock-names = "MACCLK", "RCLK"; |
---|
241 | 339 | use-ncsi; |
---|
242 | 340 | }; |
---|
243 | 341 | |
---|
.. | .. |
---|
560 | 658 | |
---|
561 | 659 | &gfx { |
---|
562 | 660 | status = "okay"; |
---|
| 661 | + memory-region = <&gfx_memory>; |
---|
563 | 662 | }; |
---|
564 | 663 | |
---|
565 | 664 | &pinctrl { |
---|
.. | .. |
---|
583 | 682 | &ibt { |
---|
584 | 683 | status = "okay"; |
---|
585 | 684 | }; |
---|
| 685 | + |
---|
| 686 | +&adc { |
---|
| 687 | + status = "okay"; |
---|
| 688 | +}; |
---|
| 689 | + |
---|
| 690 | +&vhub { |
---|
| 691 | + status = "okay"; |
---|
| 692 | +}; |
---|
| 693 | + |
---|
| 694 | +&video { |
---|
| 695 | + status = "okay"; |
---|
| 696 | + memory-region = <&video_engine_memory>; |
---|
| 697 | +}; |
---|
| 698 | + |
---|
| 699 | +&xdma { |
---|
| 700 | + status = "okay"; |
---|
| 701 | + memory-region = <&vga_memory>; |
---|
| 702 | +}; |
---|
| 703 | + |
---|
| 704 | +#include "ibm-power9-dual.dtsi" |
---|