[PATCH 4/5] arm64: dts: qcom: Fix SPMI arbiter regs and reg-names
Alexey Minnekhanov
alexeymin at postmarketos.org
Mon Jan 16 01:33:14 CET 2023
Now that reg-names is required, specify them, and use correct
addresses for SPMI arbiter regs, taken from Linux dts [1] [2].
[1] https://elixir.bootlin.com/linux/v6.1.5/source/arch/arm64/boot/dts/qcom/qcs404.dtsi#L739
[2] https://elixir.bootlin.com/linux/v6.1.5/source/arch/arm64/boot/dts/qcom/sdm845.dtsi#L4896
Signed-off-by: Alexey Minnekhanov <alexeymin at postmarketos.org>
---
arch/arm/dts/qcs404-evb.dts | 7 ++++---
arch/arm/dts/sdm845.dtsi | 8 ++++----
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/arch/arm/dts/qcs404-evb.dts b/arch/arm/dts/qcs404-evb.dts
index 0639af8fe336..6bf6736139ed 100644
--- a/arch/arm/dts/qcs404-evb.dts
+++ b/arch/arm/dts/qcs404-evb.dts
@@ -171,9 +171,10 @@
spmi at 200f000 {
compatible = "qcom,spmi-pmic-arb";
- reg = <0x200f000 0x1000
- 0x2400000 0x400000
- 0x2c00000 0x400000>;
+ reg = <0x0200f000 0x1000>,
+ <0x0200a000 0x2100>,
+ <0x02c00000 0x800000>;
+ reg-names = "core", "cnfg", "obsrvr";
#address-cells = <0x1>;
#size-cells = <0x1>;
diff --git a/arch/arm/dts/sdm845.dtsi b/arch/arm/dts/sdm845.dtsi
index 607af277f8be..2bb0954133c5 100644
--- a/arch/arm/dts/sdm845.dtsi
+++ b/arch/arm/dts/sdm845.dtsi
@@ -65,10 +65,10 @@
spmi at c440000 {
compatible = "qcom,spmi-pmic-arb";
- reg = <0xc440000 0x1100>,
- <0xc600000 0x2000000>,
- <0xe600000 0x100000>;
- reg-names = "cnfg", "core", "obsrvr";
+ reg = <0x0c440000 0x1100>,
+ <0x0c40a000 0x26000>,
+ <0x0e600000 0x100000>;
+ reg-names = "core", "cnfg", "obsrvr";
#address-cells = <0x1>;
#size-cells = <0x1>;
--
2.38.2
More information about the U-Boot
mailing list