From: Chad Monroe Date: Tue, 11 Aug 2026 02:48:56 +0000 (-0700) Subject: mediatek: filogic: mt-stuart: remove stale device tree nodes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe1158a99df5d16de52b396b962eb91161b2b818;p=thirdparty%2Fopenwrt.git mediatek: filogic: mt-stuart: remove stale device tree nodes No Mt. Stuart model has SLIC voice hardware or SPI NAND flash. Remove the SLIC gpio-exports and the spi0/spi_nand nodes. Remove phy-connection-type where phy-mode gives the same value. Remove the pcie1 pinctrl properties. They are identical to the SoC defaults in mt7988a.dtsi. No functional change. Signed-off-by: Chad Monroe Link: https://github.com/openwrt/openwrt/pull/24352 Signed-off-by: Jonas Jelonek --- diff --git a/target/linux/mediatek/dts/mt7988a-smartrg-SDG-8733.dts b/target/linux/mediatek/dts/mt7988a-smartrg-SDG-8733.dts index c8c58271a37..7ac5a4d6fa2 100644 --- a/target/linux/mediatek/dts/mt7988a-smartrg-SDG-8733.dts +++ b/target/linux/mediatek/dts/mt7988a-smartrg-SDG-8733.dts @@ -12,6 +12,5 @@ }; &gmac1 { - phy-connection-type = "usxgmii"; phy = <&phy0>; }; diff --git a/target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi b/target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi index 51e5d3c172a..07d75a0f722 100644 --- a/target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi +++ b/target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi @@ -112,18 +112,6 @@ gpios = <&pio 9 GPIO_ACTIVE_LOW>; }; - slic_interrupt { - gpio-export,name = "slic_interrupt"; - gpio-export,direction_may_change; - gpios = <&pio 54 GPIO_ACTIVE_HIGH>; - }; - - slic_reset { - gpio-export,name = "slic_reset"; - gpio-export,output = <0>; - gpios = <&pio 72 GPIO_ACTIVE_HIGH>; - }; - usb_enable { gpio-export,name = "usb_enable"; gpio-export,output = <1>; @@ -272,7 +260,6 @@ nvmem-cell-names = "mac-address"; label = "lan1"; phy-mode = "usxgmii"; - phy-connection-type = "usxgmii"; phy = <&phy8>; status = "okay"; @@ -594,8 +581,6 @@ }; &pcie1 { - pinctrl-names = "default"; - pinctrl-0 = <&pcie1_pins>; status = "okay"; }; @@ -702,13 +687,6 @@ }; }; - spi0_flash_pins: spi0-flash-pins { - mux { - function = "spi"; - groups = "spi0", "spi0_wp_hold"; - }; - }; - sfp_i2c_pins: sfp-i2c-pins { conf-scl { pins = "LED_A"; @@ -743,20 +721,6 @@ status = "okay"; }; -&spi0 { - pinctrl-names = "default"; - pinctrl-0 = <&spi0_flash_pins>; - status = "disabled"; - - spi_nand: spi_nand@0 { - compatible = "spi-nand"; - reg = <0>; - spi-max-frequency = <52000000>; - spi-tx-bus-width = <4>; - spi-rx-bus-width = <4>; - }; -}; - &ssusb0 { status = "okay"; }; diff --git a/target/linux/mediatek/dts/mt7988d-smartrg-SDG-8733A.dts b/target/linux/mediatek/dts/mt7988d-smartrg-SDG-8733A.dts index 0d0ecddfae2..9d2e8b9df81 100644 --- a/target/linux/mediatek/dts/mt7988d-smartrg-SDG-8733A.dts +++ b/target/linux/mediatek/dts/mt7988d-smartrg-SDG-8733A.dts @@ -65,7 +65,6 @@ nvmem-cells = <&macaddr 1>; nvmem-cell-names = "mac-address"; phy-mode = "internal"; - phy-connection-type = "internal"; phy = <&int_2p5g_phy>; }; @@ -74,7 +73,6 @@ nvmem-cells = <&macaddr 0>; nvmem-cell-names = "mac-address"; phy-mode = "usxgmii"; - phy-connection-type = "usxgmii"; phy = <&phy8>; };