compatible = "gpio-leds";
led_run: run {
- label = "ip2202:green:run";
+ label = "green:run";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
net {
- label = "ip2202:amber:net";
+ label = "amber:net";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};
};
ðernet {
- mtd-mac-address = <&factory 0x28>;
+ nvmem-cells = <&macaddr_factory_28>;
+ nvmem-cell-names = "mac-address";
};
&esw {
&otg {
status = "okay";
};
+
+&factory {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_factory_28: macaddr@28 {
+ reg = <0x28 0x6>;
+ };
+};