mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
c0aea38436
After the LED labels have been made more general by removing the model names, we can move several definitions to DTSI files to reduce the amount of duplicate code. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
34 lines
574 B
Plaintext
34 lines
574 B
Plaintext
/dts-v1/;
|
|
|
|
#include "bcm6358-sfr-neufbox-4.dtsi"
|
|
|
|
/ {
|
|
model = "SFR Neufbox 4 (Foxconn)";
|
|
compatible = "sfr,neufbox-4-foxconn-r1", "brcm,bcm6358";
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
traffic_white {
|
|
label = "white:traffic";
|
|
gpios = <&pinctrl 2 0>;
|
|
};
|
|
service_blue {
|
|
label = "blue:service";
|
|
gpios = <&pinctrl 4 0>;
|
|
};
|
|
wifi_white {
|
|
label = "white:wifi";
|
|
gpios = <&pinctrl 15 0>;
|
|
};
|
|
service_red {
|
|
label = "red:service";
|
|
gpios = <&pinctrl 29 0>;
|
|
};
|
|
service_green {
|
|
label = "green:service";
|
|
gpios = <&pinctrl 30 0>;
|
|
};
|
|
};
|
|
};
|