led_usr: usr {
label = "rbm33g:green:usr";
- gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
};
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <20>;
+ compatible = "gpio-keys";
res {
label = "res";
- gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
- gpio = <&gpio0 9 GPIO_ACTIVE_HIGH>;
+ gpio = <&gpio 9 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
- gpio = <&gpio0 10 GPIO_ACTIVE_HIGH>;
+ gpio = <&gpio 10 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
- gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>;
+ gpio = <&gpio 11 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-boot-on;
regulator-always-on;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
- gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>;
+ gpio = <&gpio 12 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-always-on;
};
};
-
&spi0 {
status = "okay";
mtd-mac-address-increment = <1>;
};
-
-&pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "uart2", "wdt";
- ralink,function = "gpio";
- };
+&state_default {
+ gpio {
+ ralink,group = "uart2", "wdt";
+ ralink,function = "gpio";
};
};