// SPDX-License-Identifier: (GPL-2.0-or-later) /* * Copyright (C) 2015 PHYTEC Messtechnik GmbH * Author: Christian Hemp */ #include #include / { chosen { environment-sd1 { compatible = "barebox,environment"; device-path = &env_sd1; status = "disabled"; }; environment-sd4 { compatible = "barebox,environment"; device-path = &env_sd4; status = "disabled"; }; environment-nand { compatible = "barebox,environment"; device-path = &env_nand; status = "disabled"; }; environment-spinor { compatible = "barebox,environment"; device-path = &env_nor; status = "disabled"; }; }; }; /delete-node/ &{/memory@10000000}; &fec { /delete-property/ phy-supply; phy-reset-duration = <10>; /* in msecs */ }; &gpmi { partitions { compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; partition@0 { label = "barebox"; reg = <0x0 0x1000000>; }; env_nand: partition@400000 { label = "barebox-environment"; reg = <0x1000000 0x100000>; }; partition@500000 { label = "root"; reg = <0x1100000 0x0>; }; }; }; &i2c3 { eeprom: eeprom@50 { status = "disabled"; }; pmic@58 { watchdog-priority = <500>; restart-priority = <500>; reset-source-priority = <500>; }; }; &m25p80 { status = "disabled"; partitions { compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; partition@0 { label = "barebox"; reg = <0x0 0x100000>; }; env_nor: partition@100000 { label = "barebox-environment"; reg = <0x100000 0x20000>; }; partition@120000 { label = "oftree"; reg = <0x120000 0x20000>; }; partition@140000 { label = "kernel"; reg = <0x140000 0x0>; }; }; }; &ocotp { barebox,provide-mac-address = <&fec 0x620>; }; &usdhc4 { partitions { compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; partition@0 { label = "barebox"; reg = <0x0 0xe0000>; }; env_sd4: partition@e0000 { label = "barebox-environment"; reg = <0xe0000 0x20000>; }; }; };