.. | .. |
---|
1 | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
---|
2 | 2 | /* |
---|
3 | | - * Copyright (c) 2021 Rockchip Electronics Co., Ltd. |
---|
| 3 | + * Copyright (c) 2023 Rockchip Electronics Co., Ltd. |
---|
4 | 4 | */ |
---|
5 | 5 | |
---|
6 | 6 | / { |
---|
7 | 7 | rockchip_amp: rockchip-amp { |
---|
8 | 8 | compatible = "rockchip,rk3568-amp"; |
---|
9 | 9 | 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>; |
---|
16 | 12 | |
---|
17 | 13 | pinctrl-names = "default"; |
---|
18 | 14 | pinctrl-0 = <&uart4m1_xfer>; |
---|
.. | .. |
---|
21 | 17 | amp_cpus: amp-cpus { |
---|
22 | 18 | amp-cpu3 { |
---|
23 | 19 | id = <0x0 0x300>; |
---|
24 | | - entry = <0x0 0x1800000>; |
---|
| 20 | + entry = <0x0 0x2800000>; |
---|
| 21 | + boot-on = <0>; |
---|
25 | 22 | mode = <0>; |
---|
26 | 23 | }; |
---|
27 | 24 | }; |
---|
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"; |
---|
40 | 25 | }; |
---|
41 | 26 | |
---|
42 | 27 | reserved-memory { |
---|
.. | .. |
---|
60 | 45 | reg = <0x0 0x8000000 0x0 0x100000>; |
---|
61 | 46 | no-map; |
---|
62 | 47 | }; |
---|
| 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"; |
---|
63 | 66 | }; |
---|
64 | 67 | }; |
---|
65 | 68 | |
---|
66 | 69 | &mailbox { |
---|
| 70 | + rockchip,txpoll-period-ms = <1>; |
---|
67 | 71 | status = "okay"; |
---|
68 | 72 | }; |
---|
| 73 | + |
---|