mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
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:
@@ -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;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user