summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/WIZARD8800.dts
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-08-01 11:19:50 +0000
committerJohn Crispin <john@openwrt.org>2014-08-01 11:19:50 +0000
commit9efd7ebd346862f32acb7ee782e90aa9eaab2268 (patch)
treed55e5ddec29e8e12babec9593a0e75293237b59d /target/linux/ramips/dts/WIZARD8800.dts
parentc890f71b95274302a608299fc46bbd061e9090fa (diff)
downloadmtk-20170518-9efd7ebd346862f32acb7ee782e90aa9eaab2268.zip
mtk-20170518-9efd7ebd346862f32acb7ee782e90aa9eaab2268.tar.gz
mtk-20170518-9efd7ebd346862f32acb7ee782e90aa9eaab2268.tar.bz2
ramips: add support for easyacc wizard8800
Signed-off-by: Sebastian Wendel <s.wendel@sourceindex.de> SVN-Revision: 41936
Diffstat (limited to 'target/linux/ramips/dts/WIZARD8800.dts')
-rw-r--r--target/linux/ramips/dts/WIZARD8800.dts82
1 files changed, 82 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/WIZARD8800.dts b/target/linux/ramips/dts/WIZARD8800.dts
new file mode 100644
index 0000000..a80b937
--- /dev/null
+++ b/target/linux/ramips/dts/WIZARD8800.dts
@@ -0,0 +1,82 @@
+/dts-v1/;
+
+/include/ "rt5350.dtsi"
+
+/ {
+ compatible = "WIZARD8800", "ralink,rt5350-soc";
+ model = "EASYACC WI-STOR WIZARD 8800";
+
+ palmbus@10000000 {
+ gpio1@638 {
+ status = "okay";
+ };
+
+ gpio2@660 {
+ status = "okay";
+ };
+
+ spi@b00 {
+ status = "okay";
+ m25p80@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "w25q32";
+ reg = <0 0>;
+ linux,modalias = "m25p80", "w25q32";
+ 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 0x7b0000>;
+ };
+ };
+ };
+ };
+
+ pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ ralink,function = "gpio";
+ };
+ };
+ };
+
+ ethernet@10100000 {
+ mtd-mac-address = <&factory 0x4>;
+ };
+
+ esw@10110000 {
+ ralink,portmap = <0x2f>;
+ };
+
+ ehci@101c0000 {
+ status = "okay";
+ };
+
+ ohci@101c1000 {
+ status = "okay";
+ };
+
+ wmac@10180000 {
+ ralink,mtd-eeprom = <&factory 0>;
+ };
+};