diff options
author | Rob Herring <robh@kernel.org> | 2017-10-13 12:54:51 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2017-10-20 00:37:54 +0200 |
commit | 8dccafaa281aa1d240a58bbcdff338aec114a021 (patch) | |
tree | 0c45508c73bd447b350aef253119a09ae4a1e4e9 /arch/arm/boot/dts/integrator.dtsi | |
parent | 59b630878df1a02b6930077c6ce91bcfb19df761 (diff) | |
download | lwn-8dccafaa281aa1d240a58bbcdff338aec114a021.tar.gz lwn-8dccafaa281aa1d240a58bbcdff338aec114a021.zip |
arm: dts: fix unit-address leading 0s
Fix dtc warnings for 'simple_bus_reg' due to leading 0s. Converted using
the following command:
perl -p -i -e 's/\@0+([0-9a-f])/\@$1/g' `find arch/arm/boot/dts -type -f -name '*.dts*'
Dropped changes to ARM, Ltd. boards LED nodes and manually fixed up some
occurrences of uppercase hex.
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/boot/dts/integrator.dtsi')
-rw-r--r-- | arch/arm/boot/dts/integrator.dtsi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/integrator.dtsi b/arch/arm/boot/dts/integrator.dtsi index 6fe0dd1d3541..ba8d0ed885c6 100644 --- a/arch/arm/boot/dts/integrator.dtsi +++ b/arch/arm/boot/dts/integrator.dtsi @@ -10,7 +10,7 @@ reg = <0x10000000 0x200>; /* Use core module LED to indicate CPU load */ - led@0c.0 { + led@c.0 { compatible = "register-bit-led"; offset = <0x0c>; mask = <0x01>; @@ -99,7 +99,7 @@ compatible = "syscon", "simple-mfd"; reg = <0x1a000000 0x10>; - led@04.0 { + led@4.0 { compatible = "register-bit-led"; offset = <0x04>; mask = <0x01>; @@ -107,21 +107,21 @@ linux,default-trigger = "heartbeat"; default-state = "on"; }; - led@04.1 { + led@4.1 { compatible = "register-bit-led"; offset = <0x04>; mask = <0x02>; label = "integrator:yellow"; default-state = "off"; }; - led@04.2 { + led@4.2 { compatible = "register-bit-led"; offset = <0x04>; mask = <0x04>; label = "integrator:red"; default-state = "off"; }; - led@04.3 { + led@4.3 { compatible = "register-bit-led"; offset = <0x04>; mask = <0x08>; |