Re: New I2C and machine probing method
El dom, 16-07-2006 a las 15:45 +0200, Matthias Grimm escribió:
> I would appreciate any feedback.
$ cat /etc/debian_version
testing/unstable
$ uname -a
Linux malastrana 2.6.15-1-powerpc #2 Mon Mar 6 12:39:17 CET 2006 ppc
GNU/Linux
$ cat /proc/cpuinfo
processor : 0
cpu : 7447/7457, altivec supported
clock : 765MHz
revision : 0.1 (pvr 8002 0101)
bogomips : 508.92
machine : PowerBook5,2
motherboard : PowerBook5,2 MacRISC3 Power Macintosh
detected as : 287 (PowerBook G4 15")
pmac flags : 0000001b
L2 cache : 512K unified
memory : 512MB
pmac-generation : NewWorld
$ ./of_probing
Probing machine...
Machine: ID = 52
OF:
'/proc/device-tree/uni-n@f8000000/i2c@f8001000/lmu-controller@84/reg'
LMU: I2C address = 42
I2C: 'i2c-6', 'mac-io 0'
I2C: 'i2c-5', 'uni-n 1'
I2C: 'i2c-4', 'uni-n 0'
I2C: 'i2c-3', 'crt2'
I2C: 'i2c-2', 'vga'
I2C: 'i2c-1', 'dvi'
I2C: 'i2c-0', 'monid'
Reply to: