diff options
author | Russell Senior <russell@personaltelco.net> | 2020-03-10 18:06:02 -0700 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-03-18 13:45:57 +0100 |
commit | 572278d3a0390f1ad37eefab7fe86af5050d4199 (patch) | |
tree | fb8111779942997c3dc962407a811bdc1a85aac0 /target/linux/ath79/dts/ar7241_ubnt_xm.dtsi | |
parent | dabe8471fc4ccc9297aa88148cdf527a4fca3576 (diff) | |
download | upstream-572278d3a0390f1ad37eefab7fe86af5050d4199.tar.gz upstream-572278d3a0390f1ad37eefab7fe86af5050d4199.tar.bz2 upstream-572278d3a0390f1ad37eefab7fe86af5050d4199.zip |
ath79: generalize ubnt_xm dtsi for ar7240 and ar7241
* Prepare to support the AR7240 variant of ubiquiti bullet m, by
reorganizing the related dtsi files.
* Distribute SOC variable across ubnt-xm devices.
Signed-off-by: Russell Senior <russell@personaltelco.net>
Diffstat (limited to 'target/linux/ath79/dts/ar7241_ubnt_xm.dtsi')
-rw-r--r-- | target/linux/ath79/dts/ar7241_ubnt_xm.dtsi | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/target/linux/ath79/dts/ar7241_ubnt_xm.dtsi b/target/linux/ath79/dts/ar7241_ubnt_xm.dtsi deleted file mode 100644 index e2b653b3a7..0000000000 --- a/target/linux/ath79/dts/ar7241_ubnt_xm.dtsi +++ /dev/null @@ -1,99 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT - -#include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/input/input.h> - -#include "ar7241.dtsi" - -/ { - compatible = "ubnt,xm", "qca,ar7241"; - model = "Ubiquiti Networks XM (rev 1.0) board"; - - keys { - compatible = "gpio-keys"; - - reset { - linux,code = <KEY_RESTART>; - gpios = <&gpio 12 GPIO_ACTIVE_LOW>; - debounce-interval = <60>; - }; - }; -}; - -&uart { - status = "okay"; -}; - -&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>; - }; - - partition@50000 { - compatible = "denx,uimage"; - label = "firmware"; - reg = <0x050000 0x750000>; - }; - - partition@7a0000 { - label = "board_config"; - reg = <0x7a0000 0x010000>; - read-only; - }; - - partition@7b0000 { - label = "cfg"; - reg = <0x7b0000 0x040000>; - read-only; - }; - - art: partition@7f0000 { - label = "art"; - reg = <0x7f0000 0x010000>; - read-only; - }; - }; - }; -}; - -&pcie { - status = "okay"; - - wifi: wifi@0,0 { - reg = <0x0000 0 0 0 0>; - qca,no-eeprom; - }; -}; - -ð0 { - status = "okay"; - - mtd-mac-address = <&art 0x0>; -}; - -ð1 { - status = "okay"; - - mtd-mac-address = <&art 0x6>; -}; |