Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove dts "audio_mem" node and add mbox 910r channel #200

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts
Original file line number Diff line number Diff line change
Expand Up @@ -740,9 +740,6 @@
reg = <0x0 0x33400000 0x0 0x200000>;
};
//Note: with "no-map" reserv mem not saved in hibernation
audio_mem: memory@32000000 {
reg = <0x0 0x32000000 0x0 0x6400000>;
};
rpmsgmem: memory@1E000000 {
reg = <0x0 0x1E000000 0x0 0x10000>;
};
Expand Down
18 changes: 18 additions & 0 deletions arch/riscv/boot/dts/thead/th1520.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@
compatible = "xuantie,th1520-aon";
mbox-names = "aon";
mboxes = <&mbox_910t 1 0>;
opensbi-mboxes = <&mbox_910r>;
status = "okay";

pd: th1520-aon-pd {
Expand Down Expand Up @@ -1196,6 +1197,23 @@
#mbox-cells = <2>;
};

mbox_910r: mbox@ffefc53000 {
compatible = "xuantie,th1520-mbox-r";
reg = <0xff 0xefc53000 0x0 0x4000>,
<0xff 0xefc3f000 0x0 0x1000>,
<0xff 0xefc47000 0x0 0x1000>,
<0xff 0xefc4f000 0x0 0x1000>;
reg-names = "local_base",
"remote_icu0",
"remote_icu1",
"remote_icu2";
interrupt-controller;
clocks = <&apb_clk>;
clock-names = "ipg";
icu_cpu_id = <3>;
#mbox-cells = <2>;
};

adc: adc@0xfffff51000 {
compatible = "xuantie,th1520-adc";
reg = <0xff 0xfff51000 0x0 0x1000>;
Expand Down
Loading