aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/arm/vexpress-v2f-1xv7-ca53x2.dts
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2021-08-19 13:42:39 -0500
committerSudeep Holla <sudeep.holla@arm.com>2021-09-17 10:23:41 +0100
commit078fb7aa6a8305bce09cdfbe77b4c987934442ba (patch)
tree5ceec1aa4affac3bf8d7e6f5be00241dca3e5749 /arch/arm64/boot/dts/arm/vexpress-v2f-1xv7-ca53x2.dts
parentarm: dts: vexpress-v2p-ca9: Fix the SMB unit-address (diff)
downloadlinux-dev-078fb7aa6a8305bce09cdfbe77b4c987934442ba.tar.xz
linux-dev-078fb7aa6a8305bce09cdfbe77b4c987934442ba.zip
arm: dts: vexpress: Fix addressing issues with 'motherboard-bus' nodes
The 'motherboard-bus' node in Arm Ltd boards fails schema checks as 'simple-bus' child nodes must have a unit-address. The 'ranges' handling is also wrong (or at least strange) as the mapping of SMC chip selects should be in the 'arm,vexpress,v2m-p1' node rather than a generic 'simple-bus' node. Either there's 1 too many levels of 'simple-bus' nodes or 'ranges' should be moved down a level. The latter change is more simple, so let's do that. As the 'ranges' value doesn't vary for a given motherboard instance, we can move 'ranges' into the motherboard dtsi files. Link: https://lore.kernel.org/r/20210819184239.1192395-6-robh@kernel.org Cc: Andre Przywara <andre.przywara@arm.com> Cc: Sudeep Holla <sudeep.holla@arm.com> Cc: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'arch/arm64/boot/dts/arm/vexpress-v2f-1xv7-ca53x2.dts')
-rw-r--r--arch/arm64/boot/dts/arm/vexpress-v2f-1xv7-ca53x2.dts12
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/arm64/boot/dts/arm/vexpress-v2f-1xv7-ca53x2.dts b/arch/arm64/boot/dts/arm/vexpress-v2f-1xv7-ca53x2.dts
index d859914500a7..5f6a5951adef 100644
--- a/arch/arm64/boot/dts/arm/vexpress-v2f-1xv7-ca53x2.dts
+++ b/arch/arm64/boot/dts/arm/vexpress-v2f-1xv7-ca53x2.dts
@@ -145,17 +145,7 @@
};
smb: bus@8000000 {
- compatible = "simple-bus";
-
- #address-cells = <2>;
- #size-cells = <1>;
- ranges = <0 0 0 0x08000000 0x04000000>,
- <1 0 0 0x14000000 0x04000000>,
- <2 0 0 0x18000000 0x04000000>,
- <3 0 0 0x1c000000 0x04000000>,
- <4 0 0 0x0c000000 0x04000000>,
- <5 0 0 0x10000000 0x04000000>;
-
+ ranges = <0x8000000 0 0x8000000 0x18000000>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 63>;
interrupt-map = <0 0 0 &gic GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,