keys {
compatible = "gpio-keys";
- button0 {
+ reset {
label = "reset";
linux,code = <KEY_RESTART>;
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
debounce-interval = <60>;
};
- button1 {
+ sw1 {
label = "sw1";
linux,input-type = <EV_SW>;
linux,code = <BTN_0>;
debounce-interval = <60>;
};
- button2 {
+ sw2 {
label = "sw2";
linux,input-type = <EV_SW>;
linux,code = <BTN_1>;
/* Spansion S25FL032PIF SPI flash */
flash@0 {
compatible = "jedec,spi-nor";
- spi-max-frequency = <104000000>;
+ spi-max-frequency = <50000000>;
reg = <0>;
partitions {