// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (c) 2021 Rockchip Electronics Co., Ltd. * */ /dts-v1/; #include #include "rk356x.dtsi" / { chosen: chosen { environment-sd { compatible = "barebox,environment"; device-path = &environment_sd; status = "disabled"; }; environment-emmc { compatible = "barebox,environment"; device-path = &environment_emmc; status = "disabled"; }; }; memory@a00000 { device_type = "memory"; reg = <0x0 0x00a00000 0x0 0x7f600000>; }; }; &sdhci { no-sd; partitions { compatible = "fixed-partitions"; #address-cells = <2>; #size-cells = <2>; environment_emmc: partition@408000 { label = "barebox-environment"; reg = <0x0 0x408000 0x0 0x8000>; }; }; }; &sdmmc0 { partitions { compatible = "fixed-partitions"; #address-cells = <2>; #size-cells = <2>; environment_sd: partition@408000 { label = "barebox-environment"; reg = <0x0 0x408000 0x0 0x8000>; }; }; };