<config>
	<parent-provides>
		<service name="IRQ"/>
		<service name="IO_MEM"/>
		<service name="ROM"/>
		<service name="PD"/>
		<service name="RM"/>
		<service name="CPU"/>
		<service name="LOG"/>
		<service name="Timer"/>
	</parent-provides>

	<default caps="100"/>

	<service name="Nic">
		<default-policy> <child name="nic_drv" label="fec0"/> </default-policy> </service>

	<start name="platform_drv" caps="150">
		<resource name="RAM" quantum="1M"/>
		<provides> <service name="Platform"/> </provides>
		<config>
			<device name="fec0">
				<io_mem   address="0x30be0000" size="0x4000"/>
				<irq      number="152"/>
				<irq      number="153"/>
				<property name="compatible" value="fsl,imx6sx-fec"/>
				<property name="mii"        value="rgmii"/>
			</device>
			<device name="fec1">
				<io_mem   address="0x30bf0000" size="0x4000"/>
				<irq      number="134"/>
				<irq      number="135"/>
				<property name="compatible" value="fsl,imx6sx-fec"/>
				<property name="mii"        value="rgmii"/>
			</device>
			<policy label="nic_drv -> ">
				<device name="fec0"/>
				<device name="fec1"/>
			</policy>
		</config>
		<route> <any-service> <parent/> </any-service> </route>
	</start>

	<start name="nic_drv" caps="150">
		<binary name="fec_nic_drv"/>
		<resource name="RAM" quantum="20M"/>
		<provides> <service name="Nic"/> </provides>
		<route>
			<service name="ROM">   <parent/> </service>
			<service name="PD">    <parent/> </service>
			<service name="RM">    <parent/> </service>
			<service name="CPU">   <parent/> </service>
			<service name="LOG">   <parent/> </service>
			<service name="Timer"> <parent/> </service>
			<service name="Platform"> <child name="platform_drv"/> </service>
		</route>
	</start>
</config>
