#include "mt7620a.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "YOUKU-YK1", "ralink,mt7620a-soc";
model = "YOUKU YK1";
reset {
label = "reset";
gpios = <&gpio0 1 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
};
};
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
- reg = <0 0>;
- linux,modalias = "m25p80", "w25q256";
+ reg = <0>;
spi-max-frequency = <10000000>;
partition@0 {
&pinctrl {
state_default: pinctrl0 {
default {
- ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "ephy", "wled", "nd_sd";
+ ralink,group = "i2c", "rgmii1", "ephy", "wled";
ralink,function = "gpio";
};
};
ðernet {
pinctrl-names = "default";
- pinctrl-0 = <&ephy_pins>;
mtd-mac-address = <&factory 0x4>;
mediatek,portmap = "llllw";
};