Skip to content

Commit 0e529da

Browse files
Andre-ARMsudeep-holla
authored andcommitted
arm64: dts: juno: Fix mem-timer
The Juno's mem-timer DT node was not fully compliant with the DT binding, which has certain expectation about child nodes and their size and address cells values. Use a cell size of 1, as the binding requests, and spell out the ranges property to be binding compliant. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Andre Przywara <[email protected]> Signed-off-by: Sudeep Holla <[email protected]>
1 parent 948204a commit 0e529da

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arch/arm64/boot/dts/arm/juno-base.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
compatible = "arm,armv7-timer-mem";
1212
reg = <0x0 0x2a810000 0x0 0x10000>;
1313
clock-frequency = <50000000>;
14-
#address-cells = <2>;
15-
#size-cells = <2>;
16-
ranges;
14+
#address-cells = <1>;
15+
#size-cells = <1>;
16+
ranges = <0 0x0 0x2a820000 0x20000>;
1717
status = "disabled";
1818
frame@2a830000 {
1919
frame-number = <1>;
2020
interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
21-
reg = <0x0 0x2a830000 0x0 0x10000>;
21+
reg = <0x10000 0x10000>;
2222
};
2323
};
2424

0 commit comments

Comments
 (0)