mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 03:45:20 +07:00
b35bbd3d71
This is an eval board, it makes sense to enable many functions by default. This changes the device-tree to set port A to be a USB device and leave port B as a host, along with a little comment explaining how to change it. (the vhub device can only exist on port A on this SoC) Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Joel Stanley <joel@jms.id.au>
100 lines
1.3 KiB
Plaintext
100 lines
1.3 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0+
|
|
/dts-v1/;
|
|
|
|
#include "aspeed-g5.dtsi"
|
|
|
|
/ {
|
|
model = "AST2500 EVB";
|
|
compatible = "aspeed,ast2500";
|
|
|
|
aliases {
|
|
serial4 = &uart5;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = &uart5;
|
|
bootargs = "console=ttyS4,115200 earlyprintk";
|
|
};
|
|
|
|
memory@80000000 {
|
|
reg = <0x80000000 0x20000000>;
|
|
};
|
|
};
|
|
|
|
&fmc {
|
|
status = "okay";
|
|
flash@0 {
|
|
status = "okay";
|
|
m25p,fast-read;
|
|
label = "bmc";
|
|
};
|
|
};
|
|
|
|
&spi1 {
|
|
status = "okay";
|
|
flash@0 {
|
|
status = "okay";
|
|
m25p,fast-read;
|
|
label = "pnor";
|
|
};
|
|
};
|
|
|
|
&spi2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&uart5 {
|
|
status = "okay";
|
|
};
|
|
|
|
&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>;
|
|
};
|
|
|
|
&i2c3 {
|
|
status = "okay";
|
|
|
|
eeprom@50 {
|
|
compatible = "atmel,24c08";
|
|
reg = <0x50>;
|
|
pagesize = <16>;
|
|
};
|
|
};
|
|
|
|
&i2c7 {
|
|
status = "okay";
|
|
|
|
lm75@4d {
|
|
compatible = "national,lm75";
|
|
reg = <0x4d>;
|
|
};
|
|
};
|
|
|
|
/*
|
|
* 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 {
|
|
status = "okay";
|
|
};
|
|
|
|
&ehci1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&uhci {
|
|
status = "okay";
|
|
};
|