From d1176ad95a82495c3745465da902de11ea2f88ea Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Tue, 23 Feb 2021 00:10:45 +0800 Subject: ramips: improve gpio control for Phicomm PSG1218 Description: 1. From key and led config setting, we can find only "uartf" and "i2c" are used as gpio by check mt7620 datasheet. It's time to remove unused pin group. 2. PSG1218 only have three led, so we can remove ethernet led pinctrl. refer to Phicomm K2G. Signed-off-by: Shiji Yang --- target/linux/ramips/dts/mt7620a_phicomm_psg1218b.dts | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'target/linux/ramips/dts/mt7620a_phicomm_psg1218b.dts') diff --git a/target/linux/ramips/dts/mt7620a_phicomm_psg1218b.dts b/target/linux/ramips/dts/mt7620a_phicomm_psg1218b.dts index f7e70c92c8..822fb13b6f 100644 --- a/target/linux/ramips/dts/mt7620a_phicomm_psg1218b.dts +++ b/target/linux/ramips/dts/mt7620a_phicomm_psg1218b.dts @@ -5,16 +5,6 @@ model = "Phicomm PSG1218 rev.B"; }; -&state_default { - gpio { - groups = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "pa"; - function = "gpio"; - }; -}; - ðernet { - pinctrl-names = "default"; - pinctrl-0 = <&ephy_pins>; - mtd-mac-address = <&factory 0x28>; }; -- cgit v1.2.3