#include / { chosen { environment { compatible = "barebox,environment"; device-path = &environment_nand; }; }; }; &nand_controller { nand@3 { /delete-node/ partitions; partitions { compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; at91bootstrap@0 { label = "at91bootstrap"; reg = <0x0 0x20000>; }; barebox@20000 { label = "barebox"; reg = <0x20000 0x100000>; }; environment_nand: bareboxenv@120000 { label = "barebox-environment"; reg = <0x120000 0x20000>; }; rootfs@140000 { label = "root"; reg = <0x140000 0x0>; }; }; }; }; &{/ahb/apb/mmc@fff84000} { pinctrl-0 = < &pinctrl_board_mmc1 &pinctrl_mmc1_clk &pinctrl_mmc1_slot0_cmd_dat0 &pinctrl_mmc1_slot0_dat1_3>; cd-gpios = <&pioE 18 GPIO_ACTIVE_HIGH>; status = "okay"; slot@0 { reg = <0>; bus-width = <4>; cd-gpios = <&pioE 18 GPIO_ACTIVE_HIGH>; wp-gpios = <&pioE 19 GPIO_ACTIVE_HIGH>; }; }; &{/ahb/apb/pinctrl@fffff200} { pinctrl_board_mmc1: mmc1-board { atmel,pins = ; /* PE19 gpio WP pin pull up */ }; }; &pioB { /* Enable the 50MHz oscillator for Ethernet PHY */ phy_50mhz { gpio-hog; gpios = <27 GPIO_ACTIVE_LOW>; output-high; line-name = "PHY 50 MHz oscillator"; }; };