The DASAN H660GM-A GPON ONT exists in two hardware variants, one
distributed by ISPs and one sold directly by the manufacturer [1].
Split the single DTS into a shared dtsi and per-variant DTS files
with the correct GPIO mappings, flash layout, and LED definitions.
Variant comparison:
Feature | Airtel | Generic
---------------+---------------------------+-------------------------
Supplied by | Airtel Xstream Fiber | Retail
Flash | Micron MT29F2G01ABAGD | Micron MT29F1G01ABAFD
| 256 MB | 128 MB
Known P/N | DPW-G-P-66GMAZ-A3 | DPW:G-P-660GMAY-G0
| (some units unlabelled) | DPW:G-P-660GMAY-G3
WPS LED | Yes | No
WLAN button | No | Yes
USB LED | No | Yes
LAN LEDs | Green only | Green + Amber
[1] https://dasanns.com/en/solution/detail.php?mode=view&cat_no=32&offset=&idx=122
Tested-by: Arif Rahman Hakim <arif2785id@gmail.com>
Signed-off-by: Ahmed Naseef <naseefkm@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22095
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
32 lines
801 B
Makefile
32 lines
801 B
Makefile
TRX_ENDIAN := le
|
|
|
|
define Device/en7528_generic
|
|
DEVICE_VENDOR := EN7528
|
|
DEVICE_MODEL := Generic
|
|
DEVICE_DTS := en7528_generic
|
|
endef
|
|
TARGET_DEVICES += en7528_generic
|
|
|
|
define Device/dasan_h660gm-a
|
|
DEVICE_VENDOR := DASAN
|
|
DEVICE_MODEL := H660GM-A
|
|
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap
|
|
TRX_MODEL := Dewberry
|
|
IMAGES := tclinux.trx
|
|
IMAGE/tclinux.trx := append-kernel | lzma | tclinux-trx
|
|
endef
|
|
|
|
define Device/dasan_h660gm-a-airtel
|
|
$(Device/dasan_h660gm-a)
|
|
DEVICE_VARIANT := Airtel
|
|
DEVICE_DTS := en7528_dasan_h660gm-a-airtel
|
|
endef
|
|
TARGET_DEVICES += dasan_h660gm-a-airtel
|
|
|
|
define Device/dasan_h660gm-a-generic
|
|
$(Device/dasan_h660gm-a)
|
|
DEVICE_VARIANT := Generic
|
|
DEVICE_DTS := en7528_dasan_h660gm-a-generic
|
|
endef
|
|
TARGET_DEVICES += dasan_h660gm-a-generic
|