]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: filogic: mt-stuart: remove stale device tree nodes
authorChad Monroe <chad@monroe.io>
Tue, 11 Aug 2026 02:48:56 +0000 (19:48 -0700)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Tue, 11 Aug 2026 20:13:08 +0000 (22:13 +0200)
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 <chad@monroe.io>
Link: https://github.com/openwrt/openwrt/pull/24352
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/mediatek/dts/mt7988a-smartrg-SDG-8733.dts
target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi
target/linux/mediatek/dts/mt7988d-smartrg-SDG-8733A.dts

index c8c58271a371e7abb0580499895b0572807ea2a3..7ac5a4d6fa2daad894a66f9aadd10a0543ff8a39 100644 (file)
@@ -12,6 +12,5 @@
 };
 
 &gmac1 {
-       phy-connection-type = "usxgmii";
        phy = <&phy0>;
 };
index 51e5d3c172af18359961e2ba35d6eb9e32944adf..07d75a0f722d14caf9b4030c3b517557616b0567 100644 (file)
                        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>;
        nvmem-cell-names = "mac-address";
        label = "lan1";
        phy-mode = "usxgmii";
-       phy-connection-type = "usxgmii";
        phy = <&phy8>;
 
        status = "okay";
 };
 
 &pcie1 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&pcie1_pins>;
        status = "okay";
 };
 
                };
        };
 
-       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";
        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";
 };
index 0d0ecddfae24b64a2e5e5928bde7207ee2c9912c..9d2e8b9df816da822173c5f6b9d5412c1c9636b6 100644 (file)
@@ -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>;
 };