openwrt/target/linux/bcm63xx/dts/bcm6358-huawei-echolife-hg556a-b.dts
Adrian Schmutzler 95fd6a800c bcm63xx: add a few DTSI files to share definitions
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>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:07:04 +00:00

46 lines
676 B
Plaintext

/dts-v1/;
#include "bcm6358-huawei-echolife-hg556a.dtsi"
/ {
model = "Huawei EchoLife HG556a (version B)";
compatible = "huawei,echolife-hg556a-b", "brcm,bcm6358";
};
&gpiokeys {
help {
label = "help";
gpios = <&pinctrl 8 1>;
linux,code = <KEY_HELP>;
debounce-interval = <60>;
};
};
&gpioleds {
message_red {
label = "red:message";
gpios = <&pinctrl 0 1>;
};
hspa_red {
label = "red:hspa";
gpios = <&pinctrl 1 1>;
};
all_red {
label = "red:all";
gpios = <&pinctrl 6 1>;
default-state = "on";
};
lan1_green {
label = "green:lan1";
gpios = <&pinctrl 12 1>;
};
lan2_green {
label = "green:lan2";
gpios = <&pinctrl 15 1>;
};
};