Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * arch/powerpc/boot/dts/gamecube.dts
0004  *
0005  * Nintendo GameCube platform device tree source
0006  * Copyright (C) 2007-2009 The GameCube Linux Team
0007  * Copyright (C) 2007,2008,2009 Albert Herranz
0008  */
0009 
0010 /dts-v1/;
0011 
0012 / {
0013         model = "nintendo,gamecube";
0014         compatible = "nintendo,gamecube";
0015         #address-cells = <1>;
0016         #size-cells = <1>;
0017 
0018         chosen {
0019                 bootargs = "root=/dev/gcnsda2 rootwait udbg-immortal";
0020         };
0021 
0022         memory {
0023                 device_type = "memory";
0024                 reg = <0x00000000 0x01800000>;
0025         };
0026 
0027         cpus {
0028                 #address-cells = <1>;
0029                 #size-cells = <0>;
0030 
0031                 PowerPC,gekko@0 {
0032                         device_type = "cpu";
0033                         reg = <0>;
0034                         clock-frequency = <486000000>; /* 486MHz */
0035                         bus-frequency = <162000000>; /* 162MHz core-to-bus 3x */
0036                         timebase-frequency = <40500000>; /* 162MHz / 4 */
0037                         i-cache-line-size = <32>;
0038                         d-cache-line-size = <32>;
0039                         i-cache-size = <32768>;
0040                         d-cache-size = <32768>;
0041                 };
0042         };
0043 
0044         /* devices contained int the flipper chipset */
0045         flipper {
0046                 #address-cells = <1>;
0047                 #size-cells = <1>;
0048                 compatible = "nintendo,flipper";
0049                 ranges = <0x0c000000 0x0c000000 0x00010000>;
0050                 interrupt-parent = <&PIC>;
0051 
0052                 video@c002000 {
0053                         compatible = "nintendo,flipper-vi";
0054                         reg = <0x0c002000 0x100>;
0055                         interrupts = <8>;
0056                 };
0057 
0058                 processor-interface@c003000 {
0059                         compatible = "nintendo,flipper-pi";
0060                         reg = <0x0c003000 0x100>;
0061 
0062                         PIC: pic {
0063                                 #interrupt-cells = <1>;
0064                                 compatible = "nintendo,flipper-pic";
0065                                 interrupt-controller;
0066                         };
0067                 };
0068 
0069                 dsp@c005000 {
0070                         #address-cells = <1>;
0071                         #size-cells = <1>;
0072                         compatible = "nintendo,flipper-dsp";
0073                         reg = <0x0c005000 0x200>;
0074                         interrupts = <6>;
0075 
0076                         memory@0 {
0077                                 compatible = "nintendo,flipper-aram";
0078                                 reg = <0 0x1000000>;    /* 16MB */
0079                         };
0080                 };
0081 
0082                 disk@c006000 {
0083                         compatible = "nintendo,flipper-di";
0084                         reg = <0x0c006000 0x40>;
0085                         interrupts = <2>;
0086                 };
0087 
0088                 audio@c006c00 {
0089                         compatible = "nintendo,flipper-ai";
0090                         reg = <0x0c006c00 0x20>;
0091                         interrupts = <6>;
0092                 };
0093 
0094                 gamepad-controller@c006400 {
0095                         compatible = "nintendo,flipper-si";
0096                         reg = <0x0c006400 0x100>;
0097                         interrupts = <3>;
0098                 };
0099 
0100                 /* External Interface bus */
0101                 exi@c006800 {
0102                         compatible = "nintendo,flipper-exi";
0103                         reg = <0x0c006800 0x40>;
0104                         virtual-reg = <0x0c006800>;
0105                         interrupts = <4>;
0106                 };
0107         };
0108 };
0109