aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/files/qemu.dtsi
blob: 7f85d2c49fb50d7a4a6581349584d542c6173cf4 (plain)
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
	memory {
		device_type = "memory";
		reg = <0x0 0x40000000>;
	};

	amba@0 {
		compatible = "simple-bus";
		#address-cells = <0x1>;
		#size-cells = <0x1>;
		ranges;

		intc: intc@f8f01000 {
			interrupt-controller;
			compatible = "arm,cortex-a9-gic";
			reg = <0xf8f01000 0x1000>,<0xf8f00100 0x0100>;
			#interrupt-cells = <0x3>;
                       	#address-cells = <1>;

			linux,phandle = <0x1>;
			phandle = <0x1>;
		};

                slcr: slcr@f8000000 {  
                        compatible = "xlnx,ps7-slcr-1.00.a";
                        reg = <0xF8000000 0x1000>;
                };

		devcfg@f8007000 {
			compatible = "xlnx,ps7-dev-cfg-1.00.a";
			reg = <0xf8007000 0x100>;
			interrupts = <0 0x8 0x4>;
		};

		uart0@e0001000 {
			compatible = "xlnx,ps7-uart-1.00.a";
			reg = <0xe0001000 0x1000>;
			interrupts = <0 50 0x04>;
			clock = <0x2faf080>;
		};

		uart1@e0000000 {
			compatible = "xlnx,ps7-uart-1.00.a";
			reg = <0xe0000000 0x1000>;
			interrupts = <0 27 0x04>;
			clock = <0x2faf080>;
		};

		timer@0xf8001000 {
			compatible = "xlnx,ps7-ttc-1.00.a";
			reg = <0xf8001000 0x1000>;
			interrupts = <0x0 0x0a 0x04>,<0x0 0x0b 0x04>,<0x0 0x0c 0x04>;
			clock-frequency-timer0 = <111111111>;
			clock-frequency-timer1 = <111111111>;
			clock-frequency-timer2 = <111111111>;
		};

		eth@e000b000 {
			compatible = "xlnx,ps7-ethernet-1.00.a";
			reg = <0xe000b000 0x1000>;
			interrupts = <0 0x16 0x4>;
			phy-handle = <0x2>;
			xlnx,ptp-enet-clock = <111111111>;
			xlnx,slcr-div0-1000Mbps = <8>;
			xlnx,slcr-div0-100Mbps = <8>;
			xlnx,slcr-div0-10Mbps = <8>;
			xlnx,slcr-div1-1000Mbps = <1>;
			xlnx,slcr-div1-100Mbps = <5>;
			xlnx,slcr-div1-10Mbps = <50>;
			#address-cells = <0x1>;
			#size-cells = <0x0>;

			phy@23 {
				compatible = "marvell,88e1111";
				device_type = "ethernet-phy";
				reg = <23>;
				marvell,reg-init = <0x2 0x15 0x0 0x20>;
				linux,phandle = <0x2>;
				phandle = <0x2>;
			};
		};


/*host only, otg and peripheral not emulated*/
		usb@e0003000 {
			compatible = "xlnx,ps7-usb-1.00.a";
			reg = <0xe0003000 0x1000>;
			interrupts = <0x0 0x2c 0x4>;
			dr_mode = "host";
			phy_type = "ulpi";
		};

		gpio@e000a000 {
			compatible = "xlnx,ps7-gpio-1.00.a";
			reg = <0xe000a000 0x1000>;
			interrupts = <0x0 0x14 0x0>;
		};

		i2c0@e0004000 {
			compatible = "xlnx,ps7-i2c-1.00.a";
			reg = <0xe0004000 0x1000>;
			interrupts = <0x0 0x19 0x4>;
			bus-id = <0x0>;
			input-clk = <133000000>;
			i2c-clk = <400000>;
			#address-cells = <0x1>;
			#size-cells = <0x0>;
		/*No devices attached*/
		};/*i2c@e0004000*/

		i2c1@e0005000 {
			compatible = "xlnx,ps7-i2c-1.00.a";
			reg = <0xe0005000 0x1000>;
			interrupts = <0x0 0x30 0x4>;
			bus-id = <0x1>;
			input-clk = <133000000>;
			i2c-clk = <400000>;
			#address-cells = <0x1>;
			#size-cells = <0x0>;
		/*No devices attached*/
		};/*i2c@e0005000*/

		spi@e0006000 {
			compatible = "xlnx,ps7-spi-1.00.a";
			reg = <0xe0006000 0x1000>;
			interrupts = <0x0 0x1a 0x4>;
			speed-hz = <166666700>;
			bus-num = <0>;
			num-chip-select = <1>;
			#address-cells = <0x1>;
			#size-cells = <0x0>;
			spiflash@0 {
				compatible = "s25fl064k";
				reg = <0x0>;
				spi-max-frequency = <50000000>;
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				testspi {
					label = "testspi";
					reg = <0 0x400000>;
				};
			};
		};

		sdhci0@e0100000 {
			compatible = "xlnx,ps7-sdhci-1.00.a";
			reg = <0xe0100000 0x1000>;
			interrupts = <0x0 0x18 0x4>;
			clock-frequency = <33333000>;
			};
		sdhci1@e0101000 {
			compatible = "xlnx,ps7-sdhci-1.00.a";
			reg = <0xe0101000 0x1000>;
			interrupts = <0x0 0x2F 0x4>;
			clock-frequency = <33333000>;
			};

		nor@e2000000 {
			compatible = "cfi-flash";
			bank-width = <1>;
			reg = <0xE2000000 0x4000000>;
			#address-cells = <1>;
			#size-cells = <1>;
			partition@0 {
				label = "testnor";
				reg = <0 0x400000>;
			};
		};

		nand@e1000000 {
			compatible = "xlnx,ps7-nand-1.00.a";
			reg = <0xE1000000 0x1000000 0xE000E000 0x1000>;
			#address-cells = <1>;
			#size-cells = <1>;
				testnand {
					label = "testnand";
					reg = <0 0x400000>;
				};
			};
	};