#include "mt7620a.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "PSG1218", "ralink,mt7620a-soc";
model = "Phicomm PSG1218";
blue {
label = "psg1218:blue:status";
- gpios = <&gpio0 10 0>;
+ gpios = <&gpio0 10 1>;
};
yellow {
label = "psg1218:yellow:status";
- gpios = <&gpio0 11 0>;
+ gpios = <&gpio0 11 1>;
};
red {
label = "psg1218:red:status";
- gpios = <&gpio0 8 1>;
+ gpios = <&gpio0 8 0>;
};
};
reset {
label = "reset";
gpios = <&gpio0 1 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
};
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
- linux,modalias = "m25p80", "en25q64";
spi-max-frequency = <10000000>;
partition@0 {
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
- mediatek,2ghz = <0>;
+ ieee80211-freq-limit = <5000000 6000000>;
};
};
};