diff options
author | Chuanhong Guo <gch981213@gmail.com> | 2018-10-29 11:56:46 +0800 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-12-06 12:17:25 +0100 |
commit | c36ec336a3bd275f64c6b73c2df1b7fec2e11ad5 (patch) | |
tree | 7d65e06227970bc6a8156e418b4bb2fb7405d0bd /target/linux/ath79/dts/qca9531_glinet_ar300m_nand.dts | |
parent | 5563d49a391e65fd9c179661b9ddfd79cb903a54 (diff) | |
download | upstream-c36ec336a3bd275f64c6b73c2df1b7fec2e11ad5.tar.gz upstream-c36ec336a3bd275f64c6b73c2df1b7fec2e11ad5.tar.bz2 upstream-c36ec336a3bd275f64c6b73c2df1b7fec2e11ad5.zip |
ath79: rename qca9533.dtsi to qca953x.dtsi
qca9533 is a costdown version of qca9531 which doesn't have USB and PCIE.
Rename the misleading dtsi names and fix the SoC type of gl-ar300m.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
[apply the changes for the gl-x750 as well]
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ath79/dts/qca9531_glinet_ar300m_nand.dts')
-rw-r--r-- | target/linux/ath79/dts/qca9531_glinet_ar300m_nand.dts | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9531_glinet_ar300m_nand.dts b/target/linux/ath79/dts/qca9531_glinet_ar300m_nand.dts new file mode 100644 index 0000000000..f188ac6c33 --- /dev/null +++ b/target/linux/ath79/dts/qca9531_glinet_ar300m_nand.dts @@ -0,0 +1,63 @@ +/dts-v1/; + +#include "qca9531_glinet_ar300m.dtsi" + +&spi { + status = "okay"; + num-cs = <1>; + + flash@0 { + compatible = "winbond,w25q128", "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <25000000>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "u-boot"; + reg = <0x000000 0x040000>; + read-only; + }; + + partition@1 { + label = "u-boot-env"; + reg = <0x040000 0x010000>; + }; + + partition@2 { + label = "reserved"; + reg = <0x050000 0xfa0000>; + }; + + art: partition@3 { + label = "art"; + reg = <0xff0000 0x010000>; + }; + }; + }; + + flash@1 { + compatible = "spinand,mt29f"; + reg = <1>; + spi-max-frequency = <25000000>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "kernel"; + reg = <0x000000 0x0200000>; + }; + + partition@1 { + label = "ubi"; + reg = <0x200000 0x7e00000>; + }; + }; + }; +}; |