Commit b739c177 authored by Rob Herring's avatar Rob Herring Committed by Shawn Guo

arm64: dts: fsl: Fix I2C and SPI bus warnings

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

arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dtb: Warning (i2c_bus_reg): /soc/i2c@2180000/eeprom@57: I2C bus unit address format error, expected "53"
arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dtb: Warning (i2c_bus_reg): /soc/i2c@2180000/eeprom@56: I2C bus unit address format error, expected "52"

Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Li Yang <leoyang.li@nxp.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarLi Yang <leoyang.li@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 470104ae
...@@ -337,7 +337,7 @@ i2c1: i2c@2190000 { ...@@ -337,7 +337,7 @@ i2c1: i2c@2190000 {
status = "disabled"; status = "disabled";
}; };
dspi: dspi@2100000 { dspi: spi@2100000 {
compatible = "fsl,ls1012a-dspi", "fsl,ls1021a-v1.0-dspi"; compatible = "fsl,ls1012a-dspi", "fsl,ls1021a-v1.0-dspi";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
...@@ -284,7 +284,7 @@ ifc: ifc@1530000 { ...@@ -284,7 +284,7 @@ ifc: ifc@1530000 {
interrupts = <0 43 0x4>; interrupts = <0 43 0x4>;
}; };
qspi: quadspi@1550000 { qspi: spi@1550000 {
compatible = "fsl,ls1043a-qspi", "fsl,ls1021a-qspi"; compatible = "fsl,ls1043a-qspi", "fsl,ls1021a-qspi";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -382,7 +382,7 @@ qportals: qman-portals@500000000 { ...@@ -382,7 +382,7 @@ qportals: qman-portals@500000000 {
ranges = <0x0 0x5 0x00000000 0x8000000>; ranges = <0x0 0x5 0x00000000 0x8000000>;
}; };
dspi0: dspi@2100000 { dspi0: spi@2100000 {
compatible = "fsl,ls1043a-dspi", "fsl,ls1021a-v1.0-dspi"; compatible = "fsl,ls1043a-dspi", "fsl,ls1021a-v1.0-dspi";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -395,7 +395,7 @@ dspi0: dspi@2100000 { ...@@ -395,7 +395,7 @@ dspi0: dspi@2100000 {
status = "disabled"; status = "disabled";
}; };
dspi1: dspi@2110000 { dspi1: spi@2110000 {
compatible = "fsl,ls1043a-dspi", "fsl,ls1021a-v1.0-dspi"; compatible = "fsl,ls1043a-dspi", "fsl,ls1021a-v1.0-dspi";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
...@@ -57,12 +57,12 @@ temp-sensor@4c { ...@@ -57,12 +57,12 @@ temp-sensor@4c {
reg = <0x4c>; reg = <0x4c>;
}; };
eeprom@56 { eeprom@52 {
compatible = "atmel,24c512"; compatible = "atmel,24c512";
reg = <0x52>; reg = <0x52>;
}; };
eeprom@57 { eeprom@53 {
compatible = "atmel,24c512"; compatible = "atmel,24c512";
reg = <0x53>; reg = <0x53>;
}; };
......
...@@ -202,7 +202,7 @@ ifc: ifc@1530000 { ...@@ -202,7 +202,7 @@ ifc: ifc@1530000 {
interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
}; };
qspi: quadspi@1550000 { qspi: spi@1550000 {
compatible = "fsl,ls1021a-qspi"; compatible = "fsl,ls1021a-qspi";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -361,7 +361,7 @@ tmu: tmu@1f00000 { ...@@ -361,7 +361,7 @@ tmu: tmu@1f00000 {
#thermal-sensor-cells = <1>; #thermal-sensor-cells = <1>;
}; };
dspi: dspi@2100000 { dspi: spi@2100000 {
compatible = "fsl,ls1021a-v1.0-dspi"; compatible = "fsl,ls1021a-v1.0-dspi";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
...@@ -485,7 +485,7 @@ smmu: iommu@5000000 { ...@@ -485,7 +485,7 @@ smmu: iommu@5000000 {
mmu-masters = <&fsl_mc 0x300 0>; mmu-masters = <&fsl_mc 0x300 0>;
}; };
dspi: dspi@2100000 { dspi: spi@2100000 {
status = "disabled"; status = "disabled";
compatible = "fsl,ls2080a-dspi", "fsl,ls2085a-dspi"; compatible = "fsl,ls2080a-dspi", "fsl,ls2085a-dspi";
#address-cells = <1>; #address-cells = <1>;
...@@ -611,7 +611,7 @@ ifc: ifc@2240000 { ...@@ -611,7 +611,7 @@ ifc: ifc@2240000 {
3 0 0x5 0x20000000 0x00010000>; 3 0 0x5 0x20000000 0x00010000>;
}; };
qspi: quadspi@20c0000 { qspi: spi@20c0000 {
status = "disabled"; status = "disabled";
compatible = "fsl,ls2080a-qspi", "fsl,ls1021a-qspi"; compatible = "fsl,ls2080a-qspi", "fsl,ls1021a-qspi";
#address-cells = <1>; #address-cells = <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