On Mon,  6 Jun 2016 13:24:21 +0300
Aleksei Mamlin <[email protected]> wrote:

> From: Boris Brezillon <[email protected]>
> 
> Add NAND Flash controller node definition to the A20 SoC.
> 
> Signed-off-by: Boris Brezillon <[email protected]>
> Signed-off-by: Aleksei Mamlin <[email protected]>
> ---
>  arch/arm/boot/dts/sun7i-a20.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi 
> b/arch/arm/boot/dts/sun7i-a20.dtsi
> index 915979f..e473570 100644
> --- a/arch/arm/boot/dts/sun7i-a20.dtsi
> +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
> @@ -826,6 +826,17 @@
>                       #size-cells = <0>;
>               };
>  
> +             nfc: nand@01c03000 {
> +                     compatible = "allwinner,sun4i-a10-nand";
> +                     reg = <0x01c03000 0x1000>;
> +                     interrupts = <37>;

Should be
                        interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;

> +                     clocks = <&ahb_gates 13>, <&nand_clk>;
> +                     clock-names = "ahb", "mod";
> +                     #address-cells = <1>;
> +                     #size-cells = <0>;
> +                     status = "disabled";
> +             };
> +
>               emac: ethernet@01c0b000 {
>                       compatible = "allwinner,sun4i-a10-emac";
>                       reg = <0x01c0b000 0x1000>;
> -- 
> 2.7.3
> 


-- 
Thanks and regards,
Aleksei Mamlin

Reply via email to