Changeset 3259


Ignore:
Timestamp:
Aug 30, 2012, 11:52:44 PM (3 years ago)
Author:
wmb
Message:

OLPC ARM - Now that all TWSI child devices have been converted to use the new factoring, removed the old top-level /twsi node from the device tree and removed the global TWSI driver code. The only global references to twsi are now in the suspend/resume code (to be fixed) and an incidental one in MFPR pin attributes.

Location:
cpu/arm/olpc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/olpc/build-fw.fth

    r3241 r3259  
    1111   acgr-clocks-on
    1212   init-timers
    13    init-twsi
    1413;
    1514warning @ warning off
  • cpu/arm/olpc/prefw.fth

    r3255 r3259  
    230230fload ${BP}/cpu/arm/mmp2/timer.fth
    231231fload ${BP}/cpu/arm/mmp2/gpio.fth
    232 fload ${BP}/cpu/arm/mmp2/twsi.fth
    233232fload ${BP}/cpu/arm/mmp2/mfpr.fth
    234233
  • cpu/arm/olpc/twsi-i2c.fth

    r3257 r3259  
    11purpose: Device tree nodes for board-specific I2C buses implemented by TWSI hardware
    22
    3 : make-twsi-node  " ${BP}/cpu/arm/mmp2/twsi-node.fth" included  ;
     3\ We omit nodes for unconnected TWSI channels
     4\ The unit# properties are chosen so that GPIO I2C nodes get lower addresses.
     5\ Some Linux drivers expect to find devices on specific I2C bus numbers.
    46
    57\     baseadr   clk irq mux? fast? unit#
    6   h# d4011000     1   7 false true     2 make-twsi-node  \ TWSI1
    7   h# d4031000     2   0 true  true     3 make-twsi-node  \ TWSI2
    8 \ h# d4032000     3   1 true  true     N make-twsi-node  \ TWSI3
    9   h# d4033000     4   2 true  true     5 make-twsi-node  \ TWSI4
    10 \ h# d4038000 d# 30   3 true  true     N make-twsi-node  \ TWSI5
    11   h# d4034000 d# 31   4 true  true     4 make-twsi-node  \ TWSI6
     8  h# d4011000     1   7 false true  2 fload ${BP}/cpu/arm/mmp2/twsi-node.fth  \ TWSI1
     9  h# d4031000     2   0 true  true  3 fload ${BP}/cpu/arm/mmp2/twsi-node.fth  \ TWSI2
     10\ h# d4032000     3   1 true  true  N fload ${BP}/cpu/arm/mmp2/twsi-node.fth  \ TWSI3
     11  h# d4033000     4   2 true  true  5 fload ${BP}/cpu/arm/mmp2/twsi-node.fth  \ TWSI4
     12\ h# d4038000 d# 30   3 true  true  N fload ${BP}/cpu/arm/mmp2/twsi-node.fth  \ TWSI5
     13  h# d4034000 d# 31   4 true  true  4 fload ${BP}/cpu/arm/mmp2/twsi-node.fth  \ TWSI6
    1214
    1315[ifdef] soon-olpc-cl2  \ this breaks cl4-a1 boards, which ofw calls cl2.
Note: See TracChangeset for help on using the changeset viewer.