]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Revert the ARM/dts changes for Renesas RZ/N1
authorJakub Kicinski <kuba@kernel.org>
Mon, 27 Jun 2022 17:39:00 +0000 (10:39 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 29 Jun 2022 05:06:45 +0000 (22:06 -0700)
Based on a request from Geert:

Revert "ARM: dts: r9a06g032-rzn1d400-db: add switch description"
This reverts commit e850bd756138c276bbae016781439360a584f2fc.

Revert "ARM: dts: r9a06g032: describe switch"
This reverts commit 4de539eaff8d69020e2ef561dc71ad14ce9999e9.

Revert "ARM: dts: r9a06g032: describe GMAC2"
This reverts commit bf5951b862ed5d59c7db1d76ca2c6d1fbb60af12.

Revert "ARM: dts: r9a06g032: describe MII converter"
This reverts commit 672aff55da048751b3024430649a27d0490bdade.

to let these changes flow thru the platform and SoC trees.

Link: https://lore.kernel.org/r/CAMuHMdUvSLFU56gsp1a9isOiP9otdCJ2-BqhbrffcoHuA6JNig@mail.gmail.com/
Link: https://lore.kernel.org/r/20220627173900.3136386-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
arch/arm/boot/dts/r9a06g032-rzn1d400-db.dts
arch/arm/boot/dts/r9a06g032.dtsi

index 4227aba70c30ff0f3e7049a038178115cdeedaa9..3f8f3ce87e122a10f515b5ede098fa4aa53e1b07 100644 (file)
@@ -8,8 +8,6 @@
 
 /dts-v1/;
 
-#include <dt-bindings/pinctrl/rzn1-pinctrl.h>
-#include <dt-bindings/net/pcs-rzn1-miic.h>
 #include "r9a06g032.dtsi"
 
 / {
        timeout-sec = <60>;
        status = "okay";
 };
-
-&gmac2 {
-       status = "okay";
-       phy-mode = "gmii";
-       fixed-link {
-               speed = <1000>;
-               full-duplex;
-       };
-};
-
-&switch {
-       status = "okay";
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       pinctrl-names = "default";
-       pinctrl-0 = <&pins_mdio1>, <&pins_eth3>, <&pins_eth4>;
-
-       dsa,member = <0 0>;
-
-       mdio {
-               clock-frequency = <2500000>;
-
-               #address-cells = <1>;
-               #size-cells = <0>;
-
-               switch0phy4: ethernet-phy@4 {
-                       reg = <4>;
-                       micrel,led-mode = <1>;
-               };
-
-               switch0phy5: ethernet-phy@5 {
-                       reg = <5>;
-                       micrel,led-mode = <1>;
-               };
-       };
-};
-
-&switch_port0 {
-       label = "lan0";
-       phy-mode = "mii";
-       phy-handle = <&switch0phy5>;
-       status = "okay";
-};
-
-&switch_port1 {
-       label = "lan1";
-       phy-mode = "mii";
-       phy-handle = <&switch0phy4>;
-       status = "okay";
-};
-
-&switch_port4 {
-       status = "okay";
-};
-
-&eth_miic {
-       status = "okay";
-       renesas,miic-switch-portin = <MIIC_GMAC2_PORT>;
-};
-
-&mii_conv4 {
-       renesas,miic-input = <MIIC_SWITCH_PORTB>;
-       status = "okay";
-};
-
-&mii_conv5 {
-       renesas,miic-input = <MIIC_SWITCH_PORTA>;
-       status = "okay";
-};
-
-&pinctrl{
-       pins_mdio1: pins_mdio1 {
-               pinmux = <
-                       RZN1_PINMUX(152, RZN1_FUNC_MDIO1_SWITCH)
-                       RZN1_PINMUX(153, RZN1_FUNC_MDIO1_SWITCH)
-               >;
-       };
-       pins_eth3: pins_eth3 {
-               pinmux = <
-                       RZN1_PINMUX(36, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(37, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(38, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(39, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(40, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(41, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(42, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(43, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(44, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(45, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(46, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(47, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-               >;
-               drive-strength = <6>;
-               bias-disable;
-       };
-       pins_eth4: pins_eth4 {
-               pinmux = <
-                       RZN1_PINMUX(48, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(49, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(50, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(51, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(52, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(53, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(54, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(55, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(56, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(57, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(58, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-                       RZN1_PINMUX(59, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)
-               >;
-               drive-strength = <6>;
-               bias-disable;
-       };
-};
index 5b97fa85474fd63492283f1f9a9cb2995c1848c1..d3665910958bbf6d9d0a90b323ab6b4aa433ebfc 100644 (file)
                        data-width = <8>;
                };
 
-               gmac2: ethernet@44002000 {
-                       compatible = "renesas,r9a06g032-gmac", "renesas,rzn1-gmac", "snps,dwmac";
-                       reg = <0x44002000 0x2000>;
-                       interrupt-parent = <&gic>;
-                       interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,
-                                    <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
-                                    <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
-                       interrupt-names = "macirq", "eth_wake_irq", "eth_lpi";
-                       clocks = <&sysctrl R9A06G032_HCLK_GMAC1>;
-                       clock-names = "stmmaceth";
-                       power-domains = <&sysctrl>;
-                       snps,multicast-filter-bins = <256>;
-                       snps,perfect-filter-entries = <128>;
-                       tx-fifo-depth = <2048>;
-                       rx-fifo-depth = <4096>;
-                       status = "disabled";
-               };
-
-               eth_miic: eth-miic@44030000 {
-                       compatible = "renesas,r9a06g032-miic", "renesas,rzn1-miic";
-                       #address-cells = <1>;
-                       #size-cells = <0>;
-                       reg = <0x44030000 0x10000>;
-                       clocks = <&sysctrl R9A06G032_CLK_MII_REF>,
-                                <&sysctrl R9A06G032_CLK_RGMII_REF>,
-                                <&sysctrl R9A06G032_CLK_RMII_REF>,
-                                <&sysctrl R9A06G032_HCLK_SWITCH_RG>;
-                       clock-names = "mii_ref", "rgmii_ref", "rmii_ref", "hclk";
-                       power-domains = <&sysctrl>;
-                       status = "disabled";
-
-                       mii_conv1: mii-conv@1 {
-                               reg = <1>;
-                               status = "disabled";
-                       };
-
-                       mii_conv2: mii-conv@2 {
-                               reg = <2>;
-                               status = "disabled";
-                       };
-
-                       mii_conv3: mii-conv@3 {
-                               reg = <3>;
-                               status = "disabled";
-                       };
-
-                       mii_conv4: mii-conv@4 {
-                               reg = <4>;
-                               status = "disabled";
-                       };
-
-                       mii_conv5: mii-conv@5 {
-                               reg = <5>;
-                               status = "disabled";
-                       };
-               };
-
-               switch: switch@44050000 {
-                       compatible = "renesas,r9a06g032-a5psw", "renesas,rzn1-a5psw";
-                       reg = <0x44050000 0x10000>;
-                       clocks = <&sysctrl R9A06G032_HCLK_SWITCH>,
-                                <&sysctrl R9A06G032_CLK_SWITCH>;
-                       clock-names = "hclk", "clk";
-                       power-domains = <&sysctrl>;
-                       status = "disabled";
-
-                       ethernet-ports {
-                               #address-cells = <1>;
-                               #size-cells = <0>;
-
-                               switch_port0: port@0 {
-                                       reg = <0>;
-                                       pcs-handle = <&mii_conv5>;
-                                       status = "disabled";
-                               };
-
-                               switch_port1: port@1 {
-                                       reg = <1>;
-                                       pcs-handle = <&mii_conv4>;
-                                       status = "disabled";
-                               };
-
-                               switch_port2: port@2 {
-                                       reg = <2>;
-                                       pcs-handle = <&mii_conv3>;
-                                       status = "disabled";
-                               };
-
-                               switch_port3: port@3 {
-                                       reg = <3>;
-                                       pcs-handle = <&mii_conv2>;
-                                       status = "disabled";
-                               };
-
-                               switch_port4: port@4 {
-                                       reg = <4>;
-                                       ethernet = <&gmac2>;
-                                       label = "cpu";
-                                       phy-mode = "internal";
-                                       status = "disabled";
-                                       fixed-link {
-                                               speed = <1000>;
-                                               full-duplex;
-                                       };
-                               };
-                       };
-               };
-
                gic: interrupt-controller@44101000 {
                        compatible = "arm,gic-400", "arm,cortex-a7-gic";
                        interrupt-controller;