diff options
Diffstat (limited to 'arch/arm/dts/at91sam9263ek.dts')
-rw-r--r-- | arch/arm/dts/at91sam9263ek.dts | 76 |
1 files changed, 51 insertions, 25 deletions
diff --git a/arch/arm/dts/at91sam9263ek.dts b/arch/arm/dts/at91sam9263ek.dts index 7fe283ced7..77da4479ab 100644 --- a/arch/arm/dts/at91sam9263ek.dts +++ b/arch/arm/dts/at91sam9263ek.dts @@ -1,42 +1,68 @@ -#include <arm/at91sam9263ek.dts> +#include <arm/microchip/at91sam9263ek.dts> / { chosen { environment { compatible = "barebox,environment"; - device-path = &nand_controller, "partname:bareboxenv"; + device-path = &environment_nand; }; }; - ahb { - apb { - mmc1: 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>; - }; - }; +}; + +&{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>; + }; - pinctrl@fffff200 { - pinctrl_board_mmc1: mmc1-board { - atmel,pins = - <AT91_PIOE 18 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH /* PE18 gpio CD pin pull up and deglitch */ - AT91_PIOE 19 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PE19 gpio WP pin pull up */ + rootfs@140000 { + label = "root"; + reg = <0x140000 0x0>; }; }; }; +&mmc1 { + 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 = + <AT91_PIOE 18 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH /* PE18 gpio CD pin pull up and deglitch */ + AT91_PIOE 19 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>; /* PE19 gpio WP pin pull up */ + }; +}; + &pioB { /* Enable the 50MHz oscillator for Ethernet PHY */ phy_50mhz { |