forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/arm64/boot/dts/rockchip/rk3568-amp.dtsi
....@@ -1,18 +1,14 @@
11 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
22 /*
3
- * Copyright (c) 2021 Rockchip Electronics Co., Ltd.
3
+ * Copyright (c) 2023 Rockchip Electronics Co., Ltd.
44 */
55
66 / {
77 rockchip_amp: rockchip-amp {
88 compatible = "rockchip,rk3568-amp";
99 clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>,
10
- <&cru PCLK_TIMER>, <&cru CLK_TIMER4>, <&cru CLK_TIMER5>;
11
- clock-names = "baudclk", "apb_pclk", "pclk", "timer";
12
- assigned-clocks = <&cru SCLK_UART4>,
13
- <&cru CLK_TIMER4>,
14
- <&cru CLK_TIMER5>;
15
- assigned-clock-rates = <24000000>;
10
+ <&cru PCLK_TIMER>, <&cru CLK_TIMER4>, <&cru CLK_TIMER5>,
11
+ <&cru ACLK_MCU>;
1612
1713 pinctrl-names = "default";
1814 pinctrl-0 = <&uart4m1_xfer>;
....@@ -21,22 +17,11 @@
2117 amp_cpus: amp-cpus {
2218 amp-cpu3 {
2319 id = <0x0 0x300>;
24
- entry = <0x0 0x1800000>;
20
+ entry = <0x0 0x2800000>;
21
+ boot-on = <0>;
2522 mode = <0>;
2623 };
2724 };
28
- };
29
-
30
- rpmsg: rpmsg@7c00000 {
31
- compatible = "rockchip,rk3568-rpmsg";
32
- mbox-names = "rpmsg-rx", "rpmsg-tx";
33
- mboxes = <&mailbox 0 &mailbox 3>;
34
- rockchip,vdev-nums = <1>;
35
- rockchip,link-id = <0x03>;
36
- reg = <0x0 0x7c00000 0x0 0x20000>;
37
- memory-region = <&rpmsg_dma_reserved>;
38
-
39
- status = "okay";
4025 };
4126
4227 reserved-memory {
....@@ -60,9 +45,29 @@
6045 reg = <0x0 0x8000000 0x0 0x100000>;
6146 no-map;
6247 };
48
+
49
+ /* mcu address */
50
+ mcu_reserved: mcu@8200000 {
51
+ reg = <0x0 0x8200000 0x0 0x100000>;
52
+ no-map;
53
+ };
54
+ };
55
+
56
+ rpmsg: rpmsg@7c00000 {
57
+ compatible = "rockchip,rpmsg";
58
+ mbox-names = "rpmsg-rx", "rpmsg-tx";
59
+ mboxes = <&mailbox 0 &mailbox 3>;
60
+ rockchip,vdev-nums = <1>;
61
+ rockchip,link-id = <0x03>;
62
+ reg = <0x0 0x7c00000 0x0 0x20000>;
63
+ memory-region = <&rpmsg_dma_reserved>;
64
+
65
+ status = "okay";
6366 };
6467 };
6568
6669 &mailbox {
70
+ rockchip,txpoll-period-ms = <1>;
6771 status = "okay";
6872 };
73
+