compatible = "pisen,ts-d084", "qca,ar9331";
aliases {
- serial0 = &uart;
led-boot = &led_system;
led-failsafe = &led_system;
led-running = &led_system;
compatible = "gpio-leds";
led_system: system {
- label = "ts-d084:blue:system";
+ label = "blue:system";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
};
ð0 {
status = "okay";
- mtd-mac-address = <&uboot 0x1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
gmac-config {
device = <&gmac>;
compatible = "syscon", "simple-mfd";
};
-&uart {
- status = "okay";
-};
-
&usb {
dr_mode = "host";
status = "okay";
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&uboot 0x1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_1fc00: macaddr@1fc00 {
+ reg = <0x1fc00 0x6>;
+ };
};