use of fsl, in lite5200b.dts in git current

Jon Smirl jonsmirl at gmail.com
Thu Nov 8 08:55:23 EST 2007


Sometimes the fsl prefix is being used and sometimes it isn't. Look at
the two compatible strings. Which way is it going to be? Is
fsl,has-wdt right?

                mpc5200_pic: pic at 500 {
                        // 5200 interrupts are encoded into two levels;
                        interrupt-controller;
                        #interrupt-cells = <3>;
                        device_type = "interrupt-controller";
                        compatible = "mpc5200b-pic","mpc5200-pic";
                        reg = <500 80>;
                };

                gpt at 600 {       // General Purpose Timer
                        compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
                        cell-index = <0>;
                        reg = <600 10>;
                        interrupts = <1 9 0>;
                        interrupt-parent = <&mpc5200_pic>;
                        fsl,has-wdt;
                };
                rtc at 800 {       // Real time clock
                        compatible = "mpc5200b-rtc","mpc5200-rtc";
                        device_type = "rtc";
                        reg = <800 100>;
                        interrupts = <1 5 0 1 6 0>;
                        interrupt-parent = <&mpc5200_pic>;
                };



-- 
Jon Smirl
jonsmirl at gmail.com


More information about the Linuxppc-embedded mailing list