-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: dts: Add support for Stratix 10 Software Virtual Platform
Add Stratix 10 Software Virtual Platform device tree Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Teh Wen Ping <wen.ping.teh@intel.com> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
- Loading branch information
Teh Wen Ping
authored and
Dinh Nguyen
committed
Jun 15, 2022
1 parent
9194a38
commit 2b59af8
Showing
3 changed files
with
121 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += socfpga_stratix10_socdk.dtb \ | ||
socfpga_stratix10_socdk_nand.dtb | ||
socfpga_stratix10_socdk_nand.dtb \ | ||
socfpga_stratix10_swvp.dtb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/* | ||
* Copyright (C) 2022, Intel Corporation | ||
*/ | ||
|
||
#include "socfpga_stratix10.dtsi" | ||
|
||
/ { | ||
model = "SOCFPGA Stratix 10 SWVP"; | ||
compatible = "altr,socfpga-stratix10-swvp", "altr,socfpga-stratix10"; | ||
|
||
aliases { | ||
serial0 = &uart0; | ||
serial1 = &uart1; | ||
|
||
timer0 = &timer0; | ||
timer1 = &timer1; | ||
timer2 = &timer2; | ||
timer3 = &timer3; | ||
|
||
ethernet0 = &gmac0; | ||
ethernet1 = &gmac1; | ||
ethernet2 = &gmac2; | ||
}; | ||
|
||
chosen { | ||
stdout-path = "serial1:115200n8"; | ||
linux,initrd-start = <0x10000000>; | ||
linux,initrd-end = <0x125c8324>; | ||
}; | ||
|
||
memory { | ||
device_type = "memory"; | ||
reg = <0x0 0x0 0x0 0x80000000>; | ||
}; | ||
}; | ||
|
||
&cpu0 { | ||
enable-method = "spin-table"; | ||
cpu-release-addr = <0x0 0x0000fff8>; | ||
}; | ||
|
||
&cpu1 { | ||
enable-method = "spin-table"; | ||
cpu-release-addr = <0x0 0x0000fff8>; | ||
}; | ||
|
||
&cpu2 { | ||
enable-method = "spin-table"; | ||
cpu-release-addr = <0x0 0x0000fff8>; | ||
}; | ||
|
||
&cpu3 { | ||
enable-method = "spin-table"; | ||
cpu-release-addr = <0x0 0x0000fff8>; | ||
}; | ||
|
||
&osc1 { | ||
clock-frequency = <25000000>; | ||
}; | ||
|
||
&gmac0 { | ||
status = "okay"; | ||
phy-mode = "rgmii"; | ||
phy-addr = <0xffffffff>; | ||
snps,max-mtu = <0x0>; | ||
}; | ||
|
||
&gmac1 { | ||
status = "okay"; | ||
phy-mode = "rgmii"; | ||
phy-addr = <0xffffffff>; | ||
}; | ||
|
||
&gmac2 { | ||
status = "okay"; | ||
phy-mode = "rgmii"; | ||
phy-addr = <0xffffffff>; | ||
}; | ||
|
||
&mmc { | ||
status = "okay"; | ||
altr,dw-mshc-ciu-div = <0x3>; | ||
altr,dw-mshc-sdr-timing = <0x0 0x3>; | ||
cap-sd-highspeed; | ||
cap-mmc-highspeed; | ||
broken-cd; | ||
bus-width = <4>; | ||
}; | ||
|
||
&uart0 { | ||
status = "okay"; | ||
}; | ||
|
||
&uart1 { | ||
status = "okay"; | ||
}; | ||
|
||
&usb0 { | ||
clocks = <&clkmgr STRATIX10_L4_MP_CLK>; | ||
status = "okay"; | ||
}; | ||
|
||
&usb1 { | ||
clocks = <&clkmgr STRATIX10_L4_MP_CLK>; | ||
status = "okay"; | ||
}; | ||
|
||
&rst { | ||
altr,modrst-offset = <0x20>; | ||
}; | ||
|
||
&sysmgr { | ||
reg = <0xffd12000 0x1000>; | ||
interrupts = <0x0 0x10 0x4>; | ||
cpu1-start-addr = <0xffd06230>; | ||
}; |