reg = <0x07fc0000 0x00040000>;
read-only;
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
- macaddr_wifi_0: macaddr@0 {
- reg = <0x0 0x6>;
- };
- macaddr_wifi_c: macaddr@c {
- reg = <0xc 0x6>;
- };
+ macaddr_wifi_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+ macaddr_wifi_c: macaddr@c {
+ reg = <0xc 0x6>;
+ };
- calibration_wifi_1000: calibration@1000 {
- reg = <0x1000 0x440>;
- };
+ calibration_wifi_1000: calibration@1000 {
+ reg = <0x1000 0x440>;
+ };
- calibration_wifi_5000: calibration@5000 {
- reg = <0x5000 0x440>;
+ calibration_wifi_5000: calibration@5000 {
+ reg = <0x5000 0x440>;
+ };
};
};
};
keys {
compatible = "gpio-keys";
- reset {
+ button-restart {
label = "Reset button";
gpios = <&GPIO0 15 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
debounce-interval = <60>;
};
- backup_hd {
+ button-backup_hd {
label = "Backup HD button";
gpios = <&GPIO0 19 GPIO_ACTIVE_LOW>;
linux,code = <BTN_0>;
debounce-interval = <60>;
};
- rfkill {
+ button-rfkill {
label = "RFKILL button";
gpios = <&GPIO0 20 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RFKILL>;
debounce-interval = <60>;
};
- wps {
+ button-wps {
label = "WPS button";
gpios = <&GPIO0 23 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;