machine check in kernel for a mpc870 board

Shawn Jin shawnxjin at gmail.com
Sat Jul 3 05:16:11 EST 2010


>> The chipselect? Isn't it just the child-bus-addr? BTW, do we have to
>> define the #address-cells to 2? 1 is not enough?
>
> The first cell of the child bus address is the chip select, the second
> cell is the offset into the chip select.

I see. So the #address-sells of 2 doesn't necessarily indicate the
address is 64 bits? Different processors can interpret it differently?
Where can I find such info? Is there any doc on this?

I have a question on the serial settings. Why does it locate at 0xa80?
According to MPC885RM.pdf, the SMC1's registers start from 0xa82. What
does the reg property specify here for SMC1, the first set of <0xa80
0x10> and the 2nd <0x3e80 0x40>?

                        console: serial at a80 {
                                device_type = "serial";
                                compatible = "fsl,mpc875-smc-uart",
                                             "fsl,cpm1-smc-uart";
                                reg = <0xa80 0x10 0x3e80 0x40>;
                                interrupts = <4>;
                                interrupt-parent = <&CPM_PIC>;
                                fsl,cpm-brg = <1>;
                                fsl,cpm-command = <0x0090>;
                                current-speed = <115200>;

Thanks a lot,
-Shawn.


More information about the Linuxppc-dev mailing list