Joel Stanley | eb323ad | 2017-12-11 14:55:28 +1030 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Joel Stanley | 0244062 | 2016-04-17 15:50:56 +0930 | [diff] [blame] | 2 | /dts-v1/; |
| 3 | |
| 4 | #include "aspeed-g5.dtsi" |
| 5 | |
| 6 | / { |
| 7 | model = "AST2500 EVB"; |
| 8 | compatible = "aspeed,ast2500"; |
| 9 | |
| 10 | aliases { |
| 11 | serial4 = &uart5; |
| 12 | }; |
| 13 | |
| 14 | chosen { |
| 15 | stdout-path = &uart5; |
Joel Stanley | 5de3b03 | 2018-04-19 13:50:03 +0930 | [diff] [blame] | 16 | bootargs = "console=tty0 console=ttyS4,115200 earlyprintk"; |
Joel Stanley | 0244062 | 2016-04-17 15:50:56 +0930 | [diff] [blame] | 17 | }; |
| 18 | |
Joel Stanley | e40ed27 | 2017-12-18 23:27:03 +1030 | [diff] [blame] | 19 | memory@80000000 { |
Joel Stanley | 0244062 | 2016-04-17 15:50:56 +0930 | [diff] [blame] | 20 | reg = <0x80000000 0x20000000>; |
| 21 | }; |
Joel Stanley | 5de3b03 | 2018-04-19 13:50:03 +0930 | [diff] [blame] | 22 | |
| 23 | reserved-memory { |
| 24 | #address-cells = <1>; |
| 25 | #size-cells = <1>; |
| 26 | ranges; |
| 27 | |
| 28 | gfx_memory: framebuffer { |
| 29 | size = <0x01000000>; |
| 30 | alignment = <0x01000000>; |
| 31 | compatible = "shared-dma-pool"; |
| 32 | reusable; |
| 33 | }; |
| 34 | }; |
Joel Stanley | 0244062 | 2016-04-17 15:50:56 +0930 | [diff] [blame] | 35 | }; |
| 36 | |
Cédric Le Goater | 74dc3cd | 2017-03-01 15:26:42 +0100 | [diff] [blame] | 37 | &fmc { |
| 38 | status = "okay"; |
| 39 | flash@0 { |
| 40 | status = "okay"; |
Cédric Le Goater | 63c6527 | 2017-04-06 19:02:33 +0200 | [diff] [blame] | 41 | m25p,fast-read; |
Cédric Le Goater | 74dc3cd | 2017-03-01 15:26:42 +0100 | [diff] [blame] | 42 | label = "bmc"; |
Joel Stanley | a9fc102 | 2017-12-18 16:46:00 +1030 | [diff] [blame] | 43 | #include "openbmc-flash-layout.dtsi" |
Cédric Le Goater | 74dc3cd | 2017-03-01 15:26:42 +0100 | [diff] [blame] | 44 | }; |
| 45 | }; |
| 46 | |
| 47 | &spi1 { |
| 48 | status = "okay"; |
| 49 | flash@0 { |
| 50 | status = "okay"; |
Cédric Le Goater | 63c6527 | 2017-04-06 19:02:33 +0200 | [diff] [blame] | 51 | m25p,fast-read; |
Cédric Le Goater | 74dc3cd | 2017-03-01 15:26:42 +0100 | [diff] [blame] | 52 | label = "pnor"; |
| 53 | }; |
| 54 | }; |
| 55 | |
| 56 | &spi2 { |
| 57 | status = "okay"; |
| 58 | }; |
| 59 | |
Joel Stanley | 0244062 | 2016-04-17 15:50:56 +0930 | [diff] [blame] | 60 | &uart5 { |
| 61 | status = "okay"; |
| 62 | }; |
Joel Stanley | 34ea5c9 | 2017-01-04 16:30:34 +1100 | [diff] [blame] | 63 | |
| 64 | &mac0 { |
| 65 | status = "okay"; |
| 66 | |
| 67 | pinctrl-names = "default"; |
| 68 | pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>; |
| 69 | }; |
| 70 | |
| 71 | &mac1 { |
| 72 | status = "okay"; |
| 73 | |
| 74 | pinctrl-names = "default"; |
| 75 | pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; |
| 76 | }; |
Joel Stanley | e6aa3ef | 2017-10-04 17:19:14 +1030 | [diff] [blame] | 77 | |
| 78 | &i2c3 { |
| 79 | status = "okay"; |
| 80 | |
| 81 | eeprom@50 { |
| 82 | compatible = "atmel,24c08"; |
| 83 | reg = <0x50>; |
| 84 | pagesize = <16>; |
| 85 | }; |
| 86 | }; |
| 87 | |
| 88 | &i2c7 { |
| 89 | status = "okay"; |
| 90 | |
| 91 | lm75@4d { |
| 92 | compatible = "national,lm75"; |
| 93 | reg = <0x4d>; |
| 94 | }; |
| 95 | }; |
Benjamin Herrenschmidt | 5b1d4fa | 2018-04-13 14:40:39 +1000 | [diff] [blame] | 96 | |
Benjamin Herrenschmidt | b35bbd3 | 2018-06-29 13:51:06 +1000 | [diff] [blame] | 97 | /* |
| 98 | * Enable port A as device (via the virtual hub) and port B as |
| 99 | * host by default on the eval board. This can be easily changed |
| 100 | * by replacing the override below with &ehci0 { ... } to enable |
| 101 | * host on both ports. |
| 102 | */ |
| 103 | &vhub { |
Benjamin Herrenschmidt | 5b1d4fa | 2018-04-13 14:40:39 +1000 | [diff] [blame] | 104 | status = "okay"; |
Benjamin Herrenschmidt | 5b1d4fa | 2018-04-13 14:40:39 +1000 | [diff] [blame] | 105 | }; |
| 106 | |
| 107 | &ehci1 { |
| 108 | status = "okay"; |
Benjamin Herrenschmidt | 5b1d4fa | 2018-04-13 14:40:39 +1000 | [diff] [blame] | 109 | }; |
| 110 | |
| 111 | &uhci { |
| 112 | status = "okay"; |
Benjamin Herrenschmidt | 5b1d4fa | 2018-04-13 14:40:39 +1000 | [diff] [blame] | 113 | }; |
Joel Stanley | 5de3b03 | 2018-04-19 13:50:03 +0930 | [diff] [blame] | 114 | |
| 115 | &gfx { |
| 116 | status = "okay"; |
| 117 | memory-region = <&gfx_memory>; |
| 118 | }; |