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