#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
model = "Western Digital My Net Wi-Fi Range Extender";
compatible = "gpio-leds";
led_power: power {
- label = "blue:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
/* LED has no off state. It's either on or it blinks */
};
lan {
- label = "green:lan";
+ function = LED_FUNCTION_LAN;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
};
clock-frequency = <25000000>;
};
-&uart {
- status = "okay";
-};
-
&spi {
status = "okay";
- num-cs = <1>;
-
flash@0 {
compatible = /* "s25fl064k", */ "jedec,spi-nor";
reg = <0>;
&mdio0 {
status = "okay";
- phy-mask = <0x10>;
-
phy4: ethernet-phy@4 {
reg = <4>;
};
ð0 {
status = "okay";
- pll-data = <0x0e000000 0x3c000101 0x3c001313>;
+ pll-data = <0x02000000 0x00000101 0x00001313>;
/* ethernet MAC is stored in nvram */
- phy-mode = "rgmii";
+ phy-mode = "rgmii-id";
phy-handle = <&phy4>;
gmac-config {