Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1415370
| From | Boris Brezillon <boris.brezillon@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 6/7] ARM: dts: sun4i: Enable NAND on Marsboard A10 |
| Date | 2016-06-06 21:00 +0200 |
| Message-ID | <rH7UJ-da-1@gated-at.bofh.it> (permalink) |
| References | <rGZXb-3zz-3@gated-at.bofh.it> <rGZXc-3zz-35@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, 6 Jun 2016 13:24:23 +0300
Aleksei Mamlin <mamlinav@gmail.com> wrote:
> Enable the NFC and describe the NAND flash connected to this controller.
>
> Signed-off-by: Aleksei Mamlin <mamlinav@gmail.com>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
> ---
> arch/arm/boot/dts/sun4i-a10-marsboard.dts | 41 +++++++++++++++++++++++++++++++
> 1 file changed, 41 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun4i-a10-marsboard.dts b/arch/arm/boot/dts/sun4i-a10-marsboard.dts
> index 8e50723..ea6e2d5 100644
> --- a/arch/arm/boot/dts/sun4i-a10-marsboard.dts
> +++ b/arch/arm/boot/dts/sun4i-a10-marsboard.dts
> @@ -150,6 +150,47 @@
> status = "okay";
> };
>
> +&nfc {
> + pinctrl-names = "default";
> + pinctrl-0 = <&nand_pins_a>, <&nand_cs0_pins_a>, <&nand_rb0_pins_a>;
> + status = "okay";
> +
> + nand@0 {
> + #address-cells = <2>;
> + #size-cells = <2>;
> + reg = <0>;
> + allwinner,rb = <0>;
> +
> + nand-ecc-mode = "hw";
> + nand-on-flash-bbt;
> +
> + boot0@0 {
> + label = "boot0";
> + reg = /bits/ 64 <0x0 0x200000>;
> + };
> +
> + boot0-rescue@200000 {
> + label = "boot0-rescue";
> + reg = /bits/ 64 <0x200000 0x200000>;
> + };
> +
> + uboot@400000 {
> + label = "uboot";
> + reg = /bits/ 64 <0x400000 0x200000>;
> + };
> +
> + uboot-rescue@600000 {
> + label = "uboot-rescue";
> + reg = /bits/ 64 <0x600000 0x200000>;
> + };
> +
> + main@800000 {
> + label = "main";
> + reg = /bits/ 64 <0x800000 0xff800000>;
> + };
> + };
> +};
> +
> &ohci0 {
> status = "okay";
> };
--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/7] dts: sunxi: Add sunxi NAND Flash Controller support Aleksei Mamlin <mamlinav@gmail.com> - 2016-06-06 12:30 +0200
[PATCH 5/7] mtd: nand: Add Hynix H27UBG8T2BTR-BC to nand_ids table Aleksei Mamlin <mamlinav@gmail.com> - 2016-06-06 12:30 +0200
Re: [PATCH 5/7] mtd: nand: Add Hynix H27UBG8T2BTR-BC to nand_ids table Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-06-06 21:00 +0200
Re: [PATCH 5/7] mtd: nand: Add Hynix H27UBG8T2BTR-BC to nand_ids table Aleksei Mamlin <mamlinav@gmail.com> - 2016-06-06 22:00 +0200
Re: [PATCH 5/7] mtd: nand: Add Hynix H27UBG8T2BTR-BC to nand_ids table Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-06-06 22:40 +0200
Re: [PATCH 5/7] mtd: nand: Add Hynix H27UBG8T2BTR-BC to nand_ids table Aleksei Mamlin <mamlinav@gmail.com> - 2016-06-06 23:10 +0200
Re: [PATCH 5/7] mtd: nand: Add Hynix H27UBG8T2BTR-BC to nand_ids table Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-06-07 07:50 +0200
Re: [PATCH 5/7] mtd: nand: Add Hynix H27UBG8T2BTR-BC to nand_ids table Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-06-07 08:00 +0200
[PATCH 6/7] ARM: dts: sun4i: Enable NAND on Marsboard A10 Aleksei Mamlin <mamlinav@gmail.com> - 2016-06-06 12:30 +0200
Re: [PATCH 6/7] ARM: dts: sun4i: Enable NAND on Marsboard A10 Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-06-06 21:00 +0200
csiph-web