linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Alan Bennett" <embedded@akb.net>
To: "Scott Wood" <scottwood@freescale.com>, linuxppc-dev@ozlabs.org
Subject: kernel update on mpc8248 muram definition?
Date: Thu, 15 Nov 2007 08:43:22 -0700	[thread overview]
Message-ID: <bfa0697f0711150743t440298cfsbce6f10b6fa39d73@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 5063 bytes --]

Hello;

  While working on i2c support, I've decided to update to a new kernel.  In
the process of doing this, I'm not sure I've properly configured the MURAM
node to my device tree (i.e. serial is broken again).  Also, does this, in
any way, change the way I offset the early debug transmit descriptor
address?

  I tried looking at your cpm tree on git.buserror.net, but it seems you've
taken it down?

-Alan

soc@e0000000 {
        #address-cells = <1>;
        #size-cells = <1>;
        device_type = "soc";
        compatible = "fsl,mpc8248", "fsl,pq2-soc";
        ranges = <00000000 e0000000 00053000>;

        // Temporary -- will go away once kernel uses ranges for
get_immrbase().
        reg = <e0000000 00053000>;

        cpm@119c0 {
            #address-cells = <1>;
            #size-cells = <1>;
            compatible = "fsl,mpc8248-cpm", "fsl,cpm2";
                        reg = <119c0 30>;
            ranges;

            muram@0 {
                #address-cells = <1>;
                #size-cells = <1>;
                ranges = <0 0 10000>;

                data@0 {
                    compatible = "fsl,cpm-muram-data";
                    reg = <0 2000 9800 800>;
                };
            };

            brg@119f0 {
                compatible = "fsl,mpc8272-brg",
                         "fsl,cpm2-brg",
                                             "fsl,cpm-brg";
                reg = <119f0 10 115f0 10>;
            };
            /* Monitor port/SMC1 */
            serial@11a80 {
                device_type = "serial";
                compatible = "fsl,mpc8248-smc-uart",
                                             "fsl,cpm2-smc-uart";
                reg = <11a80 20 0 40>;
                interrupts = <4 8>;
                interrupt-parent = <&PIC>;
                fsl,cpm-brg = <7>;
                fsl,cpm-command = <1d000000>;
            };
            /* "Serial" port/SCC1 */
            serial@11a00 {
                device_type = "serial";
                compatible = "fsl,mpc8248-scc-uart",
                                             "fsl,cpm2-scc-uart";
                reg = <11a00 20 8000 100>;
                interrupts = <28 8>;
                interrupt-parent = <&PIC>;
                fsl,cpm-brg = <1>;
                fsl,cpm-command = <00800000>;
                       };
                       /* "Serial" port/SCC4 */
                       serial@11a60 {
                device_type = "serial";
                compatible = "fsl,mpc8248-scc-uart",
                                             "fsl,cpm2-scc-uart";
                reg = <11a60 20 8300 100>;
                interrupts = <2B 8>;
                interrupt-parent = <&PIC>;
                fsl,cpm-brg = <4>;
                fsl,cpm-command = <0CE00000>;
                       };

                       ethernet@11300 {
                               device_type = "network";
                               compatible = "fsl,mpc8248-fcc-enet",
                                            "fsl,cpm2-fcc-enet";
                               reg = <11300 20 8400 100 11390 1>;
                               local-mac-address = [ 00 00 00 00 00 00 ];
                               interrupts = <20 8>;
                               interrupt-parent = <&PIC>;
                               phy-handle = <&PHY0>;
                               linux,network-index = <0>;
                               fsl,cpm-command = <12000300>;
                       };

                       ethernet@11320 {
                               device_type = "network";
                               compatible = "fsl,mpc8248-fcc-enet",
                                            "fsl,cpm2-fcc-enet";
                               reg = <11320 20 8500 100 113b0 1>;
                               local-mac-address = [ 00 00 00 00 00 00 ];
                               interrupts = <21 8>;
                               interrupt-parent = <&PIC>;
                               phy-handle = <&PHY1>;
                               linux,network-index = <1>;
                               fsl,cpm-command = <16200300>;
                       };

                       usb@11b60 {
                               #address-cells = <1>;
                               #size-cells = <0>;
                               compatible = "fsl,mpc8248-usb",
                                            "fsl,cpm2-usb";
                               reg = <11b60 18 8b00 100>;
                               interrupt-parent = <&PIC>;
                               interrupts = <b 8>;
                               fsl,cpm-command = <2e600000>;
                       };
               i2c@11860 {
                   compatible = "fsl,mpc8248-i2c",
                        "fsl,cpm2-i2c",
                        "fsl,cpm-i2c";
                   reg = <11860 20 3c80 30>;
                     interrupts = <1>;
                   interrupt-parent = <&PIC>;
                   fsl,cpm-command = <0010>;
               };

               };

[-- Attachment #2: Type: text/html, Size: 16181 bytes --]

             reply	other threads:[~2007-11-15 15:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-15 15:43 Alan Bennett [this message]
2007-11-15 17:30 ` kernel update on mpc8248 muram definition? Scott Wood

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bfa0697f0711150743t440298cfsbce6f10b6fa39d73@mail.gmail.com \
    --to=embedded@akb.net \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=scottwood@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).