// SPDX-License-Identifier: GPL-2.0
/*
 * Device Tree Source extras for U-Boot for the Condor board
 *
 * Copyright (C) 2019 Marek Vasut <marek.vasut@gmail.com>
 */

/ {
	aliases {
		spi0 = &rpc;
	};

	sysinfo {
		compatible = "renesas,rcar-sysinfo";
		i2c-eeprom = <&{i2c0/eeprom@50}>;
		bootph-all;
	};
};

&i2c0 {
	bootph-all;

	eeprom@50 {
		bootph-all;
	};
};

&rpc {
	status = "okay";
	#address-cells = <1>;
	#size-cells = <0>;

	flash0: spi-flash@0 {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "s25fs512s", "jedec,spi-nor";
		m25p,fast-read;
		spi-max-frequency = <50000000>;
		spi-tx-bus-width = <1>;
		spi-rx-bus-width = <1>;
		reg = <0>;
		status = "okay";
	};
};
