[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

PB 5,6 results for: New I2C and machine probing method



On Sat, Jul 22, 2006 at 12:04:34PM +0200, Elimar Riesebieter wrote:

> $ cat /proc/cpuinfo
> processor	: 0
> cpu		: 7447A, altivec supported
> clock		: 833.333000MHz
> revision	: 0.2 (pvr 8003 0102)
> bogomips	: 36.73
> timebase	: 18432000
> platform	: PowerMac
> machine		: PowerBook5,6
> motherboard	: PowerBook5,6 MacRISC3 Power Macintosh 
> detected as	: 287 (PowerBook G4 15")
> pmac flags	: 0000001b
> L2 cache	: 512K unified
> pmac-generation	: NewWorld

I can confirm Elimar's findings:

processor       : 0
cpu             : 7447A, altivec supported
clock           : 749.999000MHz
revision        : 0.2 (pvr 8003 0102)
bogomips        : 36.73
timebase        : 18432000
platform        : PowerMac
machine         : PowerBook5,6
motherboard     : PowerBook5,6 MacRISC3 Power Macintosh
detected as     : 287 (PowerBook G4 15")
pmac flags      : 0000001b
L2 cache        : 512K unified
pmac-generation : NewWorld

> $ ./of_probing
> 
> Probing machine...
>   Machine: ID = 56 -> PowerBook G4 15" (Feb 2005)
>   OF: '/proc/device-tree/uni-n@f8000000/i2c@f8001000/i2c-bus@0/lmu-micro@84/reg'
>   LMU: I2C address = 42 
>   I2C: 'i2c-8', 'uni-n 1'  probing /dev/i2c-8 ...
>   I2C: 'i2c-7', 'uni-n 0'  probing /dev/i2c-7 ... gotcha, this is the LMU device
>   I2C: 'i2c-6', 'mac-io 0'
>   I2C: 'i2c-5', 'pmu 1'
>   I2C: 'i2c-4', 'pmu 2'
>   I2C: 'i2c-3', 'crt2'
>   I2C: 'i2c-2', 'vga'
>   I2C: 'i2c-1', 'dvi'
>   I2C: 'i2c-0', 'monid'

Probing machine...
  Machine: ID = 56 -> PowerBook G4 15" (Feb 2005)
  OF: '/proc/device-tree/uni-n@f8000000/i2c@f8001000/i2c-bus@0/lmu-micro@84/reg'
  LMU: I2C address = 42
  I2C: 'i2c-8', 'uni-n 1'  probing /dev/i2c-8 ...
  I2C: 'i2c-7', 'uni-n 0'  probing /dev/i2c-7 ... gotcha, this is the LMU device
  I2C: 'i2c-6', 'mac-io 0'
  I2C: 'i2c-5', 'pmu 1'
  I2C: 'i2c-4', 'pmu 2'
  I2C: 'i2c-3', 'crt2'
  I2C: 'i2c-2', 'vga'
  I2C: 'i2c-1', 'dvi'
  I2C: 'i2c-0', 'monid'

Attachment: pgpEVRMmmeSdp.pgp
Description: PGP signature


Reply to: