forked from Openwrt-EcoNet/openwrt
Specifications: - SoC: Broadcom BCM6358 dual 300MHz MIPS - Flash: 16MB NOR Spansion S29GL128P10 - RAM: 64MB DDR - Ethernet: 4x 100M - Wifi: Atheros AR9223 - 3x USB 2.0 port - 4x Button - 13x LED - RJ11 2x FXS VoIP (unsupported) - RJ11 xDSL (unsupported) Install instructions: - Assign static IP 192.168.1.100 to PC. - Unplug the power source. - Press the RESTART button at the router, don't release it yet! - Plug the power source and wait at least 15 seconds. - Release the RESTART button. - Browse to http://192.168.1.1 with your PC. - Upload the openwrt-bmips-bcm6358-huawei_hg556a-a-squashfs-cfe.bin file. - Wait some minutes until the firmware upgrade completes. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
74 lines
1.2 KiB
Plaintext
74 lines
1.2 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include "bcm6358-huawei-hg556a.dtsi"
|
|
|
|
/ {
|
|
model = "Huawei EchoLife HG556a (version B)";
|
|
compatible = "huawei,hg556a-b", "brcm,bcm6358";
|
|
|
|
ath9k-leds {
|
|
compatible = "gpio-leds";
|
|
|
|
led-2 {
|
|
function = LED_FUNCTION_WLAN;
|
|
color = <LED_COLOR_ID_RED>;
|
|
gpios = <&ath9k 2 GPIO_ACTIVE_HIGH>;
|
|
linux,default-trigger = "phy0tpt";
|
|
};
|
|
};
|
|
};
|
|
|
|
&gpio_keys {
|
|
help {
|
|
label = "help";
|
|
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
|
|
linux,code = <KEY_HELP>;
|
|
debounce-interval = <60>;
|
|
};
|
|
};
|
|
|
|
&gpio_leds {
|
|
led-0 {
|
|
label = "red:message";
|
|
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
led-1 {
|
|
label = "red:hspa";
|
|
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
led-6 {
|
|
label = "all";
|
|
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
|
|
default-state = "on";
|
|
};
|
|
|
|
led-12 {
|
|
label = "green:lan1";
|
|
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
led-15 {
|
|
label = "green:lan2";
|
|
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
&pci {
|
|
status = "okay";
|
|
|
|
ath9k: wifi@1,0 {
|
|
compatible = "pci168c,0029";
|
|
reg = <0x0800 0 0 0 0>;
|
|
|
|
qca,no-eeprom;
|
|
|
|
nvmem-cells = <&macaddr_cfe_6a0 1>;
|
|
nvmem-cell-names = "mac-address";
|
|
|
|
#gpio-cells = <2>;
|
|
gpio-controller;
|
|
};
|
|
};
|