Skip to content

Commit dd5dc19

Browse files
committed
Merge tag 'amlogic-fixes-v7.1-rc' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux into soc/late2
Amlogic DT Fixes for v7.1: - Fix ethernet PHY interrupt number for P230 reference board - Add missing cache information to cpu0 for Amlogic AXG - Fix Khadas VIM4 board model name - Fix GIC register ranges for Amlogic T7 - Fix Khadas VIM4 memory layout for 8GB RAM - Drop CPU masks from GICv3 PPI interrupts for Amlogic S6 * tag 'amlogic-fixes-v7.1-rc' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux: arm64: dts: meson-gxl-p230: fix ethernet PHY interrupt number arm64: dts: amlogic: meson-axg: Add missing cache information to cpu0 arm64: dts: amlogic: t7: khadas-vim4: fix board model name arm64: dts: amlogic: Fix GIC register ranges for Amlogic T7 arm64: dts: amlogic: t7: khadas-vim4: fix memory layout for 8GB RAM arm64: dts: amlogic: s6: Drop CPU masks from GICv3 PPI interrupts Signed-off-by: Arnd Bergmann <[email protected]>
2 parents d21877a + 174a0ef commit dd5dc19

5 files changed

Lines changed: 20 additions & 9 deletions

File tree

arch/arm64/boot/dts/amlogic/amlogic-s6.dtsi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@
5353

5454
timer {
5555
compatible = "arm,armv8-timer";
56-
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
57-
<GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
58-
<GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
59-
<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
56+
interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
57+
<GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
58+
<GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
59+
<GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
6060
};
6161

6262
psci {
@@ -84,7 +84,7 @@
8484
interrupt-controller;
8585
reg = <0x0 0xff200000 0 0x10000>,
8686
<0x0 0xff240000 0 0x80000>;
87-
interrupts = <GIC_PPI 9 0xf04>;
87+
interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
8888
};
8989

9090
apb: bus@fe000000 {

arch/arm64/boot/dts/amlogic/amlogic-t7-a311d2-khadas-vim4.dts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include "amlogic-t7.dtsi"
99

1010
/ {
11-
model = "Khadas vim4";
11+
model = "Khadas VIM4";
1212
compatible = "khadas,vim4", "amlogic,a311d2", "amlogic,t7";
1313

1414
aliases {
@@ -17,7 +17,9 @@
1717

1818
memory@0 {
1919
device_type = "memory";
20-
reg = <0x0 0x0 0x2 0x0>; /* 8 GB */
20+
reg = <0x0 0x0 0x0 0xE0000000
21+
0x1 0x0 0x0 0xE0000000
22+
0x2 0x0 0x0 0x40000000>; /* 8 GB */
2123
};
2224

2325
reserved-memory {

arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,9 @@
213213
#address-cells = <0>;
214214
interrupt-controller;
215215
reg = <0x0 0xfff01000 0 0x1000>,
216-
<0x0 0xfff02000 0 0x0100>;
216+
<0x0 0xfff02000 0 0x2000>,
217+
<0x0 0xfff04000 0 0x2000>,
218+
<0x0 0xfff06000 0 0x2000>;
217219
interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
218220
};
219221

arch/arm64/boot/dts/amlogic/meson-axg.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@
7272
compatible = "arm,cortex-a53";
7373
reg = <0x0 0x0>;
7474
enable-method = "psci";
75+
d-cache-line-size = <32>;
76+
d-cache-size = <0x8000>;
77+
d-cache-sets = <32>;
78+
i-cache-line-size = <32>;
79+
i-cache-size = <0x8000>;
80+
i-cache-sets = <32>;
7581
next-level-cache = <&l2>;
7682
clocks = <&scpi_dvfs 0>;
7783
dynamic-power-coefficient = <140>;

arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@
8484
reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>;
8585

8686
interrupt-parent = <&gpio_intc>;
87-
interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
87+
/* MAC_INTR on GPIOZ_15 */
88+
interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
8889
eee-broken-1000t;
8990
};
9091
};

0 commit comments

Comments
 (0)