[PATCH 1/8] ARM: dts: imx6ul: add missing properties for sram

Shawn Guo shawnguo at kernel.org
Thu Feb 10 19:42:20 PST 2022


On Tue, Jan 25, 2022 at 02:50:07PM +0100, Alexander Stein wrote:
> All 3 properties are required by sram.yaml. Fixes the dt_binding_check

I guess it's dtbs_check rather than dt_binding_check?

Shawn

> warning:
> sram at 900000: '#address-cells' is a required property
> sram at 900000: '#size-cells' is a required property
> sram at 900000: 'ranges' is a required property
> 
> Signed-off-by: Alexander Stein <alexander.stein at ew.tq-group.com>
> ---
>  arch/arm/boot/dts/imx6ul.dtsi | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
> index afeec01f6522..1d435a46fc5c 100644
> --- a/arch/arm/boot/dts/imx6ul.dtsi
> +++ b/arch/arm/boot/dts/imx6ul.dtsi
> @@ -149,6 +149,9 @@ soc {
>  		ocram: sram at 900000 {
>  			compatible = "mmio-sram";
>  			reg = <0x00900000 0x20000>;
> +			ranges = <0 0x00900000 0x20000>;
> +			#address-cells = <1>;
> +			#size-cells = <1>;
>  		};
>  
>  		intc: interrupt-controller at a01000 {
> -- 
> 2.25.1
> 



More information about the linux-arm-kernel mailing list