diff --git a/arch/powerpc/boot/dts/ksi8560.dts 
b/arch/powerpc/boot/dts/ksi8560.dts
new file mode 100644
index 0000000..d6e8d8b
--- /dev/null
+++ b/arch/powerpc/boot/dts/ksi8560.dts
@@ -0,0 +1,269 @@
+/*
+ * Device Tree Source for Emerson KSI8560
+ *
+ * Author: Alexandr Smirnov <[EMAIL PROTECTED]>
+ *
+ * Based on mpc8560ads.dts
+ *
+ * 2008 (c) MontaVista, Software, Inc.  This file is licensed under
+ * the terms of the GNU General Public License version 2.  This program
+ * is licensed "as is" without any warranty of any kind, whether express
+ * or implied.
+ *
+ */
+
+/dts-v1/;
+
+/ {
+       model = "KSI8560";
+       compatible = "emerson,KSI8560";
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       aliases {
+               ethernet0 = &enet0;
+               ethernet1 = &enet1;
+               ethernet2 = &enet2;
+       };
+
+       cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               PowerPC,[EMAIL PROTECTED] {
+                       device_type = "cpu";
+                       reg = <0>;
+                       d-cache-line-size = <32>;
+                       i-cache-line-size = <32>;
+                       d-cache-size = <0x8000>;                /* L1, 32K */
+                       i-cache-size = <0x8000>;                /* L1, 32K */
+                       timebase-frequency = <0>;               /* From U-boot 
*/
+                       bus-frequency = <0>;                    /* From U-boot 
*/
+                       clock-frequency = <0>;                  /* From U-boot 
*/
+               };
+       };
+
+       memory {
+               device_type = "memory";
+               reg = <0x00000000 0x10000000>;                  /* Fixed by 
bootwrapper */
+       };
+
+       [EMAIL PROTECTED] {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               device_type = "soc";
+               ranges = <0x00000000 0xfdf00000 0x00100000>;
+               reg = <0xfdf00000 0x200>;
+               bus-frequency = <0>;                            /* Fixed by 
bootwrapper */
+
+               [EMAIL PROTECTED] {
+                       compatible = "fsl,8540-memory-controller";
+                       reg = <0x2000 0x1000>;
+                       interrupt-parent = <&MPIC>;
+                       interrupts = <0x12 0x2>;
+               };
+
+               [EMAIL PROTECTED] {
+                       compatible = "fsl,8540-l2-cache-controller";
+                       reg = <0x20000 0x1000>;
+                       cache-line-size = <0x20>;               /* 32 bytes */
+                       cache-size = <0x40000>;                 /* L2, 256K */
+                       interrupt-parent = <&MPIC>;
+                       interrupts = <0x10 0x2>;
+               };
+
+               [EMAIL PROTECTED] {
+                       device_type = "i2c";
+                       compatible = "fsl-i2c";
+                       reg = <0x3000 0x100>;
+                       interrupts = <0x2b 0x2>;
+                       interrupt-parent = <&MPIC>;
+                       dfsrr;
+               };
+
+               [EMAIL PROTECTED] {                                     /* For 
TSECs */
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       device_type = "mdio";
+                       compatible = "gianfar";
+                       reg = <0x24520 0x20>;
+
+                       PHY1: [EMAIL PROTECTED] {
+                               interrupt-parent = <&MPIC>;
+                               reg = <0x1>;
+                               device_type = "ethernet-phy";
+                       };
+
+                       PHY2: [EMAIL PROTECTED] {
+                               interrupt-parent = <&MPIC>;
+                               reg = <0x2>;
+                               device_type = "ethernet-phy";
+                       };
+               };
+
+               enet0: [EMAIL PROTECTED] {
+                       linux,network-index = <0>;
+                       device_type = "network";
+                       model = "TSEC";
+                       compatible = "gianfar";
+                       reg = <0x24000 0x1000>;
+                       /* Mac address filled in by bootwrapper */
+                       local-mac-address = [ 00 00 00 00 00 00 ];
+                       interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>;
+                       interrupt-parent = <&MPIC>;
+                       phy-handle = <&PHY1>;
+               };
+
+               enet1: [EMAIL PROTECTED] {
+                       linux,network-index = <1>;
+                       device_type = "network";
+                       model = "TSEC";
+                       compatible = "gianfar";
+                       reg = <0x25000 0x1000>;
+                       /* Mac address filled in by bootwrapper */
+                       local-mac-address = [ 00 00 00 00 00 00 ];
+                       interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>;
+                       interrupt-parent = <&MPIC>;
+                       phy-handle = <&PHY2>;
+               };
+
+               MPIC: [EMAIL PROTECTED] {
+                       #address-cells = <0>;
+                       #interrupt-cells = <2>;
+                       interrupt-controller;
+                       reg = <0x40000 0x40000>;
+                       device_type = "open-pic";
+               };
+
+               [EMAIL PROTECTED] {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
+                       reg = <0x919c0 0x30>;
+                       ranges;
+
+                       [EMAIL PROTECTED] {
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+                               ranges = <0x0 0x80000 0x10000>;
+
+                               [EMAIL PROTECTED] {
+                                       compatible = "fsl,cpm-muram-data";
+                                       reg = <0x0 0x4000 0x9000 0x2000>;
+                               };
+                       };
+
+                       [EMAIL PROTECTED] {
+                               compatible = "fsl,mpc8560-brg",
+                                            "fsl,cpm2-brg",
+                                            "fsl,cpm-brg";
+                               reg = <0x919f0 0x10 0x915f0 0x10>;
+                               clock-frequency = <165000000>;  /* 166MHz */
+                       };
+
+                       CPMPIC: [EMAIL PROTECTED] {
+                               #address-cells = <0>;
+                               #interrupt-cells = <2>;
+                               interrupt-controller;
+                               interrupts = <0x2e 0x2>;
+                               interrupt-parent = <&MPIC>;
+                               reg = <0x90c00 0x80>;
+                               compatible = "fsl,mpc8560-cpm-pic", 
"fsl,cpm2-pic";
+                       };
+
+                       [EMAIL PROTECTED] {
+                               device_type = "serial";
+                               compatible = "fsl,mpc8560-scc-uart",
+                                            "fsl,cpm2-scc-uart";
+                               reg = <0x91a00 0x20 0x88000 0x100>;
+                               fsl,cpm-brg = <1>;
+                               fsl,cpm-command = <0x800000>;
+                               current-speed = <0x1c200>;
+                               interrupts = <0x28 0x8>;
+                               interrupt-parent = <&CPMPIC>;
+                       };
+
+                       [EMAIL PROTECTED] {
+                               device_type = "serial";
+                               compatible = "fsl,mpc8560-scc-uart",
+                                            "fsl,cpm2-scc-uart";
+                               reg = <0x91a20 0x20 0x88100 0x100>;
+                               fsl,cpm-brg = <2>;
+                               fsl,cpm-command = <0x4a00000>;
+                               current-speed = <0x1c200>;
+                               interrupts = <0x29 0x8>;
+                               interrupt-parent = <&CPMPIC>;
+                       };
+
+                       [EMAIL PROTECTED] {                             /* For 
FCCs */
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               device_type = "mdio";
+                               compatible = "fsl,cpm2-mdio-bitbang";
+                               reg = <0x90d00 0x14>;
+                               fsl,mdio-pin = <24>;
+                               fsl,mdc-pin = <25>;
+
+                               PHY0: [EMAIL PROTECTED] {
+                                       interrupt-parent = <&MPIC>;
+                                       reg = <0x0>;
+                                       device_type = "ethernet-phy";
+                               };
+                       };
+
+                       enet2: [EMAIL PROTECTED] {
+                               linux,network-index = <2>;
+                               device_type = "network";
+                               compatible = "fsl,mpc8560-fcc-enet",
+                                            "fsl,cpm2-fcc-enet";
+                               reg = <0x91300 0x20 0x88400 0x100 0x91390 0x1>;
+                               /* Mac address filled in by bootwrapper */
+                               local-mac-address = [ 00 00 00 00 00 00 ];
+                               fsl,cpm-command = <0x12000300>;
+                               interrupts = <0x20 0x8>;
+                               interrupt-parent = <&CPMPIC>;
+                               phy-handle = <&PHY0>;
+                       };
+               };
+       };
+
+       [EMAIL PROTECTED] {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "fsl,mpc8560-localbus";
+               reg = <0xfdf05000 0x68>;
+
+               ranges = <0xe0000000 0xe0000000 0x00800000>;
+
+               [EMAIL PROTECTED] {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       compatible = "jedec-flash";
+                       reg = <0xe0000000 0x800000>;
+                       bank-width = <0x2>;
+
+                       [EMAIL PROTECTED] {
+                               label = "Primary Kernel";
+                               reg = <0x0 0x180000>;
+                       };
+                       [EMAIL PROTECTED] {
+                               label = "Primary Filesystem";
+                               reg = <0x180000 0x580000>;
+                       };
+                       [EMAIL PROTECTED] {
+                               label = "Monitor";
+                               reg = <0x300000 0x100000>;
+                               read-only;
+                       };
+               };
+       };
+
+       [EMAIL PROTECTED] {
+               compatible = "altera,maxii";
+               reg = <0xe8080000 0x80000>;
+       };
+
+       chosen {
+               linux,stdout-path = "/soc/cpm/[EMAIL PROTECTED]";
+       };
+};
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to