hc
2024-08-12 233ab1bd4c5697f5cdec94e60206e8c6ac609b4c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2023 Rockchip Electronics Co., Ltd.
 */
 
#include <dt-bindings/soc/rockchip-amp.h>
 
/ {
   rockchip_amp: rockchip-amp {
       compatible = "rockchip,amp";
       clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>,
           <&cru PCLK_TIMER>, <&cru SCLK_TIMER4>, <&cru SCLK_TIMER5>;
 
       pinctrl-names = "default";
       pinctrl-0 = <&uart1_xfer>;
       status = "okay";
       amp-cpu-aff-maskbits = <0x0 0x1 0x1 0x2 0x2 0x4 0x3 0x8>;
       amp-irqs = <GIC_AMP_IRQ_CFG_ROUTE(51, 0xd0, CPU_GET_AFFINITY(3, 0))>;
   };
 
   reserved-memory {
       #address-cells = <2>;
       #size-cells = <2>;
       ranges;
 
       /* remote amp core address */
       amp_reserved: amp@2e00000 {
           reg = <0x0 0x2e00000 0x0 0x1200000>;
           no-map;
       };
   };
};
 
&cpu3 {
   status = "disabled";
};