devicetree-discuss Digest, Vol 7, Issue 7
Christian Rund
Christian.Rund at de.ibm.com
Wed Jan 14 19:48:04 EST 2009
devicetree-discuss-bounces+christian.rund=de.ibm.com at ozlabs.org wrote on
14.01.2009 02:00:07:
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 13 Jan 2009 16:24:11 -0700
> From: "Grant Likely" <grant.likely at secretlab.ca>
> Subject: Re: Device Tree documentation discussion for Cell/B.E.
> binding DRAFT - see Digest, Vol 6, Issues 1, 7, 9, 10, 11
> To: "Christian Rund" <Christian.Rund at de.ibm.com>
> Cc: devicetree-discuss at ozlabs.org
> Message-ID:
> <fa686aa40901131524r1df29b32ybfb355ed039b2f86 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Tue, Jan 13, 2009 at 3:57 PM, Christian Rund
> <Christian.Rund at de.ibm.com> wrote:
> >
> > Working in all feedback I received so far below now find the new
version of
> > the
> > Cell/B.E. binding DRAFT including disclaimers etc. You'll find the
core
> > contents right below. Thanks.
>
> Thanks Christian; I'll take a read through. BTW, would it be possible
> to get a sample device tree dump that corresponds to this binding? It
> would help with the review.
Yes, sure. Here are the Cell/B.E. processor parts of the device tree
from an IBM BladeCenter QS22 product.
--- First Cell/B.E. processor ---
be at 20000000000:
name "be"
linux,phandle 0eae17a0 (246290336)
device_type "be"
model "IBM,CBEA"
ibm,dt-version "1.1"
#address-cells 00000001
#size-cells 00000001
reg 00000200 00000000 00000000 00800000
ranges 00000000 00000200 00000000 00800000
ibm,associativity 00000004 00000000 00000000 00000000 00000000
interrupt-parent 0eae1fb0 (246292400)
cpus 0eb05910 (246438160)
be at 20000000000/bic1 at 513000:
name "bic1"
linux,phandle 0eae3ae0 (246299360)
device_type "bic1"
reg 00513000 00001000
be at 20000000000/bic0 at 512000:
name "bic0"
linux,phandle 0eae39a0 (246299040)
device_type "bic0"
reg 00512000 00001000
be at 20000000000/ioc at 510000:
name "ioc"
linux,phandle 0eae3810 (246298640)
device_type "ioc"
reg 00510000 00001000 00511000 00001000
interrupts 003d010e (3997966)
be at 20000000000/mic-tm at 50a000:
name "mic-tm"
linux,phandle 0eae36d0 (246298320)
device_type "mic-tm"
reg 0050a000 00001000
be at 20000000000/pervasive at 509000:
name "pervasive"
linux,phandle 0eae33a0 (246297504)
device_type "pervasive"
reg 00509000 00001000
ppe-throttle-temp 00000065 (101)
ppe-end-throttle-temp 0000005b (91)
ppe-full-throttle-temp 0000007f (127)
spe-throttle-temp 00000065 (101)
spe-end-throttle-temp 0000005b (91)
spe-full-throttle-temp 0000006f (111)
be at 20000000000/ppe-mmio at 500000:
name "ppe-mmio"
linux,phandle 0eae3250 (246297168)
device_type "ppe-mmio"
reg 00500000 00001000
be at 20000000000/spe at 380000:
name "spe"
linux,phandle 0eae3060 (246296672)
device_type "spe"
reg 00380000 00040000 003c0000 00020000
003e0000 00020000 0040e000 00002000
physical-id 00000007
interrupts 0000000a 0000010a 0000020a
vicinity 0eae2c80 0eae39a0
be at 20000000000/spe at 300000:
name "spe"
linux,phandle 0eae2e70 (246296176)
device_type "spe"
reg 00300000 00040000 00340000 00020000
00360000 00020000 0040c000 00002000
physical-id 00000006
interrupts 00000001 00000101 00000201
vicinity 0eae2a90 0eae39a0
be at 20000000000/spe at 280000:
name "spe"
linux,phandle 0eae2c80 (246295680)
device_type "spe"
reg 00280000 00040000 002c0000 00020000
002e0000 00020000 0040a000 00002000
physical-id 00000005
interrupts 00000009 00000109 00000209
vicinity 0eae28a0 0eae3060
be at 20000000000/spe at 200000:
name "spe"
linux,phandle 0eae2a90 (246295184)
device_type "spe"
reg 00200000 00040000 00240000 00020000
00260000 00020000 00408000 00002000
physical-id 00000004
interrupts 00000002 00000102 00000202
vicinity 0eae26b0 0eae2e70
be at 20000000000/spe at 180000:
name "spe"
linux,phandle 0eae28a0 (246294688)
device_type "spe"
reg 00180000 00040000 001c0000 00020000
001e0000 00020000 00406000 00002000
physical-id 00000003
interrupts 00000008 00000108 00000208
vicinity 0eae24c0 0eae2c80
be at 20000000000/spe at 100000:
name "spe"
linux,phandle 0eae26b0 (246294192)
device_type "spe"
reg 00100000 00040000 00140000 00020000
00160000 00020000 00404000 00002000
physical-id 00000002
interrupts 00000003 00000103 00000203
vicinity 0eae22d0 0eae2a90
be at 20000000000/spe at 80000:
name "spe"
linux,phandle 0eae24c0 (246293696)
device_type "spe"
reg 00080000 00040000 000c0000 00020000
000e0000 00020000 00402000 00002000
physical-id 00000001
interrupts 00000007 00000107 00000207
vicinity 0eae28a0 0eae36d0
be at 20000000000/spe at 0:
name "spe"
linux,phandle 0eae22d0 (246293200)
device_type "spe"
reg 00000000 00040000 00040000 00020000
00060000 00020000 00400000 00002000
physical-id 00000000
interrupts 00000004 00000104 00000204
vicinity 0eae26b0 0eae36d0
be at 20000000000/interrupt-controller at 508400:
name "interrupt-controller"
linux,phandle 0eae1fb0 (246292400)
interrupt-controller
#interrupt-cells 00000001
device_type "CBEA-Internal-Interrupt-Controller"
compatible "IBM,CBEA-Internal-Interrupt-Controller"
ibm,interrupt-server-ranges 00000000 00000001
reg 00508400 00000020 00508420 00000020 00508000 00001000
--- Second Cell/B.E. processor ---
be at 20100000000:
name "be"
linux,phandle 0eaf3e48 (246365768)
device_type "be"
model "IBM,CBEA"
ibm,dt-version "1.1"
#address-cells 00000001
#size-cells 00000001
reg 00000201 00000000 00000000 00800000
ranges 00000000 00000201 00000000 00800000
ibm,associativity 00000004 00000000 00000000 00000001 00000001
interrupt-parent 0eaf4658 (246367832)
cpus 0eb065c0 (246441408)
be at 20100000000/bic1 at 513000:
name "bic1"
linux,phandle 0eaf6188 (246374792)
device_type "bic1"
reg 00513000 00001000
be at 20100000000/bic0 at 512000:
name "bic0"
linux,phandle 0eaf6048 (246374472)
device_type "bic0"
reg 00512000 00001000
be at 20100000000/ioc at 510000:
name "ioc"
linux,phandle 0eaf5eb8 (246374072)
device_type "ioc"
reg 00510000 00001000 00511000 00001000
interrupts 013d010e (20775182)
be at 20100000000/mic-tm at 50a000:
name "mic-tm"
linux,phandle 0eaf5d78 (246373752)
device_type "mic-tm"
reg 0050a000 00001000
be at 20100000000/pervasive at 509000:
name "pervasive"
linux,phandle 0eaf5a48 (246372936)
device_type "pervasive"
reg 00509000 00001000
ppe-throttle-temp 00000065 (101)
ppe-end-throttle-temp 0000005b (91)
ppe-full-throttle-temp 0000007f (127)
spe-throttle-temp 00000065 (101)
spe-end-throttle-temp 0000005b (91)
spe-full-throttle-temp 0000006f (111)
be at 20100000000/ppe-mmio at 500000:
name "ppe-mmio"
linux,phandle 0eaf58f8 (246372600)
device_type "ppe-mmio"
reg 00500000 00001000
be at 20100000000/spe at 380000:
name "spe"
linux,phandle 0eaf5708 (246372104)
device_type "spe"
reg 00380000 00040000 003c0000 00020000
003e0000 00020000 0040e000 00002000
physical-id 00000007
interrupts 0100000a 0100010a 0100020a
vicinity 0eaf5328 0eaf6048
be at 20100000000/spe at 300000:
name "spe"
linux,phandle 0eaf5518 (246371608)
device_type "spe"
reg 00300000 00040000 00340000 00020000
00360000 00020000 0040c000 00002000
physical-id 00000006
interrupts 01000001 01000101 01000201
vicinity 0eaf5138 0eaf6048
be at 20100000000/spe at 280000:
name "spe"
linux,phandle 0eaf5328 (246371112)
device_type "spe"
reg 00280000 00040000 002c0000 00020000
002e0000 00020000 0040a000 00002000
physical-id 00000005
interrupts 01000009 01000109 01000209
vicinity 0eaf4f48 0eaf5708
be at 20100000000/spe at 200000:
name "spe"
linux,phandle 0eaf5138 (246370616)
device_type "spe"
reg 00200000 00040000 00240000 00020000
00260000 00020000 00408000 00002000
physical-id 00000004
interrupts 01000002 01000102 01000202
vicinity 0eaf4d58 0eaf5518
be at 20100000000/spe at 180000:
name "spe"
linux,phandle 0eaf4f48 (246370120)
device_type "spe"
reg 00180000 00040000 001c0000 00020000
001e0000 00020000 00406000 00002000
physical-id 00000003
interrupts 01000008 01000108 01000208
vicinity 0eaf4b68 0eaf5328
be at 20100000000/spe at 100000:
name "spe"
linux,phandle 0eaf4d58 (246369624)
device_type "spe"
reg 00100000 00040000 00140000 00020000
00160000 00020000 00404000 00002000
physical-id 00000002
interrupts 01000003 01000103 01000203
vicinity 0eaf4978 0eaf5138
be at 20100000000/spe at 80000:
name "spe"
linux,phandle 0eaf4b68 (246369128)
device_type "spe"
reg 00080000 00040000 000c0000 00020000
000e0000 00020000 00402000 00002000
physical-id 00000001
interrupts 01000007 01000107 01000207
vicinity 0eaf4f48 0eaf5d78
be at 20100000000/spe at 0:
name "spe"
linux,phandle 0eaf4978 (246368632)
device_type "spe"
reg 00000000 00040000 00040000 00020000
00060000 00020000 00400000 00002000
physical-id 00000000
interrupts 01000004 01000104 01000204
vicinity 0eaf4d58 0eaf5d78
be at 20100000000/interrupt-controller at 508400:
name "interrupt-controller"
linux,phandle 0eaf4658 (246367832)
interrupt-controller
#interrupt-cells 00000001
device_type "CBEA-Internal-Interrupt-Controller"
compatible "IBM,CBEA-Internal-Interrupt-Controller"
ibm,interrupt-server-ranges 00000002 00000003
reg 00508400 00000020 00508420 00000020 00508000 00001000
------------------------------------------------------------------------------------------------
For reason of DT completeness for the Cell/B.E. processor I'm
adding the cpus/ subtree which is based on the PowerPC binding
documentation
which is *not part of the current discussions*.
(see http://playground.sun.com/1275/bindings/ppc/release/ppc-2_0.html)
cpus:
name "cpus"
linux,phandle 0eb056f8 (246437624)
#address-cells 00000001
#size-cells 00000000
cpus/PowerPC,BE at 1:
name "PowerPC,BE"
linux,phandle 0eb065c0 (246441408)
device_type "cpu"
reg 00000002
status "okay"
ibm,bpa
64-bit
cpu-version 00703000 (7352320)
d-cache-size 00008000 (32768)
d-cache-sets 00000002
d-cache-block-size 00000080 (128)
d-cache-line-size 00000080 (128)
i-cache-size 00008000 (32768)
i-cache-sets 00000002
i-cache-block-size 00000080 (128)
i-cache-line-size 00000080 (128)
clock-frequency bebc2000
timebase-frequency 0196dd73 (26664307)
ibm,associativity 00000004 00000000 00000000 00000001 00000001
ibm,ppc-interrupt-server#s 00000002 00000003
node-id 00000001
ioid 0000000e (14)
iic 00000201 00508000 00001000
ibm,segment-page-sizes 0000000c 00000000 00000001 0000000c 00000000
00000010 00000110 00000001 00000010 00000001
00000018 00000100 00000001 00000018 00000000
tlb-size 00000400 (1024)
tlb-sets 00000004
d-tlb-size 00000400 (1024)
d-tlb-sets 00000004
i-tlb-size 00000400 (1024)
i-tlb-sets 00000004
cpus/PowerPC,BE at 1/l2-cache:
name "l2-cache"
linux,phandle 0eb06f00 (246443776)
device_type "cache"
d-cache-size 00080000 (524288)
d-cache-sets 00000008
d-cache-line-size 00000080 (128)
i-cache-size 00080000 (524288)
i-cache-sets 00000008
i-cache-line-size 00000080 (128)
cache-unified
cpus/PowerPC,BE at 0:
name "PowerPC,BE"
linux,phandle 0eb05910 (246438160)
device_type "cpu"
reg 00000000
status "okay"
ibm,bpa
64-bit
cpu-version 00703000 (7352320)
d-cache-size 00008000 (32768)
d-cache-sets 00000002
d-cache-block-size 00000080 (128)
d-cache-line-size 00000080 (128)
i-cache-size 00008000 (32768)
i-cache-sets 00000002
i-cache-block-size 00000080 (128)
i-cache-line-size 00000080 (128)
clock-frequency bebc2000
timebase-frequency 0196dd73 (26664307)
ibm,associativity 00000004 00000000 00000000 00000000 00000000
ibm,ppc-interrupt-server#s 00000000 00000001
node-id 00000000
ioid 0000000e (14)
iic 00000200 00508000 00001000
ibm,segment-page-sizes 0000000c 00000000 00000001 0000000c 00000000
00000010 00000110 00000001 00000010 00000001
00000018 00000100 00000001 00000018 00000000
tlb-size 00000400 (1024)
tlb-sets 00000004
d-tlb-size 00000400 (1024)
d-tlb-sets 00000004
i-tlb-size 00000400 (1024)
i-tlb-sets 00000004
cpus/PowerPC,BE at 0/l2-cache:
name "l2-cache"
linux,phandle 0eb06250 (246440528)
device_type "cache"
d-cache-size 00080000 (524288)
d-cache-sets 00000008
d-cache-line-size 00000080 (128)
i-cache-size 00080000 (524288)
i-cache-sets 00000008
i-cache-line-size 00000080 (128)
cache-unified
>
> Thanks,
> g.
>
> --
> Grant Likely, B.Sc., P.Eng.
> Secret Lab Technologies Ltd.
>
>
> ------------------------------
>
> _______________________________________________
> devicetree-discuss mailing list
> devicetree-discuss at ozlabs.org
> https://ozlabs.org/mailman/listinfo/devicetree-discuss
>
>
> End of devicetree-discuss Digest, Vol 7, Issue 7
> ************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20090114/307299d3/attachment.htm>
More information about the devicetree-discuss
mailing list