};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <20>;
+ compatible = "gpio-keys";
reset {
label = "reset";
read-only;
};
- Factory: partition@40000 {
- label = "Factory";
+ factory: partition@40000 {
+ label = "factory";
reg = <0x40000 0x8000>;
read-only;
};
ðernet {
pinctrl-names = "default";
pinctrl-0 = <&rgmii1_pins>;
- mtd-mac-address = <&Factory 0x4>;
+ mtd-mac-address = <&factory 0x4>;
port@5 {
status = "okay";
};
};
-&pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "i2c", "uartf", "mdio";
- ralink,function = "gpio";
- };
+&state_default {
+ gpio {
+ groups = "i2c", "uartf", "mdio";
+ function = "gpio";
};
};
};
&wmac {
- ralink,mtd-eeprom = <&Factory 0x0>;
+ ralink,mtd-eeprom = <&factory 0x0>;
};