diff options
author | Mathias Kresin <dev@kresin.me> | 2017-04-12 07:53:56 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-04-25 19:29:59 +0200 |
commit | 2ddaf96a77a92186447ca18935b8a36d46d3db95 (patch) | |
tree | 4cff193fbf9cf8a1a1d83417971fe70ab4e994bd /target/linux/ramips/dts/ZBT-WE826.dts | |
parent | 3cfc909c54c07d5a24d9a1a7496142b82d580878 (diff) | |
download | upstream-2ddaf96a77a92186447ca18935b8a36d46d3db95.tar.gz upstream-2ddaf96a77a92186447ca18935b8a36d46d3db95.tar.bz2 upstream-2ddaf96a77a92186447ca18935b8a36d46d3db95.zip |
ramips: add ZBT-WE826 32MB variant
The ZBT-WG826 is available with 16 or 32 MByte of flash. Split the
device tree source file, rename the currently supported 16 MByte
version and add the 32 MByte variant.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts/ZBT-WE826.dts')
-rw-r--r-- | target/linux/ramips/dts/ZBT-WE826.dts | 123 |
1 files changed, 0 insertions, 123 deletions
diff --git a/target/linux/ramips/dts/ZBT-WE826.dts b/target/linux/ramips/dts/ZBT-WE826.dts deleted file mode 100644 index 8a453bca32..0000000000 --- a/target/linux/ramips/dts/ZBT-WE826.dts +++ /dev/null @@ -1,123 +0,0 @@ -/dts-v1/; - -#include "mt7620a.dtsi" - -#include <dt-bindings/input/input.h> - -/ { - compatible = "zbtlink,zbt-we826", "ralink,mt7620a-soc"; - model = "ZBT-WE826"; - - chosen { - bootargs = "console=ttyS0,115200"; - }; - - gpio-leds { - compatible = "gpio-leds"; - power { - label = "zbt-we826:green:power"; - gpios = <&gpio1 14 0>; - }; - usb { - label = "zbt-we826:green:usb"; - gpios = <&gpio1 15 0>; - }; - air { - label = "zbt-we826:green:wifi"; - gpios = <&gpio3 0 1>; - }; - }; - - gpio-keys-polled { - compatible = "gpio-keys-polled"; - #address-cells = <1>; - #size-cells = <0>; - poll-interval = <20>; - reset { - label = "reset"; - gpios = <&gpio0 1 1>; - linux,code = <KEY_RESTART>; - }; - }; -}; - -&gpio0 { - status = "okay"; -}; - -&gpio1 { - status = "okay"; -}; - -&gpio3 { - status = "okay"; -}; - -&spi0 { - status = "okay"; - - en25q128@0 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "jedec,spi-nor"; - reg = <0>; - spi-max-frequency = <10000000>; - - partition@0 { - label = "u-boot"; - reg = <0x0 0x30000>; - read-only; - }; - - partition@30000 { - label = "u-boot-env"; - reg = <0x30000 0x10000>; - read-only; - }; - - factory: partition@40000 { - label = "factory"; - reg = <0x40000 0x10000>; - read-only; - }; - - partition@50000 { - label = "firmware"; - reg = <0x50000 0xfb0000>; - }; - }; -}; - -&sdhci { - status = "okay"; -}; - -&ehci { - status = "okay"; -}; - -&ohci { - status = "okay"; -}; - -ðernet { - mtd-mac-address = <&factory 0x4>; - mediatek,portmap = "wllll"; -}; - -&wmac { - ralink,mtd-eeprom = <&factory 0>; -}; - -&pinctrl { - state_default: pinctrl0 { - default { - ralink,group = "i2c", "uartf", "wled", "spi refclk", "pa"; - ralink,function = "gpio"; - }; - }; -}; - -&pcie { - status = "okay"; -}; |