aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9533_ubnt_aircube-isp.dts
diff options
context:
space:
mode:
authorRoman Kuzmitskii <damex.pp@icloud.com>2020-10-06 12:08:28 +0000
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-10-06 15:13:27 +0200
commit582ba9ddc789629a53969e5c66e19dfa183f2696 (patch)
tree5538b807c24bbc870646a66906fa24fbb24b9705 /target/linux/ath79/dts/qca9533_ubnt_aircube-isp.dts
parente5f7a9889cad5df86ff65689b1f0a68637e672bd (diff)
downloadupstream-582ba9ddc789629a53969e5c66e19dfa183f2696.tar.gz
upstream-582ba9ddc789629a53969e5c66e19dfa183f2696.tar.bz2
upstream-582ba9ddc789629a53969e5c66e19dfa183f2696.zip
ath79: rename ubnt,acb-isp to ubnt,aircube-isp
Use the full model name for this device to make it easier to recognize for the users and in order to make it consistent with the other devices. While at it, fix sorting in 03_gpio_switches. Signed-off-by: Roman Kuzmitskii <damex.pp@icloud.com> [commit message facelift] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/dts/qca9533_ubnt_aircube-isp.dts')
-rw-r--r--target/linux/ath79/dts/qca9533_ubnt_aircube-isp.dts98
1 files changed, 98 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9533_ubnt_aircube-isp.dts b/target/linux/ath79/dts/qca9533_ubnt_aircube-isp.dts
new file mode 100644
index 0000000000..b74b0756fe
--- /dev/null
+++ b/target/linux/ath79/dts/qca9533_ubnt_aircube-isp.dts
@@ -0,0 +1,98 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "qca953x.dtsi"
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
+/ {
+ compatible = "ubnt,aircube-isp", "qca,qca9533";
+ model = "Ubiquiti airCube ISP";
+
+ aliases {
+ label-mac-device = &wmac;
+ };
+
+ keys {
+ compatible = "gpio-keys";
+
+ reset {
+ label = "reset";
+ linux,code = <KEY_RESTART>;
+ gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
+ debounce-interval = <60>;
+ };
+ };
+};
+
+&spi {
+ status = "okay";
+ num-cs = <1>;
+
+ flash@0 {
+ compatible = "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@40000 {
+ label = "u-boot-env";
+ reg = <0x040000 0x010000>;
+ read-only;
+ };
+
+ partition@50000 {
+ compatible = "denx,uimage";
+ label = "firmware";
+ reg = <0x050000 0xf60000>;
+ };
+
+ partition@fb0000 {
+ label = "cfg";
+ reg = <0xfb0000 0x040000>;
+ read-only;
+ };
+
+ art: partition@ff0000 {
+ label = "art";
+ reg = <0xff0000 0x010000>;
+ read-only;
+ };
+ };
+ };
+};
+
+&uart {
+ status = "okay";
+};
+
+&eth0 {
+ status = "okay";
+
+ phy-handle = <&swphy4>;
+
+ mtd-mac-address = <&art 0x0>;
+};
+
+&eth1 {
+ mtd-mac-address = <&art 0x6>;
+
+ gmac-config {
+ device = <&gmac>;
+ };
+};
+
+&wmac {
+ status = "okay";
+ mtd-cal-data = <&art 0x1000>;
+};