On Sat, Mar 17, 2018 at 01:53:52AM +0800, Icenowy Zheng wrote:
> +             sram-controller@1c00000 {
> +                     compatible = "allwinner,sun50i-a64-sram-controller";
> +                     reg = <0x01c00000 0x1000>;
> +                     #address-cells = <1>;
> +                     #size-cells = <1>;
> +                     ranges;
> +
> +                     sram_c: sram@18000 {
> +                             compatible = "mmio-sram";
> +                             reg = <0x00018000 0x28000>;
> +                             #address-cells = <1>;
> +                             #size-cells = <1>;
> +                             ranges = <0 0x00018000 0x28000>;
> +
> +                             de2_sram: sram-section@0 {
> +                                     compatible = 
> "allwinner,sun50i-a64-sram-c";
> +                                     reg = <0x0000 0x28000>;
> +                             };
> +                     };
> +             };
> +
>               syscon: syscon@1c00000 {
>                       compatible = "allwinner,sun50i-a64-system-controller",
>                               "syscon";

Isn't that the same device than the sram controller node you just added?

Maxime

-- 
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

Reply via email to