Author: pgf Date: Tue Aug 14 20:48:32 2012 New Revision: 3169 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3169
Log: twsi: cl4 has a zforce touchscreen
this ifdef (based on "cl2") isn't quite correct, in that while most cl2 boards with touchscreens have raydium screens, the recent cl4-a1 boards, which ofw refers to as cl2-a1, have zforce touchscreens. since we're still using the cl4-a1 boards, i'm disabling the ifdef for now. those boards won't be long-lived.
Modified: cpu/arm/mmp2/twsi.fth
Modified: cpu/arm/mmp2/twsi.fth ============================================================================== --- cpu/arm/mmp2/twsi.fth Tue Aug 14 20:48:29 2012 (r3168) +++ cpu/arm/mmp2/twsi.fth Tue Aug 14 20:48:32 2012 (r3169) @@ -202,11 +202,23 @@ my-address my-space 1 reg end-package
+[ifdef] soon-olpc-cl2 \ this breaks cl4-a1 boards, which ofw calls cl2. 0 0 " 30" " /i2c@d4033000" begin-package \ TWSI4 " touchscreen" name " raydium_ts" +compatible my-address my-space 1 reg end-package +[else] +0 0 " 50" " /i2c@d4033000" begin-package \ TWSI4 + " touchscreen" name + " zforce" +compatible + my-address my-space 1 reg + " reset-gpio" 1 d# 98 gpio-prop + " test-gpio" 1 d# 139 gpio-prop + " hd-gpio" 1 d# 12 gpio-prop + " dr-gpio" 1 d# 99 gpio-prop +end-package +[then]
0 0 " 19" " /i2c@d4034000" begin-package \ TWSI6 " accelerometer" name