aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9531_glinet_ar300m_nor.dts
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2018-10-29 11:56:46 +0800
committerMathias Kresin <dev@kresin.me>2018-12-06 12:17:25 +0100
commitc36ec336a3bd275f64c6b73c2df1b7fec2e11ad5 (patch)
tree7d65e06227970bc6a8156e418b4bb2fb7405d0bd /target/linux/ath79/dts/qca9531_glinet_ar300m_nor.dts
parent5563d49a391e65fd9c179661b9ddfd79cb903a54 (diff)
downloadupstream-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_nor.dts')
-rw-r--r--target/linux/ath79/dts/qca9531_glinet_ar300m_nor.dts44
1 files changed, 44 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9531_glinet_ar300m_nor.dts b/target/linux/ath79/dts/qca9531_glinet_ar300m_nor.dts
new file mode 100644
index 0000000000..c78f03ac22
--- /dev/null
+++ b/target/linux/ath79/dts/qca9531_glinet_ar300m_nor.dts
@@ -0,0 +1,44 @@
+/dts-v1/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
+#include "qca9531_glinet_ar300m.dtsi"
+
+&spi {
+ status = "okay";
+ num-cs = <0>;
+
+ 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 = "firmware";
+ reg = <0x050000 0xfa0000>;
+ };
+
+ art: partition@3 {
+ label = "art";
+ reg = <0xff0000 0x010000>;
+ };
+ };
+ };
+};