mediatek: copy patches-6.1 to patches-6.6
[openwrt/staging/981213.git] / target / linux / mediatek / patches-6.6 / 941-arm64-dts-mt7986-move-cpuboot-in-a-dedicated-node.patch
1 From 247e566e3459481f1fa98733534bfed767e18b42 Mon Sep 17 00:00:00 2001
2 Message-Id: <247e566e3459481f1fa98733534bfed767e18b42.1678620342.git.lorenzo@kernel.org>
3 From: Lorenzo Bianconi <lorenzo@kernel.org>
4 Date: Sat, 11 Mar 2023 16:32:41 +0100
5 Subject: [PATCH net-next] arm64: dts: mt7986: move cpuboot in a dedicated node
6
7 Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
8 ---
9 arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 21 +++++++++++----------
10 1 file changed, 11 insertions(+), 10 deletions(-)
11
12 --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
13 +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
14 @@ -121,12 +121,6 @@
15 reg = <0 0x151f8000 0 0x2000>;
16 no-map;
17 };
18 -
19 - wo_boot: wo-boot@15194000 {
20 - reg = <0 0x15194000 0 0x1000>;
21 - no-map;
22 - };
23 -
24 };
25
26 timer {
27 @@ -540,10 +534,11 @@
28 interrupt-parent = <&gic>;
29 interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
30 memory-region = <&wo_emi0>, <&wo_ilm0>, <&wo_dlm0>,
31 - <&wo_data>, <&wo_boot>;
32 + <&wo_data>;
33 memory-region-names = "wo-emi", "wo-ilm", "wo-dlm",
34 - "wo-data", "wo-boot";
35 + "wo-data";
36 mediatek,wo-ccif = <&wo_ccif0>;
37 + mediatek,wo-cpuboot = <&wo_cpuboot>;
38 };
39
40 wed1: wed@15011000 {
41 @@ -553,10 +548,11 @@
42 interrupt-parent = <&gic>;
43 interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>;
44 memory-region = <&wo_emi1>, <&wo_ilm1>, <&wo_dlm1>,
45 - <&wo_data>, <&wo_boot>;
46 + <&wo_data>;
47 memory-region-names = "wo-emi", "wo-ilm", "wo-dlm",
48 - "wo-data", "wo-boot";
49 + "wo-data";
50 mediatek,wo-ccif = <&wo_ccif1>;
51 + mediatek,wo-cpuboot = <&wo_cpuboot>;
52 };
53
54 wo_ccif0: syscon@151a5000 {
55 @@ -573,6 +569,11 @@
56 interrupts = <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>;
57 };
58
59 + wo_cpuboot: syscon@15194000 {
60 + compatible = "mediatek,mt7986-wo-cpuboot", "syscon";
61 + reg = <0 0x15194000 0 0x1000>;
62 + };
63 +
64 eth: ethernet@15100000 {
65 compatible = "mediatek,mt7986-eth";
66 reg = <0 0x15100000 0 0x80000>;