[PATCH 5/7] arm64: allwinner: a64: add DE2 CCU related device tree nodes

Maxime Ripard maxime.ripard at bootlin.com
Tue Mar 20 11:47:59 PDT 2018


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



More information about the linux-arm-kernel mailing list