arm64: dts: rockchip: rk3562-amp: support ap core for amp

Signed-off-by: Steven Liu <steven.liu@rock-chips.com>
Change-Id: I5b70c643884ff236ab27a918d03fc278b9b1b377
This commit is contained in:
Steven Liu
2023-09-07 19:58:29 +08:00
parent 7921dda22e
commit 02e897ae7c
2 changed files with 28 additions and 6 deletions

View File

@@ -1,11 +1,13 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (c) 2022 Rockchip Electronics Co., Ltd.
* Copyright (c) 2023 Rockchip Electronics Co., Ltd.
*/
#include <dt-bindings/soc/rockchip-amp.h>
/ {
rockchip_amp: rockchip-amp {
compatible = "rockchip,mcu-amp";
compatible = "rockchip,amp";
clocks = <&cru FCLK_BUS_CM0_CORE>, <&cru CLK_BUS_CM0_RTC>,
<&cru PCLK_MAILBOX>, <&cru PCLK_INTC>,
<&cru SCLK_UART7>, <&cru PCLK_UART7>,
@@ -14,6 +16,9 @@
pinctrl-names = "default";
pinctrl-0 = <&uart7m1_xfer>;
amp-cpu-aff-maskbits = <0x0 0x1 0x1 0x2 0x2 0x4 0x3 0x8>;
amp-irqs = <GIC_AMP_IRQ_CFG_ROUTE(81, 0xd0, CPU_GET_AFFINITY(3, 0))>;
status = "okay";
};
@@ -34,9 +39,9 @@
#size-cells = <2>;
ranges;
/* mcu address */
mcu_reserved: mcu@8200000 {
reg = <0x0 0x8200000 0x0 0x100000>;
/* remote amp core address */
amp_shmem_reserved: amp-shmem@7800000 {
reg = <0x0 0x7800000 0x0 0x400000>;
no-map;
};
@@ -50,6 +55,13 @@
reg = <0x0 0x08000000 0x0 0x100000>;
no-map;
};
/* mcu address */
mcu_reserved: mcu@8200000 {
reg = <0x0 0x8200000 0x0 0x100000>;
no-map;
};
};
};

View File

@@ -12,7 +12,17 @@
/ {
memory {
device_type = "memory";
reg = <0x0 0x01000000 0x0 0x07400000>,
reg = <0x0 0x02000000 0x0 0x06400000>,
<0x0 0x0a200000 0x0 0xf1e00000>;
};
};
&arm_pmu {
interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>;
};
/delete-node/ &cpu3;
&sdmmc0 {
status = "disabled";
};