Blame view

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