Newer
Older
barebox / arch / arm / dts / imx7s-warp.dts
@Sascha Hauer Sascha Hauer on 19 Jun 2018 810 bytes ARM: dts: remove @0 from environment nodes
/*
 * 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/imx7s-warp.dts>

/ {
	chosen {
		stdout-path = &uart1;

		environment {
			compatible = "barebox,environment";
			device-path = &bareboxenv;
		};
	};

	memory {
		device_type = "memory";
		reg = <0x80000000 0x20000000>;
	};
};

&usdhc3 {
	boot0-partitions {
		compatible = "fixed-partitions";
		#address-cells = <1>;
		#size-cells = <1>;

		barebox@0 {
			label = "barebox";
			reg = <0x0 0x300000>;
		};

		bareboxenv: bareboxenv@300000 {
			label = "bareboxenv";
			reg = <0x300000 0x0>;
		};
	};
};