Commit c890ecdb authored by Rob Herring's avatar Rob Herring Committed by Alexandre Belloni

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

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: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarNicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent f3fc81fd
...@@ -70,9 +70,9 @@ wm8904: wm8904@1a { ...@@ -70,9 +70,9 @@ wm8904: wm8904@1a {
&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 @@ pinctrl_lcd_ctp_int: lcd_ctp_int { ...@@ -59,9 +59,9 @@ pinctrl_lcd_ctp_int: lcd_ctp_int {
&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 @@ ethernet-phy@1 { ...@@ -128,7 +128,7 @@ ethernet-phy@1 {
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 @@ macb0: ethernet@fffc4000 { ...@@ -127,7 +127,7 @@ macb0: ethernet@fffc4000 {
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 @@ mtd_dataflash@0 { ...@@ -160,7 +160,7 @@ mtd_dataflash@0 {
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 @@ ssc0: ssc@fffbc000 { ...@@ -109,7 +109,7 @@ ssc0: ssc@fffbc000 {
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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment