/dts-v1/;
-/include/ "rt3050.dtsi"
+#include "rt3050.dtsi"
/ {
compatible = "DCS-930", "ralink,rt3050-soc";
model = "D-Link DCS-930";
- pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
- ralink,function = "gpio";
- };
- };
- };
-
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x400000>;
compatible = "gpio-leds";
wifi {
- label = "d-link:red:alert";
+ label = "dcs-930:red:alert";
gpios = <&gpio0 8 1>;
};
power {
- label = "d-link:green:status";
+ label = "dcs-930:green:status";
gpios = <&gpio0 9 1>;
};
wps {
- label = "d-link:blue:wps";
+ label = "dcs-930:blue:wps";
gpios = <&gpio0 13 1>;
};
};
linux,code = <0x198>;
};
};
+};
- ethernet@10100000 {
- mtd-mac-address = <&factory 0x4>;
+&pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf";
+ ralink,function = "gpio";
+ };
};
+};
- esw@10110000 {
- ralink,portmap = <0x2f>;
- };
+ðernet {
+ mtd-mac-address = <&factory 0x4>;
+};
- wmac@10180000 {
- ralink,mtd-eeprom = <&factory 0>;
- };
+&esw {
+ mediatek,portmap = <0x2f>;
+};
- otg@101c0000 {
- status = "okay";
- };
+&wmac {
+ ralink,mtd-eeprom = <&factory 0>;
+};
+
+&otg {
+ status = "okay";
};