97 lines
1.8 KiB
Plaintext
Raw Normal View History

2025-05-10 21:49:39 +08:00
#include "OK3568-C-common.dtsi"
#include "rk3568-linux.dtsi"
/ {
chosen: chosen {
bootargs = "earlycon=uart8250,mmio32,0xfe660000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rw rootwait";
};
rockchip_amp: rockchip-amp {
compatible = "rockchip,rk3568-amp";
clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>,
<&cru PCLK_TIMER>, <&cru CLK_TIMER4>, <&cru CLK_TIMER5>,
<&cru ACLK_MCU>;
pinctrl-names = "default";
pinctrl-0 = <&uart4m1_xfer>;
status = "okay";
amp_cpus: amp-cpus {
amp-cpu3 {
id = <0x0 0x300>;
entry = <0x0 0x2800000>;
boot-on = <1>;
mode = <0>;
};
};
};
rpmsg: rpmsg@7c00000 {
compatible = "rockchip,rk3568-rpmsg";
mbox-names = "rpmsg-rx", "rpmsg-tx";
mboxes = <&mailbox 0 &mailbox 3>;
rockchip,vdev-nums = <1>;
rockchip,link-id = <0x03>;
reg = <0x0 0x7c00000 0x0 0x20000>;
memory-region = <&rpmsg_dma_reserved>;
status = "okay";
};
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
/* remote amp core address */
amp_shmem_reserved: amp-shmem@7800000 {
reg = <0x0 0x7800000 0x0 0x400000>;
no-map;
};
rpmsg_reserved: rpmsg@7c00000 {
reg = <0x0 0x7c00000 0x0 0x400000>;
no-map;
};
rpmsg_dma_reserved: rpmsg-dma@8000000 {
compatible = "shared-dma-pool";
reg = <0x0 0x8000000 0x0 0x100000>;
no-map;
};
/* mcu address */
mcu_reserved: mcu@8200000 {
reg = <0x0 0x8200000 0x0 0x100000>;
no-map;
};
};
memory {
device_type = "memory";
reg = <0x0 0x03880000 0x0 0x04b80000>,
<0x0 0x0a200000 0x0 0x75e00000>;
};
};
&mailbox {
rockchip,txpoll-period-ms = <1>;
status = "okay";
};
&arm_pmu {
interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>;
};
&leds {
// pinctrl-names = "default";/* for jtag */
// pinctrl-0 = <&jtag_pins>;/* for jtag */
};
&sdmmc0 {
status = "okay";
};
/delete-node/ &cpu3;