Re: [PATCH] ARM: dts: ape6evm: Add NOR FLASH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Geert,

Thanks for your work, you are a life saver :-)

On 2019-03-20 20:45:22 +0100, Geert Uytterhoeven wrote:
> Describe the 128 MiB CFI NOR FLASH, which contains the boot loader and
> its environment.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Tested-by: Niklas Söderlund <niklas.soderlund+renesas@xxxxxxxxxxxx>

> ---
>  arch/arm/boot/dts/r8a73a4-ape6evm.dts | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm.dts b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
> index 5c691e79e2b6e5fc..fa01de098dbcc0ac 100644
> --- a/arch/arm/boot/dts/r8a73a4-ape6evm.dts
> +++ b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
> @@ -173,6 +173,33 @@
>  };
>  
>  &bsc {
> +	flash@0 {
> +		compatible = "cfi-flash", "mtd-rom";
> +		reg = <0x0 0x08000000>;
> +		bank-width = <2>;
> +
> +		partitions {
> +			compatible = "fixed-partitions";
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +
> +			partition@0 {
> +				label = "uboot";
> +				reg = <0x00000000 0x00040000>;
> +				read-only;
> +			};
> +			partition@40000 {
> +				label = "uboot-env";
> +				reg = <0x00040000 0x00040000>;
> +				read-only;
> +			};
> +			partition@80000 {
> +				label = "flash";
> +				reg = <0x00080000 0x07f80000>;
> +			};
> +		};
> +	};
> +
>  	ethernet@8000000 {
>  		compatible = "smsc,lan9220", "smsc,lan9115";
>  		reg = <0x08000000 0x1000>;
> -- 
> 2.17.1
> 

-- 
Regards,
Niklas Söderlund



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux