Skip to content

Commit f26d8e7

Browse files
committed
Merge tag 'amlogic-fixes' into v5.9/dt64
Amlogic fixes for v5.8-rc - misc DT fixes, and SoC ID fixes
2 parents ea232b9 + 54320dc commit f26d8e7

File tree

6 files changed

+37
-6
lines changed

6 files changed

+37
-6
lines changed

arch/arm/boot/dts/meson.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#size-cells = <1>;
1212
interrupt-parent = <&gic>;
1313

14-
L2: l2-cache-controller@c4200000 {
14+
L2: cache-controller@c4200000 {
1515
compatible = "arm,pl310-cache";
1616
reg = <0xc4200000 0x1000>;
1717
cache-unified;

arch/arm64/boot/dts/amlogic/meson-gxl-s805x-libretech-ac.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <dt-bindings/input/input.h>
1111
#include <dt-bindings/sound/meson-aiu.h>
1212

13-
#include "meson-gxl-s905x.dtsi"
13+
#include "meson-gxl-s805x.dtsi"
1414

1515
/ {
1616
compatible = "libretech,aml-s805x-ac", "amlogic,s805x",

arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#include <dt-bindings/input/input.h>
1111

12-
#include "meson-gxl-s905x.dtsi"
12+
#include "meson-gxl-s805x.dtsi"
1313

1414
/ {
1515
compatible = "amlogic,p241", "amlogic,s805x", "amlogic,meson-gxl";
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* Copyright (c) 2020 BayLibre SAS
4+
* Author: Neil Armstrong <[email protected]>
5+
*/
6+
7+
#include "meson-gxl-s905x.dtsi"
8+
9+
/ {
10+
compatible = "amlogic,s805x", "amlogic,meson-gxl";
11+
};
12+
13+
/* The S805X Package doesn't seem to handle the 744MHz OPP correctly */
14+
&mali {
15+
assigned-clocks = <&clkc CLKID_MALI_0_SEL>,
16+
<&clkc CLKID_MALI_0>,
17+
<&clkc CLKID_MALI>; /* Glitch free mux */
18+
assigned-clock-parents = <&clkc CLKID_FCLK_DIV3>,
19+
<0>, /* Do Nothing */
20+
<&clkc CLKID_MALI_0>;
21+
assigned-clock-rates = <0>, /* Do Nothing */
22+
<666666666>,
23+
<0>; /* Do Nothing */
24+
};

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,11 @@
338338
};
339339
};
340340

341+
&hwrng {
342+
clocks = <&clkc CLKID_RNG0>;
343+
clock-names = "core";
344+
};
345+
341346
&i2c_A {
342347
clocks = <&clkc CLKID_I2C>;
343348
};

drivers/soc/amlogic/meson-gx-socinfo.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,12 @@ static const struct meson_gx_package_id {
6666
{ "A113D", 0x25, 0x22, 0xff },
6767
{ "S905D2", 0x28, 0x10, 0xf0 },
6868
{ "S905X2", 0x28, 0x40, 0xf0 },
69-
{ "S922X", 0x29, 0x40, 0xf0 },
7069
{ "A311D", 0x29, 0x10, 0xf0 },
71-
{ "S905X3", 0x2b, 0x5, 0xf },
72-
{ "S905D3", 0x2b, 0xb0, 0xf0 },
70+
{ "S922X", 0x29, 0x40, 0xf0 },
71+
{ "S905D3", 0x2b, 0x4, 0xf5 },
72+
{ "S905X3", 0x2b, 0x5, 0xf5 },
73+
{ "S905X3", 0x2b, 0x10, 0x3f },
74+
{ "S905D3", 0x2b, 0x30, 0x3f },
7375
{ "A113L", 0x2c, 0x0, 0xf8 },
7476
};
7577

0 commit comments

Comments
 (0)