Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: remove cdns,at32ap7000-macb device tree entry

The AVR32 architecture has been removed from the kernel in commit
26202873bb51fafdaa51be3e8de7aab9beb49f70, 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>

+1 -3
+1 -2
Documentation/devicetree/bindings/net/cdns,macb.yaml
··· 42 42 - atmel,sama5d2-gem # GEM IP (10/100) on Atmel sama5d2 SoCs 43 43 - atmel,sama5d3-gem # Gigabit IP on Atmel sama5d3 SoCs 44 44 - atmel,sama5d4-gem # GEM IP (10/100) on Atmel sama5d4 SoCs 45 - - cdns,at32ap7000-macb # Other 10/100 usage or use the generic form 46 45 - cdns,np4-macb # NP4 SoC devices 47 46 - microchip,sama7g5-emac # Microchip SAMA7G5 ethernet interface 48 47 - microchip,sama7g5-gem # Microchip SAMA7G5 gigabit ethernet interface ··· 154 155 examples: 155 156 - | 156 157 macb0: ethernet@fffc4000 { 157 - compatible = "cdns,at32ap7000-macb"; 158 + compatible = "cdns,macb"; 158 159 reg = <0xfffc4000 0x4000>; 159 160 interrupts = <21>; 160 161 phy-mode = "rmii";
-1
drivers/net/ethernet/cadence/macb_main.c
··· 4770 4770 }; 4771 4771 4772 4772 static const struct of_device_id macb_dt_ids[] = { 4773 - { .compatible = "cdns,at32ap7000-macb" }, 4774 4773 { .compatible = "cdns,at91sam9260-macb", .data = &at91sam9260_config }, 4775 4774 { .compatible = "cdns,macb" }, 4776 4775 { .compatible = "cdns,np4-macb", .data = &np4_config },