diff options
author | Mathias Kresin <dev@kresin.me> | 2017-02-02 22:11:23 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-02-02 22:48:54 +0100 |
commit | 05b1fcc70b4cd65f069ce0640b5130484c58c227 (patch) | |
tree | d2d4078535015dd3732be59494bcb5cd7e9a99f2 /target/linux/ramips/dts/GL-MT300N.dts | |
parent | 063d5a61e5a6f3b7c8be52c448c43ff54794fa32 (diff) | |
download | mtk-20170518-05b1fcc70b4cd65f069ce0640b5130484c58c227.zip mtk-20170518-05b1fcc70b4cd65f069ce0640b5130484c58c227.tar.gz mtk-20170518-05b1fcc70b4cd65f069ce0640b5130484c58c227.tar.bz2 |
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 <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts/GL-MT300N.dts')
-rw-r--r-- | target/linux/ramips/dts/GL-MT300N.dts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/GL-MT300N.dts b/target/linux/ramips/dts/GL-MT300N.dts index 7334bc7..be78a72 100644 --- a/target/linux/ramips/dts/GL-MT300N.dts +++ b/target/linux/ramips/dts/GL-MT300N.dts @@ -79,9 +79,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 { |