From: Anders Berg <anders.b...@lsi.com> Added missing 'bus' property to the I2C device tree nodes (simulation dts files). This is needed to get the I2C adapters numbered starting with 0.
Signed-off-by: Anders Berg <anders.b...@lsi.com> --- arch/arm/boot/dts/axm55xxsim.dts | 24 ++++++++---------------- arch/arm/boot/dts/axm55xxsim16.dts | 24 ++++++++---------------- 2 files changed, 16 insertions(+), 32 deletions(-) diff --git a/arch/arm/boot/dts/axm55xxsim.dts b/arch/arm/boot/dts/axm55xxsim.dts index b20b09a..511defa 100644 --- a/arch/arm/boot/dts/axm55xxsim.dts +++ b/arch/arm/boot/dts/axm55xxsim.dts @@ -306,45 +306,37 @@ I2C0: i2c@0x02010084000 { compatible = "lsi,api2c"; device_type = "i2c"; - enabled = <0>; - port = <0>; - /* bus_name = "auto"; */ - /* bus = <2>; */ reg = <0x20 0x10084000 0x00 0x1000>; interrupts = <0 19 4>; + bus = <0>; + enabled = <0>; }; I2C1: i2c@0x02010085000 { compatible = "lsi,api2c"; device_type = "i2c"; - enabled = <0>; - port = <1>; - /* bus_name = "auto"; */ - /* bus = <3>; */ reg = <0x20 0x10085000 0x00 0x1000>; interrupts = <0 20 4>; + bus = <1>; + enabled = <0>; }; I2C2: i2c@0x02010086000 { compatible = "lsi,api2c"; device_type = "i2c"; - enabled = <0>; - port = <2>; - /* bus_name = "auto"; */ - /* bus = <4>; */ reg = <0x20 0x10086000 0x00 0x1000>; interrupts = <0 21 4>; + bus = <2>; + enabled = <0>; }; SMB: i2c@0x02010087000 { compatible = "lsi,api2c"; device_type = "i2c"; - enabled = <0>; - port = <3>; - bus_name = "smb"; - /* bus = <5>; */ reg = <0x20 0x10087000 0x00 0x1000>; interrupts = <0 22 4>; + bus = <3>; + enabled = <0>; }; }; diff --git a/arch/arm/boot/dts/axm55xxsim16.dts b/arch/arm/boot/dts/axm55xxsim16.dts index 0ce2ff4..1ddba7c 100644 --- a/arch/arm/boot/dts/axm55xxsim16.dts +++ b/arch/arm/boot/dts/axm55xxsim16.dts @@ -390,45 +390,37 @@ I2C0: i2c@0x02010084000 { compatible = "lsi,api2c"; device_type = "i2c"; - enabled = <0>; - port = <0>; - /* bus_name = "auto"; */ - /* bus = <2>; */ reg = <0x20 0x10084000 0x00 0x1000>; interrupts = <0 19 4>; + bus = <0>; + enabled = <0>; }; I2C1: i2c@0x02010085000 { compatible = "lsi,api2c"; device_type = "i2c"; - enabled = <0>; - port = <1>; - /* bus_name = "auto"; */ - /* bus = <3>; */ reg = <0x20 0x10085000 0x00 0x1000>; interrupts = <0 20 4>; + bus = <1>; + enabled = <0>; }; I2C2: i2c@0x02010086000 { compatible = "lsi,api2c"; device_type = "i2c"; - enabled = <0>; - port = <2>; - /* bus_name = "auto"; */ - /* bus = <4>; */ reg = <0x20 0x10086000 0x00 0x1000>; interrupts = <0 21 4>; + bus = <2>; + enabled = <0>; }; SMB: i2c@0x02010087000 { compatible = "lsi,api2c"; device_type = "i2c"; - enabled = <0>; - port = <3>; - bus_name = "smb"; - /* bus = <5>; */ reg = <0x20 0x10087000 0x00 0x1000>; interrupts = <0 22 4>; + bus = <3>; + enabled = <0>; }; }; -- 1.7.9.5 -- _______________________________________________ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto