Bug 199837 - incorrect i2c3 address in imx6.dtsi
Summary: incorrect i2c3 address in imx6.dtsi
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: arm Any
: --- Affects Some People
Assignee: freebsd-arm (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-01 11:27 UTC by waitman
Modified: 2015-05-03 19:33 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description waitman 2015-05-01 11:27:07 UTC
i2c3 is at 021a8000, not 021ac000. 

358                         i2c3: i2c@021ac000 {
359                                 compatible = "fsl,imx6q-i2c";
360                                 reg = <0x021a8000 0x4000>;
361                                 interrupts = < 70 >;
362                                 status = "disabled";
363                         };

Please update line 358 in 
/usr/src/sys/boot/fdt/dts/arm/imx6.dtsi 

"i2c3: i2c@021a8000"

imx6 layout:
021AC000 - 021AFFFF  AIPS-2 (OPACR11) ROMCP 16 KB
021A8000 - 021ABFFF  AIPS-2 (OPACR10) I2C3 16 KB

Thank you.
Comment 1 Ian Lepore freebsd_committer freebsd_triage 2015-05-03 19:33:31 UTC
This file is obsolete and is not being maintained.  It exists only for compatibility with old config.  The correct fix is to switch to using the proper dts files for imx6, which are located in the sys/gnu directory, not sys/boot.  For wandboard, the old->new name mappings are:

 wandboard-solo.dts -> imx6dl-wandboard.dts
 wandboard-dual.dts -> imx6dl-wandboard.dts
 wandboard-quad.dts ->imxq-wandboard.dts