Newer
Older
barebox / arch / arm / dts / imx7d-phyboard-zeta.dts
@Sascha Hauer Sascha Hauer on 19 Jun 2018 1 KB ARM: dts: remove @0 from environment nodes
/*
 * Copyright (C) 2015 PHYTEC America, LLC
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
/dts-v1/;

#include "imx7d-phycore-som.dtsi"
#include "imx7d-pba-c-09.dtsi"
#include "imx7d-peb-eval-02.dtsi"

/ {
	chosen {
		stdout-path = &uart5;

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

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

/**** SOM - PCM-061 ****/

&fec1 {
	status = "okay";
};

/* eMMC */
&usdhc3 {
	status = "okay";

	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>;
		};
	};
};

&i2c_eeprom {
	status = "okay";
};

&i2c_rtc {
	status = "okay";
};

/**** Carrier Board - PBA-C-09 ****/

&uart5 {
	status = "okay";
};

&usdhc1 {
	status = "okay";
};

&fec2 {
	status = "okay";
};

/* Host mode */
&usbotg1 {
	status = "okay";
};

/* OTG mode */
&usbotg2 {
	status = "okay";
};

&flexcan1 {
	status = "okay";
};

&wdog1 {
	status = "okay";
};

/**** PEB-AV-02: touch controller ft5406, LCD and PWM backlight control ****/
&i2c2 {
	status = "okay";
};

&ft5406 {
	status = "okay";
};

&lcdif {
	status = "okay";
};

&pwm3 {
	status = "okay";
};

&backlight {
	status = "okay";
};

/**** Interfaces on PEB-EVAL-02 ****/

&i2c4 {
	status = "okay";
};

&i2c4_eeprom {
	status = "okay";
};

&phytec_leds {
	status = "okay";
};

&phytec_buttons {
	status = "okay";
};

&uart1 {
	status = "okay";
};

&uart2 {
	status = "okay";
};