/ {
compatible = "OMNI-PLUG", "ralink,rt5350-soc";
model = "Omnima MiniPlug";
-
+
pinctrl {
state_default: pinctrl0 {
gpio {
};
};
};
-
+
gpio-leds {
compatible = "gpio-leds";
+
wlan {
label = "miniplug:red:wlan";
gpios = <&gpio0 9 0>;
};
+
mobile {
label = "miniplug:green:mobile";
gpios = <&gpio0 13 1>;
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
linux,code = <0x211>;
};
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x211>;
};
+
mode-one {
label = "mode1";
gpios = <&gpio0 11 1>;
linux,code = <0x211>;
};
+
mode-two {
label = "mode2";
gpios = <&gpio0 12 1>;
spi@b00 {
status = "okay";
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
};
};
};
-
+
ethernet@10100000 {
mtd-mac-address = <&factory 0x4>;
};
wmac@10180000 {
ralink,mtd-eeprom = <&factory 0>;
};
-
+
otg@101c0000 {
status = "okay";
};