Newer
Older
barebox / arch / arm / dts / imx6sx-sdb.dts
@Sascha Hauer Sascha Hauer on 9 Jul 2018 699 bytes Merge branch 'for-next/imx'
/*
 * The code contained herein is licensed under the GNU General Public
 * License. You may obtain a copy of the GNU General Public License
 * Version 2 or later at the following locations:
 *
 * http://www.opensource.org/licenses/gpl-license.html
 * http://www.gnu.org/copyleft/gpl.html
 */

#include <arm/imx6sx-sdb.dts>
#include "imx6sx.dtsi"

/ {
	chosen {
		environment {
			compatible = "barebox,environment";
			device-path = &usdhc4, "partname:barebox-environment";
		};
	};
};

&ocotp {
	barebox,provide-mac-address = <&fec1 0x620 &fec2 0x632>;
};

&usdhc4 {
	#address-cells = <1>;
	#size-cells = <1>;

	partition@e0000 {
		label = "barebox-environment";
		reg = <0xe0000 0x20000>;
	};
};