mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
c98819a9e6
The "/dts-v1/;" identifier is supposed to be present once at the top of a device tree file after the includes have been processed. Like done for other targets recently, put the dts-v1 statement into the top-level SoC-based DTSI files, and remove all other occurences. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
44 lines
665 B
Plaintext
44 lines
665 B
Plaintext
#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>;
|
|
};
|
|
};
|