Commit f28daeed authored by Wolfram Sang's avatar Wolfram Sang Committed by Geert Uytterhoeven
Browse files
parent 5de968a2
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
@@ -203,6 +203,11 @@ mmc_pins: mmc {
		power-source = <1800>;
	};

	qspi0_pins: qspi0 {
		groups = "qspi0_ctrl", "qspi0_data4";
		function = "qspi0";
	};

	scif0_pins: scif0 {
		groups = "scif0_data", "scif0_ctrl";
		function = "scif0";
@@ -214,6 +219,34 @@ scif_clk_pins: scif_clk {
	};
};

&rpc {
	pinctrl-0 = <&qspi0_pins>;
	pinctrl-names = "default";

	status = "okay";

	flash@0 {
		compatible = "spansion,s25fs512s", "jedec,spi-nor";
		reg = <0>;
		spi-max-frequency = <40000000>;
		spi-rx-bus-width = <4>;

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

			boot@0 {
				reg = <0x0 0xcc0000>;
				read-only;
			};
			user@cc0000 {
				reg = <0xcc0000 0x3340000>;
			};
		};
	};
};

&rwdt {
	timeout-sec = <60>;
	status = "okay";