1bf215546Sopenharmony_ci<?xml version="1.0" encoding="UTF-8"?>
2bf215546Sopenharmony_ci<database xmlns="http://nouveau.freedesktop.org/"
3bf215546Sopenharmony_cixmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4bf215546Sopenharmony_cixsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
5bf215546Sopenharmony_ci<import file="freedreno_copyright.xml"/>
6bf215546Sopenharmony_ci
7bf215546Sopenharmony_ci<domain name="OCMEM" width="32">
8bf215546Sopenharmony_ci	<enum name="ocmem_macro_state">
9bf215546Sopenharmony_ci		<value name="PASSTHROUGH" value="0"/>
10bf215546Sopenharmony_ci		<value name="PERI_ON" value="1"/>
11bf215546Sopenharmony_ci		<value name="CORE_ON" value="2"/>
12bf215546Sopenharmony_ci		<value name="CLK_OFF" value="4"/>
13bf215546Sopenharmony_ci	</enum>
14bf215546Sopenharmony_ci	<reg32 offset="0x00" name="HW_VERSION"/>
15bf215546Sopenharmony_ci	<reg32 offset="0x04" name="HW_PROFILE">
16bf215546Sopenharmony_ci		<bitfield name="NUM_PORTS" low="0" high="3" type="uint"/>
17bf215546Sopenharmony_ci		<bitfield name="NUM_MACROS" low="8" high="13" type="uint"/>
18bf215546Sopenharmony_ci		<bitfield name="LAST_REGN_HALFSIZE" pos="16" type="boolean"/>
19bf215546Sopenharmony_ci		<bitfield name="INTERLEAVING" pos="17" type="boolean"/>
20bf215546Sopenharmony_ci	</reg32>
21bf215546Sopenharmony_ci	<reg32 offset="0x0c" name="GEN_STATUS"/>
22bf215546Sopenharmony_ci	<reg32 offset="0x38" name="PSGSC_STATUS"/>
23bf215546Sopenharmony_ci	<!-- length is 4 for 8084, 3 for 8974/8092, 1 for 8226: -->
24bf215546Sopenharmony_ci	<array offset="0x3c" name="PSGSC" stride="1" length="4">
25bf215546Sopenharmony_ci		<reg32 offset="0x0" name="CTL">
26bf215546Sopenharmony_ci			<bitfield name="MACRO0_MODE" low="0"  high="2"  type="ocmem_macro_state"/>
27bf215546Sopenharmony_ci			<bitfield name="MACRO1_MODE" low="4"  high="6"  type="ocmem_macro_state"/>
28bf215546Sopenharmony_ci			<bitfield name="MACRO2_MODE" low="8"  high="10" type="ocmem_macro_state"/>
29bf215546Sopenharmony_ci			<bitfield name="MACRO3_MODE" low="12" high="14" type="ocmem_macro_state"/>
30bf215546Sopenharmony_ci		</reg32>
31bf215546Sopenharmony_ci	</array>
32bf215546Sopenharmony_ci	<reg32 offset="0x1000" name="REGION_MODE_CTL">
33bf215546Sopenharmony_ci		<bitfield name="REG0_THIN" pos="0" type="boolean"/>
34bf215546Sopenharmony_ci		<bitfield name="REG1_THIN" pos="1" type="boolean"/>
35bf215546Sopenharmony_ci		<bitfield name="REG2_THIN" pos="2" type="boolean"/>
36bf215546Sopenharmony_ci		<bitfield name="REG3_THIN" pos="3" type="boolean"/>
37bf215546Sopenharmony_ci	</reg32>
38bf215546Sopenharmony_ci	<reg32 offset="0x1004" name="GFX_MPU_START"/>
39bf215546Sopenharmony_ci	<reg32 offset="0x1008" name="GFX_MPU_END"/>
40bf215546Sopenharmony_ci</domain>
41bf215546Sopenharmony_ci
42bf215546Sopenharmony_ci</database>
43