#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
aliases {
compatible = "gpio-leds";
wlan {
- label = "green:wlan";
+ function = LED_FUNCTION_WLAN;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
&spi {
status = "okay";
- num-cs = <1>;
flash@0 {
compatible = "jedec,spi-nor";
label = "pri-data";
reg = <0x050000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_pridata_400: macaddr@400 {
+ compatible = "mac-base";
+ reg = <0x400 0x6>;
+ #nvmem-cell-cells = <1>;
+ };
+ };
};
art: partition@60000 {
phy-handle = <&phy0>;
- mtd-mac-address = <&pridata 0x400>;
- mtd-mac-address-increment = <1>;
+ nvmem-cells = <&macaddr_pridata_400 1>;
+ nvmem-cell-names = "mac-address";
};
ð1 {
pll-data = <0x03000101 0x00000101 0x00001616>;
- mtd-mac-address = <&pridata 0x400>;
+ nvmem-cells = <&macaddr_pridata_400 0>;
+ nvmem-cell-names = "mac-address";
fixed-link {
speed = <1000>;
};
};
-&uart {
- status = "okay";
-};
-
&usb_phy0 {
status = "okay";
};