2017-12-11 11:25:28 +07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2016-04-17 13:20:56 +07:00
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "aspeed-g5.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "AST2500 EVB";
|
|
|
|
compatible = "aspeed,ast2500";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
serial4 = &uart5;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = &uart5;
|
2018-04-19 11:20:03 +07:00
|
|
|
bootargs = "console=tty0 console=ttyS4,115200 earlyprintk";
|
2016-04-17 13:20:56 +07:00
|
|
|
};
|
|
|
|
|
2017-12-18 19:57:03 +07:00
|
|
|
memory@80000000 {
|
2016-04-17 13:20:56 +07:00
|
|
|
reg = <0x80000000 0x20000000>;
|
|
|
|
};
|
2018-04-19 11:20:03 +07:00
|
|
|
|
|
|
|
reserved-memory {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
gfx_memory: framebuffer {
|
|
|
|
size = <0x01000000>;
|
|
|
|
alignment = <0x01000000>;
|
|
|
|
compatible = "shared-dma-pool";
|
|
|
|
reusable;
|
|
|
|
};
|
|
|
|
};
|
2016-04-17 13:20:56 +07:00
|
|
|
};
|
|
|
|
|
2017-03-01 21:26:42 +07:00
|
|
|
&fmc {
|
|
|
|
status = "okay";
|
|
|
|
flash@0 {
|
|
|
|
status = "okay";
|
2017-04-07 00:02:33 +07:00
|
|
|
m25p,fast-read;
|
2017-03-01 21:26:42 +07:00
|
|
|
label = "bmc";
|
2018-06-22 14:09:36 +07:00
|
|
|
spi-max-frequency = <50000000>;
|
2017-12-18 13:16:00 +07:00
|
|
|
#include "openbmc-flash-layout.dtsi"
|
2017-03-01 21:26:42 +07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&spi1 {
|
|
|
|
status = "okay";
|
|
|
|
flash@0 {
|
|
|
|
status = "okay";
|
2017-04-07 00:02:33 +07:00
|
|
|
m25p,fast-read;
|
2017-03-01 21:26:42 +07:00
|
|
|
label = "pnor";
|
2018-06-22 14:09:36 +07:00
|
|
|
spi-max-frequency = <100000000>;
|
2017-03-01 21:26:42 +07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&spi2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2016-04-17 13:20:56 +07:00
|
|
|
&uart5 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2017-01-04 12:30:34 +07:00
|
|
|
|
|
|
|
&mac0 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&mac1 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
|
|
|
|
};
|
2017-10-04 13:49:14 +07:00
|
|
|
|
|
|
|
&i2c3 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
eeprom@50 {
|
|
|
|
compatible = "atmel,24c08";
|
|
|
|
reg = <0x50>;
|
|
|
|
pagesize = <16>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c7 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
lm75@4d {
|
|
|
|
compatible = "national,lm75";
|
|
|
|
reg = <0x4d>;
|
|
|
|
};
|
|
|
|
};
|
2018-04-13 11:40:39 +07:00
|
|
|
|
2019-07-12 10:37:26 +07:00
|
|
|
&sdmmc {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdhci0 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_sd1_default>;
|
|
|
|
};
|
|
|
|
|
2018-06-29 10:51:06 +07:00
|
|
|
/*
|
|
|
|
* Enable port A as device (via the virtual hub) and port B as
|
|
|
|
* host by default on the eval board. This can be easily changed
|
|
|
|
* by replacing the override below with &ehci0 { ... } to enable
|
|
|
|
* host on both ports.
|
|
|
|
*/
|
|
|
|
&vhub {
|
2018-04-13 11:40:39 +07:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&ehci1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&uhci {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2018-04-19 11:20:03 +07:00
|
|
|
|
|
|
|
&gfx {
|
|
|
|
status = "okay";
|
|
|
|
memory-region = <&gfx_memory>;
|
|
|
|
};
|