Author: wmb Date: Thu Sep 27 02:45:13 2012 New Revision: 3334 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3334
Log: OLPC ARM - Added aliases for I2C devices so the support for short-lived "linux,unit#" property can be removed from the kernel patch set.
Modified: cpu/arm/olpc/twsi-i2c.fth
Modified: cpu/arm/olpc/twsi-i2c.fth ============================================================================== --- cpu/arm/olpc/twsi-i2c.fth Thu Sep 27 02:43:10 2012 (r3333) +++ cpu/arm/olpc/twsi-i2c.fth Thu Sep 27 02:45:13 2012 (r3334) @@ -12,6 +12,11 @@ \ h# d4038000 d# 30 3 true true N fload ${BP}/cpu/arm/mmp2/twsi-node.fth \ TWSI5 h# d4034000 d# 31 4 true true 4 fload ${BP}/cpu/arm/mmp2/twsi-node.fth \ TWSI6
+devalias i2c2 /i2c@d4011000 +devalias i2c3 /i2c@d4031000 +devalias i2c5 /i2c@d4033000 +devalias i2c4 /i2c@d4034000 + [ifdef] soon-olpc-cl2 \ this breaks cl4-a1 boards, which ofw calls cl2. dev /i2c@d4033000 \ TWSI4 new-device
openfirmware@openfirmware.info