提交 51e509ca 编写于 作者: R Rob Herring 提交者: Greg Kroah-Hartman

ARM: dts: atmel: Fix I2C and SPI bus warnings

[ Upstream commit c890ecdbe93d482512a911b299bfb009780a29c2 ]

dtc has new checks for I2C and SPI buses. Fix the warnings in node names
and unit-addresses.

arch/arm/boot/dts/at91-dvk_som60.dtb: Warning (i2c_bus_reg): /ahb/apb/i2c@f0018000/eeprom@87: I2C bus unit address format error, expected "57"
arch/arm/boot/dts/at91-dvk_som60.dtb: Warning (i2c_bus_reg): /ahb/apb/i2c@f0018000/ft5426@56: I2C bus unit address format error, expected "38"
arch/arm/boot/dts/at91-vinco.dtb: Warning (i2c_bus_reg): /ahb/apb/i2c@f8024000/rtc@64: I2C bus unit address format error, expected "32"
arch/arm/boot/dts/at91sam9260ek.dtb: Warning (spi_bus_reg): /ahb/apb/spi@fffc8000/mtd_dataflash@0: SPI bus unit address format error, expected "1"
arch/arm/boot/dts/at91sam9g20ek_2mmc.dtb: Warning (spi_bus_reg): /ahb/apb/spi@fffc8000/mtd_dataflash@0: SPI bus unit address format error, expected "1"
arch/arm/boot/dts/at91sam9g20ek.dtb: Warning (spi_bus_reg): /ahb/apb/spi@fffc8000/mtd_dataflash@0: SPI bus unit address format error, expected "1"
arch/arm/boot/dts/at91sam9261ek.dtb: Warning (spi_bus_reg): /ahb/apb/spi@fffc8000/tsc2046@0: SPI bus unit address format error, expected "2"
Signed-off-by: NRob Herring <robh@kernel.org>
Acked-by: NNicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: NSasha Levin <sashal@kernel.org>
上级 7cfb3b04
...@@ -70,9 +70,9 @@ ...@@ -70,9 +70,9 @@
&i2c1 { &i2c1 {
status = "okay"; status = "okay";
eeprom@87 { eeprom@57 {
compatible = "giantec,gt24c32a", "atmel,24c32"; compatible = "giantec,gt24c32a", "atmel,24c32";
reg = <87>; reg = <0x57>;
pagesize = <32>; pagesize = <32>;
}; };
}; };
......
...@@ -59,9 +59,9 @@ ...@@ -59,9 +59,9 @@
&i2c1 { &i2c1 {
status = "okay"; status = "okay";
ft5426@56 { ft5426@38 {
compatible = "focaltech,ft5426", "edt,edt-ft5406"; compatible = "focaltech,ft5426", "edt,edt-ft5406";
reg = <56>; reg = <0x38>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lcd_ctp_int>; pinctrl-0 = <&pinctrl_lcd_ctp_int>;
......
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
i2c2: i2c@f8024000 { i2c2: i2c@f8024000 {
status = "okay"; status = "okay";
rtc1: rtc@64 { rtc1: rtc@32 {
compatible = "epson,rx8900"; compatible = "epson,rx8900";
reg = <0x32>; reg = <0x32>;
}; };
......
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
spi0: spi@fffc8000 { spi0: spi@fffc8000 {
cs-gpios = <0>, <&pioC 11 0>, <0>, <0>; cs-gpios = <0>, <&pioC 11 0>, <0>, <0>;
mtd_dataflash@0 { mtd_dataflash@1 {
compatible = "atmel,at45", "atmel,dataflash"; compatible = "atmel,at45", "atmel,dataflash";
spi-max-frequency = <50000000>; spi-max-frequency = <50000000>;
reg = <1>; reg = <1>;
......
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
spi-max-frequency = <15000000>; spi-max-frequency = <15000000>;
}; };
tsc2046@0 { tsc2046@2 {
reg = <2>; reg = <2>;
compatible = "ti,ads7843"; compatible = "ti,ads7843";
interrupts-extended = <&pioC 2 IRQ_TYPE_EDGE_BOTH>; interrupts-extended = <&pioC 2 IRQ_TYPE_EDGE_BOTH>;
......
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
spi0: spi@fffc8000 { spi0: spi@fffc8000 {
cs-gpios = <0>, <&pioC 11 0>, <0>, <0>; cs-gpios = <0>, <&pioC 11 0>, <0>, <0>;
mtd_dataflash@0 { mtd_dataflash@1 {
compatible = "atmel,at45", "atmel,dataflash"; compatible = "atmel,at45", "atmel,dataflash";
spi-max-frequency = <50000000>; spi-max-frequency = <50000000>;
reg = <1>; reg = <1>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册