/* * Device Tree Souce for kvme080 * * Copyright 2007 Sangmoon Kim . * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ / { model = "kvme080"; compatible = "kvme080"; #address-cells = <1>; #size-cells = <1>; cpus { #cpus = <1>; #address-cells = <1>; #size-cells = <0>; PowerPC,8245@0 { device_type = "cpu"; reg = <0>; i-cache-line-size = <20>; d-cache-line-size = <20>; i-cache-size = <4000>; d-cache-size = <4000>; timebase-frequency = <1A0446>; // from bootloader clock-frequency = <140801C>; // from bootloader }; }; memory { device_type = "memory"; reg = <00000000 02000000>; // 32M at 0x0 }; soc8245@fc000000 { device_type = "soc"; compatible = "mpc10x"; store-gathering = <0>; /* 0 == off, !0 == on */ ranges = <80000000 80000000 70000000 // pci mem space fc000000 fc000000 00c00000 // pci i/o space (EUMB) fcc00000 fcc00000 00300000 // pci cfg regs fcf00000 fcf00000 00100000 // pci iack fc004500 fc004500 00000200>; // UARTs reg = ; #address-cells = <1>; #size-cells = <1>; #interrupt-cells = <2>; i2c@fc003000 { device_type = "i2c"; compatible = "fsl-i2c"; //clock-frequency = <0>; reg = ; interrupts = <32 0>; interrupt-parent = <40000>; #address-cells = <1>; #size-cells = <1>; #interrupt-cells = <1>; }; pic@fc040000 { device_type = "open-pic"; compatible = "chrp,open-pic"; interrupt-controller; reg = ; clock-frequency = <0>; serial-mode = <1>; built-in; linux,phandle = <40000>; #interrupt-cells = <2>; #address-cells = <0>; }; pci@fcc00000 { device_type = "pci"; //compatible = "8245"; compatible = "mpc10x-pci"; reg = ; ranges = <01000000 0 0 fc000000 0 00c00000 02000000 0 80000000 80000000 0 70000000>; bus-range = <0 ff>; interrupt-parent = <40000>; interrupt-map-mask = ; interrupt-map = < /* IDSEL 11 - IRQ0 ETH */ 5800 0 0 1 4400 0 1 5800 0 0 2 4400 1 1 5800 0 0 3 4400 2 1 5800 0 0 4 4400 3 1 /* IDSEL 12 - IRQ1 IDE0 */ 6000 0 0 1 4400 1 1 6000 0 0 2 4400 2 1 6000 0 0 3 4400 3 1 6000 0 0 4 4400 0 1 /* IDSEL 13 - IRQ2 IDE0 */ 6800 0 0 1 4400 2 1 6800 0 0 2 4400 2 1 6800 0 0 3 4400 3 1 6800 0 0 4 4400 0 1 /* IDSEL 14 - IRQ3 USB2.0 */ 7000 0 0 1 4400 3 1 7000 0 0 2 4400 3 1 7000 0 0 3 4400 3 1 7000 0 0 4 4400 3 1 /* IDSEL 15 - IRQ3 ADM983 */ 7000 0 0 1 4400 3 1 7000 0 0 2 4400 3 1 7000 0 0 3 4400 3 1 7000 0 0 4 4400 3 1 // IDSEL 16 8000 0 0 1 40000 0 1 8000 0 0 2 40000 1 1 8000 0 0 3 40000 2 1 8000 0 0 4 40000 3 1 // IDSEL 17 8800 0 0 1 40000 1 1 8800 0 0 2 40000 2 1 8800 0 0 3 40000 3 1 8800 0 0 4 40000 4 1 // IDSEL 18 9000 0 0 1 40000 2 1 9000 0 0 2 40000 3 1 9000 0 0 3 40000 4 1 9000 0 0 4 40000 0 1 // IDSEL 19 9800 0 0 1 40000 3 1 9800 0 0 2 40000 4 1 9800 0 0 3 40000 0 1 9800 0 0 4 40000 1 1 // IDSEL 20 a000 0 0 1 40000 4 1 a000 0 0 2 40000 0 1 a000 0 0 3 40000 1 1 a000 0 0 4 40000 2 1 >; #address-cells = <3>; #size-cells = <2>; #interrupt-cells = <1>; }; serial@fc004500 { device_type = "serial"; compatible = "ns16550"; reg = ; clock-frequency = <0>; // e10000,5d08d88 current-speed = <1c200>; // 2580 interrupts = <5 1>; interrupt-parent = <40000>; }; serial@fc004600 { device_type = "serial"; compatible = "ns16550"; reg = ; clock-frequency = <0>; current-speed = <1c200>; interrupts = <5 1>; interrupt-parent = <40000>; }; }; };