-/dts-v1/;
-
#include "bcm6358.dtsi"
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
model = "Telsey CPVA642-type (CPA-ZNTE60T)";
compatible = "gpio-leds";
eth_green {
- label = "CPVA642:green:ether";
+ label = "green:ether";
gpios = <&pinctrl 1 1>;
};
phone2_green {
- label = "CPVA642:green:phone2";
+ label = "green:phone2";
gpios = <&pinctrl 2 1>;
};
usb_green {
- label = "CPVA642:green:usb";
+ function = LED_FUNCTION_USB;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&pinctrl 3 1>;
};
phone1_green {
- label = "CPVA642:green:phone1";
+ label = "green:phone1";
gpios = <&pinctrl 4 1>;
};
wifi_red {
- label = "CPVA642:red:wifi";
+ label = "red:wifi";
gpios = <&pinctrl 6 1>;
};
link_red {
- label = "CPVA642:red:link";
+ label = "red:link";
gpios = <&pinctrl 9 1>;
};
link_green {
- label = "CPVA642:green:link";
+ label = "green:link";
gpios = <&pinctrl 10 1>;
};
led_power_green: power_green {
- label = "CPVA642:green:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&pinctrl 11 1>;
default-state = "on";
};
power_red {
- label = "CPVA642:red:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_RED>;
gpios = <&pinctrl 14 1>;
};
wifi_green {
- label = "CPVA642:green:wifi";
+ label = "green:wifi";
gpios = <&pinctrl 28 0>;
};
};
};
&pflash {
- status = "ok";
+ status = "okay";
partitions {
compatible = "fixed-partitions";
};
&uart0 {
- status = "ok";
+ status = "okay";
};