diff options
Diffstat (limited to 'arch/arm/boot/dts/at91-cosino.dtsi')
| -rw-r--r-- | arch/arm/boot/dts/at91-cosino.dtsi | 83 |
1 files changed, 53 insertions, 30 deletions
diff --git a/arch/arm/boot/dts/at91-cosino.dtsi b/arch/arm/boot/dts/at91-cosino.dtsi index 02d8ef43de3a..89cde175154e 100644 --- a/arch/arm/boot/dts/at91-cosino.dtsi +++ b/arch/arm/boot/dts/at91-cosino.dtsi | |||
| @@ -82,38 +82,61 @@ | |||
| 82 | }; | 82 | }; |
| 83 | }; | 83 | }; |
| 84 | 84 | ||
| 85 | nand0: nand@40000000 { | 85 | ebi: ebi@10000000 { |
| 86 | nand-bus-width = <8>; | 86 | pinctrl-0 = <&pinctrl_ebi_addr_nand |
| 87 | nand-ecc-mode = "hw"; | 87 | &pinctrl_ebi_data_0_7>; |
| 88 | atmel,has-pmecc; /* Enable PMECC */ | 88 | pinctrl-names = "default"; |
| 89 | atmel,pmecc-cap = <4>; | ||
| 90 | atmel,pmecc-sector-size = <512>; | ||
| 91 | nand-on-flash-bbt; | ||
| 92 | status = "okay"; | 89 | status = "okay"; |
| 93 | 90 | ||
| 94 | at91bootstrap@0 { | 91 | nand_controller: nand-controller { |
| 95 | label = "at91bootstrap"; | 92 | status = "okay"; |
| 96 | reg = <0x0 0x40000>; | 93 | pinctrl-0 = <&pinctrl_nand_oe_we |
| 97 | }; | 94 | &pinctrl_nand_cs |
| 98 | 95 | &pinctrl_nand_rb>; | |
| 99 | uboot@40000 { | 96 | pinctrl-names = "default"; |
| 100 | label = "u-boot"; | 97 | |
| 101 | reg = <0x40000 0x80000>; | 98 | nand@3 { |
| 102 | }; | 99 | reg = <0x3 0x0 0x800000>; |
| 103 | 100 | rb-gpios = <&pioD 5 GPIO_ACTIVE_HIGH>; | |
| 104 | ubootenv@c0000 { | 101 | cs-gpios = <&pioD 4 GPIO_ACTIVE_HIGH>; |
| 105 | label = "U-Boot Env"; | 102 | nand-bus-width = <8>; |
| 106 | reg = <0xc0000 0x140000>; | 103 | nand-ecc-mode = "hw"; |
| 107 | }; | 104 | nand-ecc-strength = <4>; |
| 108 | 105 | nand-ecc-step-size = <512>; | |
| 109 | kernel@200000 { | 106 | nand-on-flash-bbt; |
| 110 | label = "kernel"; | 107 | label = "atmel_nand"; |
| 111 | reg = <0x200000 0x600000>; | 108 | |
| 112 | }; | 109 | partitions { |
| 113 | 110 | compatible = "fixed-partitions"; | |
| 114 | rootfs@800000 { | 111 | #address-cells = <1>; |
| 115 | label = "rootfs"; | 112 | #size-cells = <1>; |
| 116 | reg = <0x800000 0x0f800000>; | 113 | |
| 114 | at91bootstrap@0 { | ||
| 115 | label = "at91bootstrap"; | ||
| 116 | reg = <0x0 0x40000>; | ||
| 117 | }; | ||
| 118 | |||
| 119 | uboot@40000 { | ||
| 120 | label = "u-boot"; | ||
| 121 | reg = <0x40000 0x80000>; | ||
| 122 | }; | ||
| 123 | |||
| 124 | ubootenv@c0000 { | ||
| 125 | label = "U-Boot Env"; | ||
| 126 | reg = <0xc0000 0x140000>; | ||
| 127 | }; | ||
| 128 | |||
| 129 | kernel@200000 { | ||
| 130 | label = "kernel"; | ||
| 131 | reg = <0x200000 0x600000>; | ||
| 132 | }; | ||
| 133 | |||
| 134 | rootfs@800000 { | ||
| 135 | label = "rootfs"; | ||
| 136 | reg = <0x800000 0x0f800000>; | ||
| 137 | }; | ||
| 138 | }; | ||
| 139 | }; | ||
| 117 | }; | 140 | }; |
| 118 | }; | 141 | }; |
| 119 | }; | 142 | }; |
