1 From 01561065af5bf1d2a4244896d897e3a1eafbcd46 Mon Sep 17 00:00:00 2001
2 Message-Id: <01561065af5bf1d2a4244896d897e3a1eafbcd46.1678717704.git.lorenzo@kernel.org>
3 From: Lorenzo Bianconi <lorenzo@kernel.org>
4 Date: Mon, 13 Mar 2023 15:10:56 +0100
5 Subject: [PATCH net-next] arm64: dts: mt7986: move ilm in a dedicated node
7 Since the ilm memory region is not part of the RAM SoC, move ilm in a
8 deidicated syscon node.
9 This patch helps to keep backward-compatibility with older version of
10 uboot codebase where we have a limit of 8 reserved-memory dts child
13 Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
15 arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 34 +++++++++++------------
16 1 file changed, 16 insertions(+), 18 deletions(-)
18 --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
19 +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
24 - wo_ilm0: wo-ilm@151e0000 {
25 - reg = <0 0x151e0000 0 0x8000>;
29 - wo_ilm1: wo-ilm@151f0000 {
30 - reg = <0 0x151f0000 0 0x8000>;
34 wo_data: wo-data@4fd80000 {
35 reg = <0 0x4fd80000 0 0x240000>;
38 reg = <0 0x15010000 0 0x1000>;
39 interrupt-parent = <&gic>;
40 interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
41 - memory-region = <&wo_emi0>, <&wo_ilm0>, <&wo_dlm0>,
43 - memory-region-names = "wo-emi", "wo-ilm", "wo-dlm",
45 + memory-region = <&wo_emi0>, <&wo_dlm0>, <&wo_data>;
46 + memory-region-names = "wo-emi", "wo-dlm", "wo-data";
47 mediatek,wo-ccif = <&wo_ccif0>;
48 + mediatek,wo-ilm = <&wo_ilm0>;
49 mediatek,wo-cpuboot = <&wo_cpuboot>;
53 reg = <0 0x15011000 0 0x1000>;
54 interrupt-parent = <&gic>;
55 interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>;
56 - memory-region = <&wo_emi1>, <&wo_ilm1>, <&wo_dlm1>,
58 - memory-region-names = "wo-emi", "wo-ilm", "wo-dlm",
60 + memory-region = <&wo_emi1>, <&wo_dlm1>, <&wo_data>;
61 + memory-region-names = "wo-emi", "wo-dlm", "wo-data";
62 mediatek,wo-ccif = <&wo_ccif1>;
63 + mediatek,wo-ilm = <&wo_ilm1>;
64 mediatek,wo-cpuboot = <&wo_cpuboot>;
68 interrupts = <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>;
71 + wo_ilm0: syscon@151e0000 {
72 + compatible = "mediatek,mt7986-wo-ilm", "syscon";
73 + reg = <0 0x151e0000 0 0x8000>;
76 + wo_ilm1: syscon@151f0000 {
77 + compatible = "mediatek,mt7986-wo-ilm", "syscon";
78 + reg = <0 0x151f0000 0 0x8000>;
81 wo_cpuboot: syscon@15194000 {
82 compatible = "mediatek,mt7986-wo-cpuboot", "syscon";
83 reg = <0 0x15194000 0 0x1000>;