[PATCH] arm64: dts: mediatek: mt7622: add missing "device_type" to memory nodes

Matthias Brugger matthias.bgg at gmail.com
Mon Jan 22 09:12:24 PST 2024



On 22/01/2024 14:23, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal at milecki.pl>
> 
> This fixes:
> arch/arm64/boot/dts/mediatek/mt7622-rfb1.dtb: /: memory at 40000000: 'device_type' is a required property
>          from schema $id: http://devicetree.org/schemas/memory.yaml#
> arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dtb: /: memory at 40000000: 'device_type' is a required property
>          from schema $id: http://devicetree.org/schemas/memory.yaml#
> 
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>

Reviewed-by: Matthias Brugger <matthias.bgg at gmail.com>

> ---
>   arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts | 1 +
>   arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts             | 1 +
>   2 files changed, 2 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
> index a1f42048dcc7..850b3e277368 100644
> --- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
> @@ -75,6 +75,7 @@ led-1 {
>   
>   	memory at 40000000 {
>   		reg = <0 0x40000000 0 0x40000000>;
> +		device_type = "memory";
>   	};
>   
>   	reg_1p8v: regulator-1p8v {
> diff --git a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
> index 2dc1bdc74e21..5c26021fc4cf 100644
> --- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
> @@ -57,6 +57,7 @@ key-wps {
>   
>   	memory at 40000000 {
>   		reg = <0 0x40000000 0 0x20000000>;
> +		device_type = "memory";
>   	};
>   
>   	reg_1p8v: regulator-1p8v {



More information about the linux-arm-kernel mailing list