|
@@ -6,17 +6,18 @@
|
|
#include <dt-bindings/input/input.h>
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
|
|
/ {
|
|
/ {
|
|
-
|
|
|
|
keys {
|
|
keys {
|
|
compatible = "gpio-keys";
|
|
compatible = "gpio-keys";
|
|
|
|
|
|
wps {
|
|
wps {
|
|
|
|
+ label = "wps";
|
|
linux,code = <KEY_WPS_BUTTON>;
|
|
linux,code = <KEY_WPS_BUTTON>;
|
|
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
|
|
debounce-interval = <60>;
|
|
debounce-interval = <60>;
|
|
};
|
|
};
|
|
|
|
|
|
reset {
|
|
reset {
|
|
|
|
+ label = "reset";
|
|
linux,code = <KEY_RESTART>;
|
|
linux,code = <KEY_RESTART>;
|
|
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
|
|
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
|
|
debounce-interval = <60>;
|
|
debounce-interval = <60>;
|
|
@@ -42,7 +43,7 @@
|
|
flash@0 {
|
|
flash@0 {
|
|
compatible = "jedec,spi-nor";
|
|
compatible = "jedec,spi-nor";
|
|
reg = <0>;
|
|
reg = <0>;
|
|
- spi-max-frequency = <50000000>;
|
|
|
|
|
|
+ spi-max-frequency = <25000000>;
|
|
|
|
|
|
partitions {
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
compatible = "fixed-partitions";
|
|
@@ -51,19 +52,19 @@
|
|
|
|
|
|
partition@0 {
|
|
partition@0 {
|
|
label = "bootloader";
|
|
label = "bootloader";
|
|
- reg = <0x000000 0x40000>;
|
|
|
|
|
|
+ reg = <0x000000 0x040000>;
|
|
read-only;
|
|
read-only;
|
|
};
|
|
};
|
|
|
|
|
|
partition@40000 {
|
|
partition@40000 {
|
|
|
|
+ compatible = "u-boot,env";
|
|
label = "bdcfg";
|
|
label = "bdcfg";
|
|
- reg = <0x040000 0x10000>;
|
|
|
|
- read-only;
|
|
|
|
|
|
+ reg = <0x040000 0x010000>;
|
|
};
|
|
};
|
|
|
|
|
|
partition@50000 {
|
|
partition@50000 {
|
|
label = "devdata";
|
|
label = "devdata";
|
|
- reg = <0x050000 0x10000>;
|
|
|
|
|
|
+ reg = <0x050000 0x010000>;
|
|
read-only;
|
|
read-only;
|
|
|
|
|
|
compatible = "nvmem-cells";
|
|
compatible = "nvmem-cells";
|
|
@@ -81,7 +82,7 @@
|
|
|
|
|
|
partition@60000 {
|
|
partition@60000 {
|
|
label = "devconf";
|
|
label = "devconf";
|
|
- reg = <0x060000 0x10000>;
|
|
|
|
|
|
+ reg = <0x060000 0x010000>;
|
|
read-only;
|
|
read-only;
|
|
};
|
|
};
|
|
|
|
|