From 05b1fcc70b4cd65f069ce0640b5130484c58c227 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Thu, 2 Feb 2017 22:11:23 +0100 Subject: ramips: cleanup SPI flash device tree properties usage Use only the jedec,spi-nor compatible string. Everything else either never worked or is only support to keep compatibility. Remove the linux,modalias property. It is obsolete since kernel 4.4. Signed-off-by: Mathias Kresin --- target/linux/ramips/dts/GL-MT300A.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'target/linux/ramips/dts/GL-MT300A.dts') diff --git a/target/linux/ramips/dts/GL-MT300A.dts b/target/linux/ramips/dts/GL-MT300A.dts index 32e1fe01ad..a700558a03 100644 --- a/target/linux/ramips/dts/GL-MT300A.dts +++ b/target/linux/ramips/dts/GL-MT300A.dts @@ -84,9 +84,8 @@ m25p80@0 { #address-cells = <1>; #size-cells = <1>; - compatible = "w25q128"; + compatible = "jedec,spi-nor"; reg = <0>; - linux,modalias = "m25p80", "w25q128"; spi-max-frequency = <10000000>; partition@0 { -- cgit v1.2.3