mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 09:42:22 +02:00
Revert "arm64: Layerscape: Survive LPI one-way reset workaround"
Ad-hoc bindings that are not part of the upstream device tree / bindings
are not allowed in-tree. Only bindings that are in-progress with
upstream and then re-synced once agreed upon are.
This reverts commit af288cb291
.
Cc: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Cc: Priyanka Jain <priyanka.jain@nxp.com>
Reported-by: Michael Walle <michael@walle.cc>
Signed-off-by: Tom Rini <trini@konsulko.com>
Acked-by: Marc Zyngier <maz@kernel.org>
This commit is contained in:
@@ -43,23 +43,7 @@ DECLARE_GLOBAL_DATA_PTR;
|
|||||||
#ifdef CONFIG_GIC_V3_ITS
|
#ifdef CONFIG_GIC_V3_ITS
|
||||||
int ls_gic_rd_tables_init(void *blob)
|
int ls_gic_rd_tables_init(void *blob)
|
||||||
{
|
{
|
||||||
struct fdt_memory lpi_base;
|
int ret;
|
||||||
fdt_addr_t addr;
|
|
||||||
fdt_size_t size;
|
|
||||||
int offset, ret;
|
|
||||||
|
|
||||||
offset = fdt_path_offset(gd->fdt_blob, "/syscon@0x80000000");
|
|
||||||
addr = fdtdec_get_addr_size_auto_noparent(gd->fdt_blob, offset, "reg",
|
|
||||||
0, &size, false);
|
|
||||||
|
|
||||||
lpi_base.start = addr;
|
|
||||||
lpi_base.end = addr + size - 1;
|
|
||||||
ret = fdtdec_add_reserved_memory(blob, "lpi_rd_table", &lpi_base, NULL,
|
|
||||||
0, NULL, 0);
|
|
||||||
if (ret) {
|
|
||||||
debug("%s: failed to add reserved memory\n", __func__);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
ret = gic_lpi_tables_init();
|
ret = gic_lpi_tables_init();
|
||||||
if (ret)
|
if (ret)
|
||||||
|
@@ -44,12 +44,6 @@
|
|||||||
IRQ_TYPE_LEVEL_LOW)>;
|
IRQ_TYPE_LEVEL_LOW)>;
|
||||||
};
|
};
|
||||||
|
|
||||||
gic_lpi_base: syscon@0x80000000 {
|
|
||||||
compatible = "gic-lpi-base";
|
|
||||||
reg = <0x0 0x80000000 0x0 0x100000>;
|
|
||||||
max-gic-redistributors = <2>;
|
|
||||||
};
|
|
||||||
|
|
||||||
timer {
|
timer {
|
||||||
compatible = "arm,armv8-timer";
|
compatible = "arm,armv8-timer";
|
||||||
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
|
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
|
||||||
|
@@ -27,12 +27,6 @@
|
|||||||
interrupts = <1 9 0x4>;
|
interrupts = <1 9 0x4>;
|
||||||
};
|
};
|
||||||
|
|
||||||
gic_lpi_base: syscon@0x80000000 {
|
|
||||||
compatible = "gic-lpi-base";
|
|
||||||
reg = <0x0 0x80000000 0x0 0x100000>;
|
|
||||||
max-gic-redistributors = <8>;
|
|
||||||
};
|
|
||||||
|
|
||||||
timer {
|
timer {
|
||||||
compatible = "arm,armv8-timer";
|
compatible = "arm,armv8-timer";
|
||||||
interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */
|
interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */
|
||||||
|
@@ -27,12 +27,6 @@
|
|||||||
interrupts = <1 9 0x4>;
|
interrupts = <1 9 0x4>;
|
||||||
};
|
};
|
||||||
|
|
||||||
gic_lpi_base: syscon@0x80000000 {
|
|
||||||
compatible = "gic-lpi-base";
|
|
||||||
reg = <0x0 0x80000000 0x0 0x100000>;
|
|
||||||
max-gic-redistributors = <8>;
|
|
||||||
};
|
|
||||||
|
|
||||||
timer {
|
timer {
|
||||||
compatible = "arm,armv8-timer";
|
compatible = "arm,armv8-timer";
|
||||||
interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */
|
interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */
|
||||||
|
@@ -43,12 +43,6 @@
|
|||||||
interrupts = <1 9 0x4>;
|
interrupts = <1 9 0x4>;
|
||||||
};
|
};
|
||||||
|
|
||||||
gic_lpi_base: syscon@0x80000000 {
|
|
||||||
compatible = "gic-lpi-base";
|
|
||||||
reg = <0x0 0x80000000 0x0 0x200000>;
|
|
||||||
max-gic-redistributors = <16>;
|
|
||||||
};
|
|
||||||
|
|
||||||
timer {
|
timer {
|
||||||
compatible = "arm,armv8-timer";
|
compatible = "arm,armv8-timer";
|
||||||
interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */
|
interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */
|
||||||
|
Reference in New Issue
Block a user