/dts-v1/;
-/include/ "mt7621.dtsi"
+#include "mt7621.dtsi"
/ {
compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
memory@0 {
device_type = "memory";
- reg = <0x0 0x10000000>;
+ reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
};
chosen {
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "mx25l12805d";
+ compatible = "jedec,spi-nor";
reg = <0 0>;
linux,modalias = "m25p80";
spi-max-frequency = <10000000>;
partition@50000 {
label = "firmware";
- reg = <0x50000 0x7b0000>;
+ reg = <0x50000 0xfb0000>;
};
-
};
};
};
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
wps {
label = "wps";
gpios = <&gpio0 18 1>;
linux,code = <0x211>;
};
+
+ power {
+ label = "power";
+ gpios = <&gpio0 23 1>;
+ linux,code = <116>;
+ };
};
pinctrl {
state_default: pinctrl0 {
- gpio {
+ gpio {
ralink,group = "wdt", "rgmii2";
ralink,function = "gpio";
};