]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: remove cdns,at32ap7000-macb device tree entry
authorHans-Christian Noren Egtvedt <egtvedt@samfundet.no>
Sun, 5 Nov 2017 10:19:53 +0000 (11:19 +0100)
committerHans-Christian Noren Egtvedt <egtvedt@samfundet.no>
Wed, 3 Aug 2022 09:03:03 +0000 (11:03 +0200)
The AVR32 architecture has been removed from the kernel in commit
880af7de3413264d72e5db1537a23ce2c2390b4e, hence clean out the
cdns,at32ap7000-macb compatible entry in Cadence macb Ethernet driver.

AVR32 architecture never supported device tree, hence this code was not
used by anybody.

Updated documentation to match the default entry, no users of
cdns,at32ap7000-macb in the kernel tree.

Signed-off-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
Documentation/devicetree/bindings/net/cdns,macb.yaml
drivers/net/ethernet/cadence/macb_main.c

index 86fc31c2d91b2d28aa48a07e7a498f8f1344b7e3..86f2e2ac59d9e97f9d77f8f2147905baa028b125 100644 (file)
@@ -42,7 +42,6 @@ properties:
           - atmel,sama5d2-gem         # GEM IP (10/100) on Atmel sama5d2 SoCs
           - atmel,sama5d3-gem         # Gigabit IP on Atmel sama5d3 SoCs
           - atmel,sama5d4-gem         # GEM IP (10/100) on Atmel sama5d4 SoCs
-          - cdns,at32ap7000-macb      # Other 10/100 usage or use the generic form
           - cdns,np4-macb             # NP4 SoC devices
           - microchip,sama7g5-emac    # Microchip SAMA7G5 ethernet interface
           - microchip,sama7g5-gem     # Microchip SAMA7G5 gigabit ethernet interface
@@ -155,7 +154,7 @@ unevaluatedProperties: false
 examples:
   - |
     macb0: ethernet@fffc4000 {
-            compatible = "cdns,at32ap7000-macb";
+            compatible = "cdns,macb";
             reg = <0xfffc4000 0x4000>;
             interrupts = <21>;
             phy-mode = "rmii";
index d89098f4ede80c403b0efc3202109ebe8ba20fcf..9dff6db16279b2261ee167dfc498b0ead96d574d 100644 (file)
@@ -4770,7 +4770,6 @@ static const struct macb_config sama7g5_emac_config = {
 };
 
 static const struct of_device_id macb_dt_ids[] = {
-       { .compatible = "cdns,at32ap7000-macb" },
        { .compatible = "cdns,at91sam9260-macb", .data = &at91sam9260_config },
        { .compatible = "cdns,macb" },
        { .compatible = "cdns,np4-macb", .data = &np4_config },