Re: [PATCH 04/16] arm64: dts: arm: Fix node address fields

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-05-05 5:52 pm, Andre Przywara wrote:
The Arm Ltd. boards were using an outdated address convention in the DT
node names, by separating the high from the low 32-bits of an address by
a comma.

I thought that historically that was deliberate, since the actual thing being encoded is <chip select>,<address>, rather than just cosmetically splitting a 64-bit address value?

Or maybe I'm thinking too far back and things have already changed in the meantime :/

Robin.

Remove the comma from the node name suffix to be DT spec compliant.

Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>
---
  arch/arm/boot/dts/vexpress-v2m-rs1.dtsi              | 10 +++++-----
  arch/arm64/boot/dts/arm/foundation-v8.dtsi           |  4 ++--
  arch/arm64/boot/dts/arm/juno-motherboard.dtsi        |  6 +++---
  arch/arm64/boot/dts/arm/rtsm_ve-motherboard-rs2.dtsi |  2 +-
  arch/arm64/boot/dts/arm/rtsm_ve-motherboard.dtsi     |  6 +++---
  5 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/arch/arm/boot/dts/vexpress-v2m-rs1.dtsi b/arch/arm/boot/dts/vexpress-v2m-rs1.dtsi
index 5c183483ec3b..8010cdcdb37a 100644
--- a/arch/arm/boot/dts/vexpress-v2m-rs1.dtsi
+++ b/arch/arm/boot/dts/vexpress-v2m-rs1.dtsi
@@ -31,7 +31,7 @@
  			#interrupt-cells = <1>;
  			ranges;
- nor_flash: flash@0,00000000 {
+			nor_flash: flash@0 {
  				compatible = "arm,vexpress-flash", "cfi-flash";
  				reg = <0 0x00000000 0x04000000>,
  				      <4 0x00000000 0x04000000>;
@@ -41,13 +41,13 @@
  				};
  			};
- psram@1,00000000 {
+			psram@100000000 {
  				compatible = "arm,vexpress-psram", "mtd-ram";
  				reg = <1 0x00000000 0x02000000>;
  				bank-width = <4>;
  			};
- ethernet@2,02000000 {
+			ethernet@202000000 {
  				compatible = "smsc,lan9118", "smsc,lan9115";
  				reg = <2 0x02000000 0x10000>;
  				interrupts = <15>;
@@ -59,14 +59,14 @@
  				vddvario-supply = <&v2m_fixed_3v3>;
  			};
- usb@2,03000000 {
+			usb@203000000 {
  				compatible = "nxp,usb-isp1761";
  				reg = <2 0x03000000 0x20000>;
  				interrupts = <16>;
  				port1-otg;
  			};
- iofpga@3,00000000 {
+			iofpga@300000000 {
  				compatible = "simple-bus";
  				#address-cells = <1>;
  				#size-cells = <1>;
diff --git a/arch/arm64/boot/dts/arm/foundation-v8.dtsi b/arch/arm64/boot/dts/arm/foundation-v8.dtsi
index 12f039fa3dad..e26b492795c5 100644
--- a/arch/arm64/boot/dts/arm/foundation-v8.dtsi
+++ b/arch/arm64/boot/dts/arm/foundation-v8.dtsi
@@ -151,7 +151,7 @@
  				<0 0 41 &gic 0 0 GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
  				<0 0 42 &gic 0 0 GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
- ethernet@2,02000000 {
+		ethernet@202000000 {
  			compatible = "smsc,lan91c111";
  			reg = <2 0x02000000 0x10000>;
  			interrupts = <15>;
@@ -178,7 +178,7 @@
  			clock-output-names = "v2m:refclk32khz";
  		};
- iofpga@3,00000000 {
+		iofpga@300000000 {
  			compatible = "simple-bus";
  			#address-cells = <1>;
  			#size-cells = <1>;
diff --git a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
index e3983ded3c3c..d5cefddde08c 100644
--- a/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
+++ b/arch/arm64/boot/dts/arm/juno-motherboard.dtsi
@@ -103,7 +103,7 @@
  				};
  			};
- flash@0,00000000 {
+			flash@0 {
  				/* 2 * 32MiB NOR Flash memory mounted on CS0 */
  				compatible = "arm,vexpress-flash", "cfi-flash";
  				reg = <0 0x00000000 0x04000000>;
@@ -120,7 +120,7 @@
  				};
  			};
- ethernet@2,00000000 {
+			ethernet@200000000 {
  				compatible = "smsc,lan9118", "smsc,lan9115";
  				reg = <2 0x00000000 0x10000>;
  				interrupts = <3>;
@@ -133,7 +133,7 @@
  				vddvario-supply = <&mb_fixed_3v3>;
  			};
- iofpga@3,00000000 {
+			iofpga@300000000 {
  				compatible = "simple-bus";
  				#address-cells = <1>;
  				#size-cells = <1>;
diff --git a/arch/arm64/boot/dts/arm/rtsm_ve-motherboard-rs2.dtsi b/arch/arm64/boot/dts/arm/rtsm_ve-motherboard-rs2.dtsi
index 60703b5763c6..350cbf17e8b4 100644
--- a/arch/arm64/boot/dts/arm/rtsm_ve-motherboard-rs2.dtsi
+++ b/arch/arm64/boot/dts/arm/rtsm_ve-motherboard-rs2.dtsi
@@ -9,7 +9,7 @@
  		motherboard {
  			arm,v2m-memory-map = "rs2";
- iofpga@3,00000000 {
+			iofpga@300000000 {
  				virtio-p9@140000 {
  					compatible = "virtio,mmio";
  					reg = <0x140000 0x200>;
diff --git a/arch/arm64/boot/dts/arm/rtsm_ve-motherboard.dtsi b/arch/arm64/boot/dts/arm/rtsm_ve-motherboard.dtsi
index e333c8d2d0e4..d1bfa62ca073 100644
--- a/arch/arm64/boot/dts/arm/rtsm_ve-motherboard.dtsi
+++ b/arch/arm64/boot/dts/arm/rtsm_ve-motherboard.dtsi
@@ -17,14 +17,14 @@
  			#interrupt-cells = <1>;
  			ranges;
- flash@0,00000000 {
+			flash@0 {
  				compatible = "arm,vexpress-flash", "cfi-flash";
  				reg = <0 0x00000000 0x04000000>,
  				      <4 0x00000000 0x04000000>;
  				bank-width = <4>;
  			};
- ethernet@2,02000000 {
+			ethernet@202000000 {
  				compatible = "smsc,lan91c111";
  				reg = <2 0x02000000 0x10000>;
  				interrupts = <15>;
@@ -51,7 +51,7 @@
  				clock-output-names = "v2m:refclk32khz";
  			};
- iofpga@3,00000000 {
+			iofpga@300000000 {
  				compatible = "simple-bus";
  				#address-cells = <1>;
  				#size-cells = <1>;




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux