2019-05-27 14:55:15 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
2007-06-16 06:06:51 +08:00
|
|
|
/*
|
|
|
|
* PS3 Game Console device tree.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2007 Sony Computer Entertainment Inc.
|
|
|
|
* Copyright 2007 Sony Corp.
|
|
|
|
*/
|
|
|
|
|
2008-05-15 14:46:39 +08:00
|
|
|
/dts-v1/;
|
|
|
|
|
2007-06-16 06:06:51 +08:00
|
|
|
/ {
|
|
|
|
model = "SonyPS3";
|
|
|
|
compatible = "sony,ps3";
|
|
|
|
#size-cells = <2>;
|
|
|
|
#address-cells = <2>;
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
* We'll get the size of the bootmem block from lv1 after startup,
|
|
|
|
* so we'll put a null entry here.
|
|
|
|
*/
|
|
|
|
|
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
2008-05-15 14:46:39 +08:00
|
|
|
reg = <0x00000000 0x00000000 0x00000000 0x00000000>;
|
2007-06-16 06:06:51 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The boot cpu is always zero for PS3.
|
|
|
|
*
|
|
|
|
* dtc expects a clock-frequency and timebase-frequency entries, so
|
|
|
|
* we'll put a null entries here. These will be initialized after
|
|
|
|
* startup with data from lv1.
|
|
|
|
*
|
|
|
|
* Seems the only way currently to indicate a processor has multiple
|
|
|
|
* threads is with an ibm,ppc-interrupt-server#s entry. We'll put one
|
|
|
|
* here so we can bring up both of ours. See smp_setup_cpu_maps().
|
|
|
|
*/
|
|
|
|
|
|
|
|
cpus {
|
|
|
|
#size-cells = <0>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
2008-05-15 14:46:39 +08:00
|
|
|
reg = <0x00000000>;
|
|
|
|
ibm,ppc-interrupt-server#s = <0x0 0x1>;
|
2007-06-16 06:06:51 +08:00
|
|
|
clock-frequency = <0>;
|
|
|
|
timebase-frequency = <0>;
|
2008-05-15 14:46:39 +08:00
|
|
|
i-cache-size = <32768>;
|
|
|
|
d-cache-size = <32768>;
|
|
|
|
i-cache-line-size = <128>;
|
|
|
|
d-cache-line-size = <128>;
|
2007-06-16 06:06:51 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|