Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 5 additions & 54 deletions arch/arm64/boot/dts/aspeed/aspeed-bmc-amd-congo.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#include <dt-bindings/i3c/i3c.h>

//#define VERONA 1
#define PCIE0_EP 1 // 1: EP, 0: RC
#define PCIE1_EP 1 // 1: EP, 0: RC

/ {
model = "AMD Congo VRB";
Expand Down Expand Up @@ -37,65 +39,14 @@
#size-cells = <2>;
ranges;

mcu_fw: mcu-firmware@42fe00000 {
reg = <0x4 0x2fe00000 0x0 0x200000>;
no-map;
};

atf: trusted-firmware-a@430000000 {
reg = <0x4 0x30000000 0x0 0x80000>;
no-map;
};

optee_core: optee-core@430080000 {
reg = <0x4 0x30080000 0x0 0x1000000>;
no-map;
};

bmc_dev0_memory: bmc_dev0_memory@423800000 {
reg = <0x4 0x23800000 0x0 0x100000>;
no-map;
};

vbios_base0: vbios-base0@431bb0000 {
reg = <0x4 0x31bb0000 0x0 0x10000>;
no-map;
};

vbios_base1: vbios-base1@431bc0000 {
reg = <0x4 0x31bc0000 0x0 0x10000>;
no-map;
};
#include "ast2700-reserved-mem.dtsi"

video_engine_memory0: video0 {
size = <0x0 0x04000000>;
alignment = <0x0 0x00010000>;
compatible = "shared-dma-pool";
reusable;
};

pcc_memory: pccbuffer {
reg = <0x4 0xE0000000 0x00001000>; /* 4K */
no-map;
};

xdma_memory0: xdma0 {
size = <0x0 0x01000000>;
alignment = <0x0 0x01000000>;
compatible = "shared-dma-pool";
no-map;
};

espi0_mmbi_memory: espi0-mmbi-memory@424000000 {
reg = <0x4 0x24000000 0x0 0x4000000>;
no-map;
};

mctp0_reserved: mctp0_reserved@431080000 {
reg = <0x4 0x31080000 0x0 0x10000>;
compatible = "shared-dma-pool";
no-map;
};
};

aliases {
Expand Down Expand Up @@ -161,7 +112,7 @@

&mac0 {
status = "okay";
phy-mode = "rgmii";
phy-mode = "rgmii-id";
phy-handle = <&ethphy0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rgmii0_default &pinctrl_rgmii0_driving>;
Expand All @@ -173,6 +124,7 @@
pinctrl-0 = <&pinctrl_rmii1_default>;
clock-names = "MACCLK", "RCLK";
use-ncsi;
phy-mode = "rmii";
};

&fmc {
Expand Down Expand Up @@ -1026,7 +978,6 @@ spd_ ## bus ## _ ## index: spd@addr,4cc5118 ## index ## 000 { \
port-addr = <0x80>;
dma-mode;
A2600-15;
memory-region = <&pcc_memory>;
rec-mode = <0x1>;
port-addr-hbits-select = <0x1>;
port-addr-xbits = <0x3>;
Expand Down
60 changes: 6 additions & 54 deletions arch/arm64/boot/dts/aspeed/aspeed-bmc-amd-eagle.dts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
#include <dt-bindings/i2c/i2c.h>
#include <dt-bindings/i3c/i3c.h>

#define PCIE0_EP 1 // 1: EP, 0: RC
#define PCIE1_EP 1 // 1: EP, 0: RC

/ {
model = "AMD Eagle VRB";
compatible = "amd,eagle-bmc", "aspeed,ast2700";
Expand All @@ -35,65 +38,14 @@
#size-cells = <2>;
ranges;

mcu_fw: mcu-firmware@42fe00000 {
reg = <0x4 0x2fe00000 0x0 0x200000>;
no-map;
};

atf: trusted-firmware-a@430000000 {
reg = <0x4 0x30000000 0x0 0x80000>;
no-map;
};

optee_core: optee-core@430080000 {
reg = <0x4 0x30080000 0x0 0x1000000>;
no-map;
};

bmc_dev0_memory: bmc_dev0_memory@423800000 {
reg = <0x4 0x23800000 0x0 0x100000>;
no-map;
};

vbios_base0: vbios-base0@431bb0000 {
reg = <0x4 0x31bb0000 0x0 0x10000>;
no-map;
};

vbios_base1: vbios-base1@431bc0000 {
reg = <0x4 0x31bc0000 0x0 0x10000>;
no-map;
};
#include "ast2700-reserved-mem.dtsi"

video_engine_memory0: video0 {
size = <0x0 0x04000000>;
alignment = <0x0 0x00010000>;
compatible = "shared-dma-pool";
reusable;
};

pcc_memory: pccbuffer {
reg = <0x4 0xE0000000 0x00001000>; /* 4K */
no-map;
};

xdma_memory0: xdma0 {
size = <0x0 0x01000000>;
alignment = <0x0 0x01000000>;
compatible = "shared-dma-pool";
no-map;
};

espi0_mmbi_memory: espi0-mmbi-memory@424000000 {
reg = <0x4 0x24000000 0x0 0x4000000>;
no-map;
};

mctp0_reserved: mctp0_reserved@431080000 {
reg = <0x4 0x31080000 0x0 0x10000>;
compatible = "shared-dma-pool";
no-map;
};
};

aliases {
Expand Down Expand Up @@ -159,7 +111,7 @@

&mac0 {
status = "okay";
phy-mode = "rgmii";
phy-mode = "rgmii-id";
phy-handle = <&ethphy0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rgmii0_default &pinctrl_rgmii0_driving>;
Expand All @@ -171,6 +123,7 @@
pinctrl-0 = <&pinctrl_rmii1_default>;
clock-names = "MACCLK", "RCLK";
use-ncsi;
phy-mode = "rmii";
};

&fmc {
Expand Down Expand Up @@ -1002,7 +955,6 @@ spd_ ## bus ## _ ## index: spd@addr,4cc5118 ## index ## 000 { \
port-addr = <0x80>;
dma-mode;
A2600-15;
memory-region = <&pcc_memory>;
rec-mode = <0x1>;
port-addr-hbits-select = <0x1>;
port-addr-xbits = <0x3>;
Expand Down
60 changes: 6 additions & 54 deletions arch/arm64/boot/dts/aspeed/aspeed-bmc-amd-falcon.dts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
#include <dt-bindings/i2c/i2c.h>
#include <dt-bindings/i3c/i3c.h>

#define PCIE0_EP 1 // 1: EP, 0: RC
#define PCIE1_EP 1 // 1: EP, 0: RC

/ {
model = "AMD Falcon PRB";
compatible = "amd,falcon-bmc", "aspeed,ast2700";
Expand All @@ -35,65 +38,14 @@
#size-cells = <2>;
ranges;

mcu_fw: mcu-firmware@42fe00000 {
reg = <0x4 0x2fe00000 0x0 0x200000>;
no-map;
};

atf: trusted-firmware-a@430000000 {
reg = <0x4 0x30000000 0x0 0x80000>;
no-map;
};

optee_core: optee-core@430080000 {
reg = <0x4 0x30080000 0x0 0x1000000>;
no-map;
};

bmc_dev0_memory: bmc_dev0_memory@423800000 {
reg = <0x4 0x23800000 0x0 0x100000>;
no-map;
};

vbios_base0: vbios-base0@431bb0000 {
reg = <0x4 0x31bb0000 0x0 0x10000>;
no-map;
};

vbios_base1: vbios-base1@431bc0000 {
reg = <0x4 0x31bc0000 0x0 0x10000>;
no-map;
};
#include "ast2700-reserved-mem.dtsi"

video_engine_memory0: video0 {
size = <0x0 0x04000000>;
alignment = <0x0 0x00010000>;
compatible = "shared-dma-pool";
reusable;
};

pcc_memory: pccbuffer {
reg = <0x4 0xE0000000 0x00001000>; /* 4K */
no-map;
};

xdma_memory0: xdma0 {
size = <0x0 0x01000000>;
alignment = <0x0 0x01000000>;
compatible = "shared-dma-pool";
no-map;
};

espi0_mmbi_memory: espi0-mmbi-memory@424000000 {
reg = <0x4 0x24000000 0x0 0x4000000>;
no-map;
};

mctp0_reserved: mctp0_reserved@431080000 {
reg = <0x4 0x31080000 0x0 0x10000>;
compatible = "shared-dma-pool";
no-map;
};
};

aliases {
Expand Down Expand Up @@ -130,7 +82,7 @@

&mac0 {
status = "okay";
phy-mode = "rgmii";
phy-mode = "rgmii-id";
phy-handle = <&ethphy0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rgmii0_default &pinctrl_rgmii0_driving>;
Expand All @@ -142,6 +94,7 @@
pinctrl-0 = <&pinctrl_rmii1_default>;
clock-names = "MACCLK", "RCLK";
use-ncsi;
phy-mode = "rmii";
};

&fmc {
Expand Down Expand Up @@ -565,7 +518,6 @@ spd_ ## bus ## _ ## index: spd@addr,4cc5118 ## index ## 000 { \
port-addr = <0x80>;
dma-mode;
A2600-15;
memory-region = <&pcc_memory>;
rec-mode = <0x1>;
port-addr-hbits-select = <0x1>;
port-addr-xbits = <0x3>;
Expand Down
Loading