// SPDX-License-Identifier: GPL-2.0 OR X11 /* * Copyright (C) 2019 Oleksij Rempel - Pengutronix */ #include <arm/at91-sama5d27_som1_ek.dts> #include "sama5d2.dtsi" / { chosen { environment-qspi { compatible = "barebox,environment"; device-path = &barebox_env; status = "disabled"; }; environment-sd { compatible = "barebox,environment"; device-path = &sdmmc0; file-path = "barebox.env"; status = "disabled"; }; environment-microsd { compatible = "barebox,environment"; device-path = &sdmmc1; file-path = "barebox.env"; status = "disabled"; }; }; }; &qspi1 { flash@0 { #address-cells = <1>; #size-cells = <1>; partition@0 { label = "barebox"; reg = <0x0 0x80000>; }; barebox_env: partition@80000 { label = "barebox-environment"; reg = <0x80000 0x80000>; }; }; };