From cb741654e5b9b659ffc7cb5c1e1fa362aa8c4652 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sat, 17 Feb 2018 09:54:57 +0100 Subject: ramips: improve GnuBee Personal Cloud Two support Use the generic board detection for the GnuBee Personal Cloud Two instead of the target specific one as all recent additions are doing. Fixup the pinmux to set all pins used as GPIO to the function GPIO. Request pins where used. Drop the i2c from the dts. There is nothing connected. While at it fix an indentation issue and use references instead of duplicating the whole node path. Use the same switch config as for the GB-PC1 and drop the led trigger for the not supported IP1001 phy connected to second rgmii. Fixes: c60a21532bc9 ("ramips: Add support for the GnuBee Personal Cloud Two") Signed-off-by: Mathias Kresin --- target/linux/ramips/image/mt7621.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/ramips/image') diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index f0b5a8444f..d3dfb237b6 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -83,13 +83,13 @@ define Device/gb-pc1 endef TARGET_DEVICES += gb-pc1 -define Device/gb-pc2 +define Device/gnubee_gb-pc2 DTS := GB-PC2 DEVICE_TITLE := GnuBee Personal Cloud Two DEVICE_PACKAGES := kmod-ata-core kmod-ata-ahci kmod-usb3 kmod-sdhci-mt7620 IMAGE_SIZE := $(ralink_default_fw_size_32M) endef -TARGET_DEVICES += gb-pc2 +TARGET_DEVICES += gnubee_gb-pc2 define Device/hc5962 DTS := HC5962 -- cgit v1.2.3