Skip to content

Commit a1176f7

Browse files
robherringkrzk
authored andcommitted
arm64: dts: apm: Add "reg" to "syscon-reboot" and "syscon-poweroff"
As the nodes already have a unit-address, add the corresponding "reg" entry which is preferred over "offset". Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Link: https://patch.msgid.link/20251216-dt-apm-v1-3-0bf2bf8b982c@kernel.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
1 parent cae405d commit a1176f7

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

arch/arm64/boot/dts/apm/apm-merlin.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838

3939
poweroff: poweroff@10548010 {
4040
compatible = "syscon-poweroff";
41+
reg = <0x0 0x10548010 0x0 0x4>;
4142
regmap = <&poweroff_mbox>;
4243
offset = <0x10>;
4344
mask = <0x1>;

arch/arm64/boot/dts/apm/apm-mustang.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838

3939
poweroff: poweroff@10548010 {
4040
compatible = "syscon-poweroff";
41+
reg = <0x0 0x10548010 0x0 0x4>;
4142
regmap = <&poweroff_mbox>;
4243
offset = <0x10>;
4344
mask = <0x1>;

arch/arm64/boot/dts/apm/apm-shadowcat.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@
417417

418418
reboot: reboot@17000014 {
419419
compatible = "syscon-reboot";
420+
reg = <0x0 0x17000014 0x0 0x4>;
420421
regmap = <&scu>;
421422
offset = <0x14>;
422423
mask = <0x1>;

arch/arm64/boot/dts/apm/apm-storm.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@
462462

463463
reboot: reboot@17000014 {
464464
compatible = "syscon-reboot";
465+
reg = <0x0 0x17000014 0x0 0x4>;
465466
regmap = <&scu>;
466467
offset = <0x14>;
467468
mask = <0x1>;

0 commit comments

Comments
 (0)