-/dts-v1/;
-
#include "rt3050.dtsi"
#include <dt-bindings/gpio/gpio.h>
compatible = "gpio-leds";
3g {
- label = "wl-330n3g:blue:3g";
+ label = "blue:3g";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
3g2 {
- label = "wl-330n3g:red:3g";
+ label = "red:3g";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
led_power: power {
- label = "wl-330n3g:blue:power";
+ label = "blue:power";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
};
&spi0 {
status = "okay";
- m25p80@0 {
+ flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
};
ðernet {
- mtd-mac-address = <&factory 0x4>;
+ nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cell-names = "mac-address";
};
&esw {
&otg {
status = "okay";
};
+
+&factory {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
+};