compatible = "gpio-leds";
led_wan: wan {
- label = "green:wan";
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_STATUS;
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; // #GPIO38
};
wifi {
- label = "green:wifi";
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_WLAN;
gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>; // #GPIO72
reg = <0x30000 0x10000>;
};
- factory: partition@40000 {
- compatible = "nvmem-cells";
+ partition@40000 {
label = "RF-EEPROM";
reg = <0x40000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
read-only;
- eeprom_factory_0: eeprom@0 {
- reg = <0x0 0x200>;
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
};
};