Skip to content

Commit d336355

Browse files
krzkandersson
authored andcommitted
arm64: dts: qcom: x1e80100: align mem timer size cells with bindings
The ARMv7 memory mapped architected timer bindings expect MMIO sizes up to 32-bit. Keep 64-bit addressing but change the size of memory mapping to 32-bit (size-cells=1) and adjust the ranges to match this. This fixes dtbs_check warnings like: x1e80100-qcp.dtb: timer@17800000: #size-cells:0:0: 1 was expected Fixes: af16b00 ("arm64: dts: qcom: Add base X1E80100 dtsi and the QCP dts") Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Abel Vesa <abel.vesa@linaro.org> Link: https://lore.kernel.org/r/20231218150656.72892-1-krzysztof.kozlowski@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 827f5fc commit d336355

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

arch/arm64/boot/dts/qcom/x1e80100.dtsi

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3418,12 +3418,12 @@
34183418
reg = <0 0x17800000 0 0x1000>;
34193419

34203420
#address-cells = <2>;
3421-
#size-cells = <2>;
3422-
ranges;
3421+
#size-cells = <1>;
3422+
ranges = <0 0 0 0 0x20000000>;
34233423

34243424
frame@17801000 {
3425-
reg = <0 0x17801000 0 0x1000>,
3426-
<0 0x17802000 0 0x1000>;
3425+
reg = <0 0x17801000 0x1000>,
3426+
<0 0x17802000 0x1000>;
34273427

34283428
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
34293429
<GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
@@ -3432,7 +3432,7 @@
34323432
};
34333433

34343434
frame@17803000 {
3435-
reg = <0 0x17803000 0 0x1000>;
3435+
reg = <0 0x17803000 0x1000>;
34363436

34373437
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
34383438

@@ -3442,7 +3442,7 @@
34423442
};
34433443

34443444
frame@17805000 {
3445-
reg = <0 0x17805000 0 0x1000>;
3445+
reg = <0 0x17805000 0x1000>;
34463446

34473447
interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
34483448

@@ -3452,7 +3452,7 @@
34523452
};
34533453

34543454
frame@17807000 {
3455-
reg = <0 0x17807000 0 0x1000>;
3455+
reg = <0 0x17807000 0x1000>;
34563456

34573457
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
34583458

@@ -3462,7 +3462,7 @@
34623462
};
34633463

34643464
frame@17809000 {
3465-
reg = <0 0x17809000 0 0x1000>;
3465+
reg = <0 0x17809000 0x1000>;
34663466

34673467
interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
34683468

@@ -3472,7 +3472,7 @@
34723472
};
34733473

34743474
frame@1780b000 {
3475-
reg = <0 0x1780b000 0 0x1000>;
3475+
reg = <0 0x1780b000 0x1000>;
34763476

34773477
interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
34783478

@@ -3482,7 +3482,7 @@
34823482
};
34833483

34843484
frame@1780d000 {
3485-
reg = <0 0x1780d000 0 0x1000>;
3485+
reg = <0 0x1780d000 0x1000>;
34863486

34873487
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
34883488

0 commit comments

Comments
 (0)