#include "qcom-ipq4019.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
#include <dt-bindings/soc/qcom,tcsr.h>
/ {
compatible = "gpio-leds";
power: orange {
- label = "orange:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_ORANGE>;
gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
};
lan {
- label = "blue:lan";
+ function = LED_FUNCTION_LAN;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
};
label = "0:ART";
reg = <0x00180000 0x00010000>;
read-only;
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
- precal_art_1000: precal@1000 {
- reg = <0x1000 0x2f20>;
- };
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ precal_art_1000: precal@1000 {
+ reg = <0x1000 0x2f20>;
+ };
- precal_art_5000: precal@5000 {
- reg = <0x5000 0x2f20>;
+ precal_art_5000: precal@5000 {
+ reg = <0x5000 0x2f20>;
+ };
};
};
partition8@190000 {