[OpenWrt-Devel] [PATCH v3] ramips: Add support for Head Weblink HDRM200
Petr Štetiar
ynezz at true.cz
Wed May 15 06:17:32 EDT 2019
Kristian Evensen <kristian.evensen at gmail.com> [2019-05-10 18:26:22]:
> In order to install OpenWRT, you first need to compile an initramfs
> (ramdisk)-image for the device.
This is no longer valid, right?
> --- a/target/linux/ramips/base-files/etc/board.d/01_leds
> +++ b/target/linux/ramips/base-files/etc/board.d/01_leds
> @@ -184,6 +184,9 @@ hc5861)
> ucidef_set_led_netdev "wifi5g" "wifi5g" "$boardname:blue:wlan5g" "wlan0"
> ucidef_set_led_netdev "wifi2g" "wifi2g" "$boardname:blue:wlan2g" "wlan1"
> ;;
> +head-weblink,hdrm200)
> + set_wifi_led "$boardname:green:wifi"
> + ;;
this could be grouped with other devices.
> + gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
pa group
> + gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
spi refclk group
> + gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
wled group
> + gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
uartf group
> + gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
uartf group
> +&pinctrl {
> + state_default: pinctrl0 {
> + default {
> + ralink,group = "i2c", "uartf", "pa", "spi refclk",
> + "wled";
so if I'm counting it right, you should probably remove i2c.
-- ynezz
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list