2006-12-02 00:53:48 +03:00
|
|
|
/*
|
|
|
|
* Device Tree Souce for Buffalo KuroboxHG
|
|
|
|
*
|
|
|
|
* Choose CONFIG_LINKSTATION to build a kernel for KuroboxHG, or use
|
|
|
|
* the default configuration linkstation_defconfig.
|
|
|
|
*
|
|
|
|
* Based on sandpoint.dts
|
|
|
|
*
|
|
|
|
* 2006 (c) G. Liakhovetski <g.liakhovetski@gmx.de>
|
2008-04-17 18:40:48 +04:00
|
|
|
* Copyright 2008 Freescale Semiconductor, Inc.
|
2006-12-02 00:53:48 +03:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
|
|
|
|
XXXX add flash parts, rtc, ??
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2008-04-17 18:40:48 +04:00
|
|
|
/dts-v1/;
|
|
|
|
|
2006-12-02 00:53:48 +03:00
|
|
|
/ {
|
|
|
|
model = "KuroboxHG";
|
|
|
|
compatible = "linkstation";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
2007-12-12 10:46:12 +03:00
|
|
|
aliases {
|
|
|
|
serial0 = &serial0;
|
|
|
|
serial1 = &serial1;
|
|
|
|
pci0 = &pci0;
|
|
|
|
};
|
|
|
|
|
2006-12-02 00:53:48 +03:00
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
PowerPC,603e { /* Really 8241 */
|
|
|
|
device_type = "cpu";
|
2008-04-17 18:40:48 +04:00
|
|
|
reg = <0x0>;
|
|
|
|
clock-frequency = <266000000>; /* Fixed by bootloader */
|
|
|
|
timebase-frequency = <32522240>; /* Fixed by bootloader */
|
2007-07-22 02:43:11 +04:00
|
|
|
bus-frequency = <0>; /* Fixed by bootloader */
|
2006-12-02 00:53:48 +03:00
|
|
|
/* Following required by dtc but not used */
|
2008-04-17 18:40:48 +04:00
|
|
|
i-cache-size = <0x4000>;
|
|
|
|
d-cache-size = <0x4000>;
|
2006-12-02 00:53:48 +03:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
2008-04-17 18:40:48 +04:00
|
|
|
reg = <0x0 0x8000000>;
|
2006-12-02 00:53:48 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
soc10x { /* AFAICT need to make soc for 8245's uarts to be defined */
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
device_type = "soc";
|
|
|
|
compatible = "mpc10x";
|
|
|
|
store-gathering = <0>; /* 0 == off, !0 == on */
|
2008-04-17 18:40:48 +04:00
|
|
|
reg = <0x80000000 0x100000>;
|
|
|
|
ranges = <0x80000000 0x80000000 0x70000000 /* pci mem space */
|
|
|
|
0xfc000000 0xfc000000 0x100000 /* EUMB */
|
|
|
|
0xfe000000 0xfe000000 0xc00000 /* pci i/o space */
|
|
|
|
0xfec00000 0xfec00000 0x300000 /* pci cfg regs */
|
|
|
|
0xfef00000 0xfef00000 0x100000>; /* pci iack */
|
2006-12-02 00:53:48 +03:00
|
|
|
|
|
|
|
i2c@80003000 {
|
2007-07-22 02:43:11 +04:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2007-12-12 08:17:24 +03:00
|
|
|
cell-index = <0>;
|
2006-12-02 00:53:48 +03:00
|
|
|
compatible = "fsl-i2c";
|
2008-04-17 18:40:48 +04:00
|
|
|
reg = <0x80003000 0x1000>;
|
2006-12-02 00:53:48 +03:00
|
|
|
interrupts = <5 2>;
|
2007-05-16 01:12:27 +04:00
|
|
|
interrupt-parent = <&mpic>;
|
2007-07-22 02:43:11 +04:00
|
|
|
|
|
|
|
rtc@32 {
|
2007-08-26 02:08:11 +04:00
|
|
|
compatible = "ricoh,rs5c372a";
|
2008-04-17 18:40:48 +04:00
|
|
|
reg = <0x32>;
|
2007-07-22 02:43:11 +04:00
|
|
|
};
|
2006-12-02 00:53:48 +03:00
|
|
|
};
|
|
|
|
|
2007-12-12 10:46:12 +03:00
|
|
|
serial0: serial@80004500 {
|
|
|
|
cell-index = <0>;
|
2006-12-02 00:53:48 +03:00
|
|
|
device_type = "serial";
|
|
|
|
compatible = "ns16550";
|
2008-04-17 18:40:48 +04:00
|
|
|
reg = <0x80004500 0x8>;
|
|
|
|
clock-frequency = <130041000>;
|
|
|
|
current-speed = <9600>;
|
2007-08-26 02:08:11 +04:00
|
|
|
interrupts = <9 0>;
|
2007-05-16 01:12:27 +04:00
|
|
|
interrupt-parent = <&mpic>;
|
2006-12-02 00:53:48 +03:00
|
|
|
};
|
|
|
|
|
2007-12-12 10:46:12 +03:00
|
|
|
serial1: serial@80004600 {
|
|
|
|
cell-index = <1>;
|
2006-12-02 00:53:48 +03:00
|
|
|
device_type = "serial";
|
|
|
|
compatible = "ns16550";
|
2008-04-17 18:40:48 +04:00
|
|
|
reg = <0x80004600 0x8>;
|
|
|
|
clock-frequency = <130041000>;
|
|
|
|
current-speed = <57600>;
|
|
|
|
interrupts = <10 0>;
|
2007-05-16 01:12:27 +04:00
|
|
|
interrupt-parent = <&mpic>;
|
2006-12-02 00:53:48 +03:00
|
|
|
};
|
|
|
|
|
2007-07-22 02:43:11 +04:00
|
|
|
mpic: interrupt-controller@80040000 {
|
2006-12-02 00:53:48 +03:00
|
|
|
#interrupt-cells = <2>;
|
|
|
|
#address-cells = <0>;
|
|
|
|
device_type = "open-pic";
|
|
|
|
compatible = "chrp,open-pic";
|
|
|
|
interrupt-controller;
|
2008-04-17 18:40:48 +04:00
|
|
|
reg = <0x80040000 0x40000>;
|
2006-12-02 00:53:48 +03:00
|
|
|
};
|
|
|
|
|
2007-12-12 10:46:12 +03:00
|
|
|
pci0: pci@fec00000 {
|
2006-12-02 00:53:48 +03:00
|
|
|
#address-cells = <3>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
device_type = "pci";
|
|
|
|
compatible = "mpc10x-pci";
|
2008-04-17 18:40:48 +04:00
|
|
|
reg = <0xfec00000 0x400000>;
|
|
|
|
ranges = <0x1000000 0x0 0x0 0xfe000000 0x0 0xc00000
|
|
|
|
0x2000000 0x0 0x80000000 0x80000000 0x0 0x70000000>;
|
|
|
|
bus-range = <0 255>;
|
|
|
|
clock-frequency = <133333333>;
|
2007-05-16 01:12:27 +04:00
|
|
|
interrupt-parent = <&mpic>;
|
2008-04-17 18:40:48 +04:00
|
|
|
interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
|
2006-12-02 00:53:48 +03:00
|
|
|
interrupt-map = <
|
2007-04-22 01:24:04 +04:00
|
|
|
/* IDSEL 11 - IRQ0 ETH */
|
2008-04-17 18:40:48 +04:00
|
|
|
0x5800 0x0 0x0 0x1 &mpic 0x0 0x1
|
|
|
|
0x5800 0x0 0x0 0x2 &mpic 0x1 0x1
|
|
|
|
0x5800 0x0 0x0 0x3 &mpic 0x2 0x1
|
|
|
|
0x5800 0x0 0x0 0x4 &mpic 0x3 0x1
|
2007-04-22 01:24:04 +04:00
|
|
|
/* IDSEL 12 - IRQ1 IDE0 */
|
2008-04-17 18:40:48 +04:00
|
|
|
0x6000 0x0 0x0 0x1 &mpic 0x1 0x1
|
|
|
|
0x6000 0x0 0x0 0x2 &mpic 0x2 0x1
|
|
|
|
0x6000 0x0 0x0 0x3 &mpic 0x3 0x1
|
|
|
|
0x6000 0x0 0x0 0x4 &mpic 0x0 0x1
|
2007-04-22 01:24:04 +04:00
|
|
|
/* IDSEL 14 - IRQ3 USB2.0 */
|
2008-04-17 18:40:48 +04:00
|
|
|
0x7000 0x0 0x0 0x1 &mpic 0x3 0x1
|
|
|
|
0x7000 0x0 0x0 0x2 &mpic 0x3 0x1
|
|
|
|
0x7000 0x0 0x0 0x3 &mpic 0x3 0x1
|
|
|
|
0x7000 0x0 0x0 0x4 &mpic 0x3 0x1
|
2006-12-02 00:53:48 +03:00
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|