-/dts-v1/;
-
#include "rt5350.dtsi"
#include <dt-bindings/gpio/gpio.h>
compatible = "gpio-leds";
led_status: status {
- label = "m3:blue:status";
+ label = "blue:status";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
};
&spi0 {
status = "okay";
- m25p80@0 {
+ flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
&state_default {
gpio {
- ralink,group = "i2c", "jtag", "uartf";
- ralink,function = "gpio";
+ groups = "i2c", "jtag", "uartf";
+ function = "gpio";
};
};
ðernet {
- mtd-mac-address = <&factory 0x4>;
+ nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cell-names = "mac-address";
};
&esw {
};
&wmac {
- ralink,mtd-eeprom = <&factory 0>;
+ ralink,mtd-eeprom = <&factory 0x0>;
ralink,led-polarity = <1>;
};
-&ehci {
- status = "okay";
-};
+&factory {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
-&ohci {
- status = "okay";
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};