/*
 * Barebox specific DT overlay for Phytec PCA100 RDK
 */

#include <arm/imx27-phytec-phycard-s-rdk.dts>

/ {
	chosen {
		linux,stdout-path = &uart1;

		environment@0 {
			compatible = "barebox,environment";
			device-path = &nfc, "partname:environment";
		};
	};
};

&nfc {
	partition@0 {
		label = "boot";
		reg = <0x0 0x80000>;
	};

	partition@1 {
		label = "environment";
		reg = <0x80000 0x80000>;
	};

	partition@2 {
		label = "kernel";
		reg = <0x100000 0x400000>;
	};

	partition@3 {
		label = "root";
		reg = <0x500000 0x7b00000>;
	};
};
