Skip to content

Commit 047f2d9

Browse files
committed
MIPS: Use lower case for addresses in nexys4ddr.dts
DTC introduced an i2c_bus_reg check in v1.4.7, used since Linux v4.20, which complains about upper case addresses used in the unit name. nexys4ddr.dts names an I2C device node "ad7420@4B", leading to: arch/mips/boot/dts/xilfpga/nexys4ddr.dts:109.16-112.8: Warning (i2c_bus_reg): /i2c@10A00000/ad7420@4B: I2C bus unit address format error, expected "4b" Fix this by switching to lower case addresses throughout the file, as is *mostly* the case in the file already & fairly standard throughout the tree. Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: stable@vger.kernel.org # v4.20+ Cc: linux-mips@vger.kernel.org
1 parent e02e07e commit 047f2d9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arch/mips/boot/dts/xilfpga/nexys4ddr.dts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@
9090
interrupts = <0>;
9191
};
9292

93-
axi_i2c: i2c@10A00000 {
93+
axi_i2c: i2c@10a00000 {
9494
compatible = "xlnx,xps-iic-2.00.a";
9595
interrupt-parent = <&axi_intc>;
9696
interrupts = <4>;
97-
reg = < 0x10A00000 0x10000 >;
97+
reg = < 0x10a00000 0x10000 >;
9898
clocks = <&ext>;
9999
xlnx,clk-freq = <0x5f5e100>;
100100
xlnx,family = "Artix7";
@@ -106,9 +106,9 @@
106106
#address-cells = <1>;
107107
#size-cells = <0>;
108108

109-
ad7420@4B {
109+
ad7420@4b {
110110
compatible = "adi,adt7420";
111-
reg = <0x4B>;
111+
reg = <0x4b>;
112112
};
113113
} ;
114114
};

0 commit comments

Comments
 (0)