| 1 |
// SPDX-License-Identifier: GPL-2.0+ |
| 2 |
/dts-v1/; |
| 3 |
|
| 4 |
#include "aspeed-g5.dtsi" |
| 5 |
|
| 6 |
/ { |
| 7 |
model = "AST2500 EVB"; |
| 8 |
compatible = "aspeed,ast2500-evb", "aspeed,ast2500"; |
| 9 |
|
| 10 |
aliases { |
| 11 |
serial4 = &uart5; |
| 12 |
}; |
| 13 |
|
| 14 |
chosen { |
| 15 |
stdout-path = &uart5; |
| 16 |
bootargs = "console=tty0 console=ttyS4,115200 earlycon"; |
| 17 |
}; |
| 18 |
|
| 19 |
memory@80000000 { |
| 20 |
reg = <0x80000000 0x20000000>; |
| 21 |
}; |
| 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 |
}; |
| 35 |
}; |
| 36 |
|
| 37 |
&fmc { |
| 38 |
status = "okay"; |
| 39 |
flash@0 { |
| 40 |
status = "okay"; |
| 41 |
m25p,fast-read; |
| 42 |
label = "bmc"; |
| 43 |
spi-max-frequency = <50000000>; |
| 44 |
#include "openbmc-flash-layout.dtsi" |
| 45 |
}; |
| 46 |
}; |
| 47 |
|
| 48 |
&spi1 { |
| 49 |
status = "okay"; |
| 50 |
flash@0 { |
| 51 |
status = "okay"; |
| 52 |
m25p,fast-read; |
| 53 |
label = "pnor"; |
| 54 |
spi-max-frequency = <100000000>; |
| 55 |
}; |
| 56 |
}; |
| 57 |
|
| 58 |
&spi2 { |
| 59 |
status = "okay"; |
| 60 |
}; |
| 61 |
|
| 62 |
&uart5 { |
| 63 |
status = "okay"; |
| 64 |
}; |
| 65 |
|
| 66 |
&mac0 { |
| 67 |
status = "okay"; |
| 68 |
|
| 69 |
pinctrl-names = "default"; |
| 70 |
pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>; |
| 71 |
}; |
| 72 |
|
| 73 |
&mac1 { |
| 74 |
status = "okay"; |
| 75 |
|
| 76 |
pinctrl-names = "default"; |
| 77 |
pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; |
| 78 |
}; |
| 79 |
|
| 80 |
&i2c3 { |
| 81 |
status = "okay"; |
| 82 |
|
| 83 |
eeprom@50 { |
| 84 |
compatible = "atmel,24c08"; |
| 85 |
reg = <0x50>; |
| 86 |
pagesize = <16>; |
| 87 |
}; |
| 88 |
}; |
| 89 |
|
| 90 |
&i2c7 { |
| 91 |
status = "okay"; |
| 92 |
|
| 93 |
lm75@4d { |
| 94 |
compatible = "national,lm75"; |
| 95 |
reg = <0x4d>; |
| 96 |
}; |
| 97 |
}; |
| 98 |
|
| 99 |
&sdmmc { |
| 100 |
status = "okay"; |
| 101 |
}; |
| 102 |
|
| 103 |
&sdhci0 { |
| 104 |
status = "okay"; |
| 105 |
|
| 106 |
pinctrl-names = "default"; |
| 107 |
pinctrl-0 = <&pinctrl_sd1_default>; |
| 108 |
}; |
| 109 |
|
| 110 |
/* |
| 111 |
* Enable port A as device (via the virtual hub) and port B as |
| 112 |
* host by default on the eval board. This can be easily changed |
| 113 |
* by replacing the override below with &ehci0 { ... } to enable |
| 114 |
* host on both ports. |
| 115 |
*/ |
| 116 |
&vhub { |
| 117 |
status = "okay"; |
| 118 |
}; |
| 119 |
|
| 120 |
&ehci1 { |
| 121 |
status = "okay"; |
| 122 |
}; |
| 123 |
|
| 124 |
&uhci { |
| 125 |
status = "okay"; |
| 126 |
}; |
| 127 |
|
| 128 |
&gfx { |
| 129 |
status = "okay"; |
| 130 |
memory-region = <&gfx_memory>; |
| 131 |
}; |
| 132 |
|
| 133 |
&rtc { |
| 134 |
status = "okay"; |
| 135 |
}; |