1 // SPDX-License-Identifier: GPL-2.0-or-later << 2 /* 1 /* 3 * arch/powerpc/boot/dts/gamecube.dts 2 * arch/powerpc/boot/dts/gamecube.dts 4 * 3 * 5 * Nintendo GameCube platform device tree sour 4 * Nintendo GameCube platform device tree source 6 * Copyright (C) 2007-2009 The GameCube Linux 5 * Copyright (C) 2007-2009 The GameCube Linux Team 7 * Copyright (C) 2007,2008,2009 Albert Herranz 6 * Copyright (C) 2007,2008,2009 Albert Herranz >> 7 * >> 8 * This program is free software; you can redistribute it and/or >> 9 * modify it under the terms of the GNU General Public License >> 10 * as published by the Free Software Foundation; either version 2 >> 11 * of the License, or (at your option) any later version. >> 12 * 8 */ 13 */ 9 14 10 /dts-v1/; 15 /dts-v1/; 11 16 12 / { 17 / { 13 model = "nintendo,gamecube"; 18 model = "nintendo,gamecube"; 14 compatible = "nintendo,gamecube"; 19 compatible = "nintendo,gamecube"; 15 #address-cells = <1>; 20 #address-cells = <1>; 16 #size-cells = <1>; 21 #size-cells = <1>; 17 22 18 chosen { 23 chosen { 19 bootargs = "root=/dev/gcnsda2 24 bootargs = "root=/dev/gcnsda2 rootwait udbg-immortal"; 20 }; 25 }; 21 26 22 memory { 27 memory { 23 device_type = "memory"; 28 device_type = "memory"; 24 reg = <0x00000000 0x01800000>; 29 reg = <0x00000000 0x01800000>; 25 }; 30 }; 26 31 27 cpus { 32 cpus { 28 #address-cells = <1>; 33 #address-cells = <1>; 29 #size-cells = <0>; 34 #size-cells = <0>; 30 35 31 PowerPC,gekko@0 { 36 PowerPC,gekko@0 { 32 device_type = "cpu"; 37 device_type = "cpu"; 33 reg = <0>; 38 reg = <0>; 34 clock-frequency = <486 39 clock-frequency = <486000000>; /* 486MHz */ 35 bus-frequency = <16200 40 bus-frequency = <162000000>; /* 162MHz core-to-bus 3x */ 36 timebase-frequency = < 41 timebase-frequency = <40500000>; /* 162MHz / 4 */ 37 i-cache-line-size = <3 42 i-cache-line-size = <32>; 38 d-cache-line-size = <3 43 d-cache-line-size = <32>; 39 i-cache-size = <32768> 44 i-cache-size = <32768>; 40 d-cache-size = <32768> 45 d-cache-size = <32768>; 41 }; 46 }; 42 }; 47 }; 43 48 44 /* devices contained int the flipper c 49 /* devices contained int the flipper chipset */ 45 flipper { 50 flipper { 46 #address-cells = <1>; 51 #address-cells = <1>; 47 #size-cells = <1>; 52 #size-cells = <1>; 48 compatible = "nintendo,flipper 53 compatible = "nintendo,flipper"; 49 ranges = <0x0c000000 0x0c00000 54 ranges = <0x0c000000 0x0c000000 0x00010000>; 50 interrupt-parent = <&PIC>; 55 interrupt-parent = <&PIC>; 51 56 52 video@c002000 { !! 57 video@0c002000 { 53 compatible = "nintendo 58 compatible = "nintendo,flipper-vi"; 54 reg = <0x0c002000 0x10 59 reg = <0x0c002000 0x100>; 55 interrupts = <8>; 60 interrupts = <8>; 56 }; 61 }; 57 62 58 processor-interface@c003000 { !! 63 processor-interface@0c003000 { 59 compatible = "nintendo 64 compatible = "nintendo,flipper-pi"; 60 reg = <0x0c003000 0x10 65 reg = <0x0c003000 0x100>; 61 66 62 PIC: pic { 67 PIC: pic { 63 #interrupt-cel 68 #interrupt-cells = <1>; 64 compatible = " 69 compatible = "nintendo,flipper-pic"; 65 interrupt-cont 70 interrupt-controller; 66 }; 71 }; 67 }; 72 }; 68 73 69 dsp@c005000 { !! 74 dsp@0c005000 { 70 #address-cells = <1>; 75 #address-cells = <1>; 71 #size-cells = <1>; 76 #size-cells = <1>; 72 compatible = "nintendo 77 compatible = "nintendo,flipper-dsp"; 73 reg = <0x0c005000 0x20 78 reg = <0x0c005000 0x200>; 74 interrupts = <6>; 79 interrupts = <6>; 75 80 76 memory@0 { 81 memory@0 { 77 compatible = " 82 compatible = "nintendo,flipper-aram"; 78 reg = <0 0x100 83 reg = <0 0x1000000>; /* 16MB */ 79 }; 84 }; 80 }; 85 }; 81 86 82 disk@c006000 { !! 87 disk@0c006000 { 83 compatible = "nintendo 88 compatible = "nintendo,flipper-di"; 84 reg = <0x0c006000 0x40 89 reg = <0x0c006000 0x40>; 85 interrupts = <2>; 90 interrupts = <2>; 86 }; 91 }; 87 92 88 audio@c006c00 { !! 93 audio@0c006c00 { 89 compatible = "nintendo 94 compatible = "nintendo,flipper-ai"; 90 reg = <0x0c006c00 0x20 95 reg = <0x0c006c00 0x20>; 91 interrupts = <6>; 96 interrupts = <6>; 92 }; 97 }; 93 98 94 gamepad-controller@c006400 { !! 99 gamepad-controller@0c006400 { 95 compatible = "nintendo 100 compatible = "nintendo,flipper-si"; 96 reg = <0x0c006400 0x10 101 reg = <0x0c006400 0x100>; 97 interrupts = <3>; 102 interrupts = <3>; 98 }; 103 }; 99 104 100 /* External Interface bus */ 105 /* External Interface bus */ 101 exi@c006800 { !! 106 exi@0c006800 { 102 compatible = "nintendo 107 compatible = "nintendo,flipper-exi"; 103 reg = <0x0c006800 0x40 108 reg = <0x0c006800 0x40>; 104 virtual-reg = <0x0c006 109 virtual-reg = <0x0c006800>; 105 interrupts = <4>; 110 interrupts = <4>; 106 }; 111 }; 107 }; 112 }; 108 }; 113 }; 109 114
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.