aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/MINIEMBWIFI.dts
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-08-17 06:00:11 +0000
committerJohn Crispin <john@openwrt.org>2015-08-17 06:00:11 +0000
commit713c81e97b5b9557bcb6e6e9dc2308d20f8dbf23 (patch)
treea3e0fca73269c035d32ad46b1d4e9d0e7f42a239 /target/linux/ramips/dts/MINIEMBWIFI.dts
parent0bb270429d5834ec73da9c45dff57704dec80b63 (diff)
downloadupstream-713c81e97b5b9557bcb6e6e9dc2308d20f8dbf23.tar.gz
upstream-713c81e97b5b9557bcb6e6e9dc2308d20f8dbf23.tar.bz2
upstream-713c81e97b5b9557bcb6e6e9dc2308d20f8dbf23.zip
ramips: fix Omnima models, images and profiles names
Official names for supported Omnima products are (as on website): * Omnima HPM * Omnima MiniEMBWiFi * Omnima MiniEMBPlug This patch changes: * board names * dts filenames * profile names * image filenames * LED names for Omnima devices, for consistency. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46627
Diffstat (limited to 'target/linux/ramips/dts/MINIEMBWIFI.dts')
-rw-r--r--target/linux/ramips/dts/MINIEMBWIFI.dts92
1 files changed, 92 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/MINIEMBWIFI.dts b/target/linux/ramips/dts/MINIEMBWIFI.dts
new file mode 100644
index 0000000000..b026f0c75f
--- /dev/null
+++ b/target/linux/ramips/dts/MINIEMBWIFI.dts
@@ -0,0 +1,92 @@
+/dts-v1/;
+
+/include/ "rt3050.dtsi"
+
+/ {
+ compatible = "MINIEMBWIFI", "ralink,rt3052-soc";
+ model = "Omnima MiniEMBWiFi";
+
+ pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ ralink,function = "gpio";
+ };
+ };
+ };
+
+ gpio-leds {
+ compatible = "gpio-leds";
+
+ status {
+ label = "miniembwifi:green:status";
+ gpios = <&gpio0 9 1>;
+ };
+
+ wlan {
+ label = "miniembwifi:green:wlan";
+ gpios = <&gpio0 14 1>;
+ };
+ };
+
+ gpio-keys-polled {
+ compatible = "gpio-keys-polled";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ poll-interval = <20>;
+
+ reset {
+ label = "reset";
+ gpios = <&gpio0 12 1>;
+ linux,code = <0x198>;
+ };
+ };
+
+ cfi@1f000000 {
+ compatible = "cfi-flash";
+ reg = <0x1f000000 0x800000>;
+ bank-width = <2>;
+ device-width = <2>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ 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>;
+ };
+ };
+
+ ethernet@10100000 {
+ mtd-mac-address = <&factory 0x28>;
+ };
+
+ esw@10110000 {
+ ralink,portmap = <0x2f>;
+ };
+
+ wmac@10180000 {
+ ralink,mtd-eeprom = <&factory 0>;
+ };
+
+ otg@101c0000 {
+ status = "okay";
+ };
+};