led-upgrade = &led_power;
};
- memory@0 {
- device_type = "memory";
- reg = <0x0 0x4000000>;
- };
-
chosen {
bootargs = "console=ttyS0,57600";
};
wifi {
label = "re6500:orange:wifi";
- gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
};
led_power: power {
label = "re6500:white:power";
- gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
};
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <20>;
+ compatible = "gpio-keys";
wps {
label = "wps";
- gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
};
reset {
label = "reset";
- gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_RESTART>;
};
};
};
};
-&pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "i2c", "uart2", "uart3", "rgmii2";
- ralink,function = "gpio";
- };
+&state_default {
+ gpio {
+ ralink,group = "i2c", "uart2", "uart3", "rgmii2";
+ ralink,function = "gpio";
};
};