leds {
compatible = "gpio-leds";
- wlan2g {
- label = "green:2g";
- gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "phy0tpt";
- };
-
usb {
function = LED_FUNCTION_USB;
color = <LED_COLOR_ID_GREEN>;
debounce-interval = <60>;
};
};
-
- ath9k-leds {
- compatible = "gpio-leds";
-
- wlan {
- label = "green:5g";
- gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
- linux,default-trigger = "phy1tpt";
- };
- };
};
&ref {
reg = <0x0000 0 0 0 0>;
nvmem-cells = <&macaddr_addr_0 0x10>, <&calibration_art_5000>;
nvmem-cell-names = "mac-address", "calibration";
- #gpio-cells = <2>;
- gpio-controller;
+
+ led {
+ led-sources = <6>;
+ led-active-low;
+ };
};
};
nvmem-cells = <&macaddr_addr_0 0>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
+
+ led {
+ led-sources = <20>;
+ };
};
&mdio0 {