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; |
| 16 | bootargs = "console=ttyS4,115200 earlyprintk"; |
| 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 | }; |
| 22 | }; |
| 23 | |
Cédric Le Goater | 74dc3cd | 2017-03-01 15:26:42 +0100 | [diff] [blame] | 24 | &fmc { |
| 25 | status = "okay"; |
| 26 | flash@0 { |
| 27 | status = "okay"; |
Cédric Le Goater | 63c6527 | 2017-04-06 19:02:33 +0200 | [diff] [blame] | 28 | m25p,fast-read; |
Cédric Le Goater | 74dc3cd | 2017-03-01 15:26:42 +0100 | [diff] [blame] | 29 | label = "bmc"; |
| 30 | }; |
| 31 | }; |
| 32 | |
| 33 | &spi1 { |
| 34 | status = "okay"; |
| 35 | flash@0 { |
| 36 | status = "okay"; |
Cédric Le Goater | 63c6527 | 2017-04-06 19:02:33 +0200 | [diff] [blame] | 37 | m25p,fast-read; |
Cédric Le Goater | 74dc3cd | 2017-03-01 15:26:42 +0100 | [diff] [blame] | 38 | label = "pnor"; |
| 39 | }; |
| 40 | }; |
| 41 | |
| 42 | &spi2 { |
| 43 | status = "okay"; |
| 44 | }; |
| 45 | |
Joel Stanley | 0244062 | 2016-04-17 15:50:56 +0930 | [diff] [blame] | 46 | &uart5 { |
| 47 | status = "okay"; |
| 48 | }; |
Joel Stanley | 34ea5c9 | 2017-01-04 16:30:34 +1100 | [diff] [blame] | 49 | |
| 50 | &mac0 { |
| 51 | status = "okay"; |
| 52 | |
| 53 | pinctrl-names = "default"; |
| 54 | pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>; |
| 55 | }; |
| 56 | |
| 57 | &mac1 { |
| 58 | status = "okay"; |
| 59 | |
| 60 | pinctrl-names = "default"; |
| 61 | pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; |
| 62 | }; |
Joel Stanley | e6aa3ef | 2017-10-04 17:19:14 +1030 | [diff] [blame] | 63 | |
| 64 | &i2c3 { |
| 65 | status = "okay"; |
| 66 | |
| 67 | eeprom@50 { |
| 68 | compatible = "atmel,24c08"; |
| 69 | reg = <0x50>; |
| 70 | pagesize = <16>; |
| 71 | }; |
| 72 | }; |
| 73 | |
| 74 | &i2c7 { |
| 75 | status = "okay"; |
| 76 | |
| 77 | lm75@4d { |
| 78 | compatible = "national,lm75"; |
| 79 | reg = <0x4d>; |
| 80 | }; |
| 81 | }; |
Benjamin Herrenschmidt | 5b1d4fa | 2018-04-13 14:40:39 +1000 | [diff] [blame] | 82 | |
Benjamin Herrenschmidt | b35bbd3 | 2018-06-29 13:51:06 +1000 | [diff] [blame^] | 83 | /* |
| 84 | * Enable port A as device (via the virtual hub) and port B as |
| 85 | * host by default on the eval board. This can be easily changed |
| 86 | * by replacing the override below with &ehci0 { ... } to enable |
| 87 | * host on both ports. |
| 88 | */ |
| 89 | &vhub { |
Benjamin Herrenschmidt | 5b1d4fa | 2018-04-13 14:40:39 +1000 | [diff] [blame] | 90 | status = "okay"; |
Benjamin Herrenschmidt | 5b1d4fa | 2018-04-13 14:40:39 +1000 | [diff] [blame] | 91 | }; |
| 92 | |
| 93 | &ehci1 { |
| 94 | status = "okay"; |
Benjamin Herrenschmidt | 5b1d4fa | 2018-04-13 14:40:39 +1000 | [diff] [blame] | 95 | }; |
| 96 | |
| 97 | &uhci { |
| 98 | status = "okay"; |
Benjamin Herrenschmidt | 5b1d4fa | 2018-04-13 14:40:39 +1000 | [diff] [blame] | 99 | }; |