diff mbox series

[4/4] arm64: dts: amlogic: Fix SPI NOR flash node name for ODROID N2/N2+

Message ID 20211023214856.30097-4-alexander.stein@mailbox.org (mailing list archive)
State New, archived
Headers show
Series [1/4] dt-bindings: sound: amlogic: t9015: Add missing AVDD-supply property | expand

Commit Message

Alexander Stein Oct. 23, 2021, 9:48 p.m. UTC
Fix the schema warning: "spi-flash@0: $nodename:0: 'spi-flash@0' does
 not match '^flash(@.*)?$'" from jedec,spi-nor.yaml

Fixes: a084eaf3096c ("arm64: dts: meson-g12b-odroid-n2: add SPIFC controller node")
Signed-off-by: Alexander Stein <alexander.stein@mailbox.org>
---
 arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Neil Armstrong Oct. 25, 2021, 8:20 a.m. UTC | #1
On 23/10/2021 23:48, Alexander Stein wrote:
> Fix the schema warning: "spi-flash@0: $nodename:0: 'spi-flash@0' does
>  not match '^flash(@.*)?$'" from jedec,spi-nor.yaml
> 
> Fixes: a084eaf3096c ("arm64: dts: meson-g12b-odroid-n2: add SPIFC controller node")
> Signed-off-by: Alexander Stein <alexander.stein@mailbox.org>
> ---
>  arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
> index 6e9ff5076b38..9c05c83453f5 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
> @@ -611,7 +611,7 @@ &spifc {
>  	pinctrl-0 = <&nor_pins>;
>  	pinctrl-names = "default";
>  
> -	mx25u64: spi-flash@0 {
> +	mx25u64: flash@0 {
>  		#address-cells = <1>;
>  		#size-cells = <1>;
>  		compatible = "mxicy,mx25u6435f", "jedec,spi-nor";
> 

Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
index 6e9ff5076b38..9c05c83453f5 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
@@ -611,7 +611,7 @@  &spifc {
 	pinctrl-0 = <&nor_pins>;
 	pinctrl-names = "default";
 
-	mx25u64: spi-flash@0 {
+	mx25u64: flash@0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		compatible = "mxicy,mx25u6435f", "jedec,spi-nor";