Skip to content

Commit 8bfdfbb

Browse files
committed
net: remove cdns,at32ap7000-macb device tree entry
The AVR32 architecture has been removed from the kernel in commit 2620287, 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 parent 62bf2fa commit 8bfdfbb

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

Documentation/devicetree/bindings/net/cdns,macb.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ properties:
4242
- atmel,sama5d2-gem # GEM IP (10/100) on Atmel sama5d2 SoCs
4343
- atmel,sama5d3-gem # Gigabit IP on Atmel sama5d3 SoCs
4444
- atmel,sama5d4-gem # GEM IP (10/100) on Atmel sama5d4 SoCs
45-
- cdns,at32ap7000-macb # Other 10/100 usage or use the generic form
4645
- cdns,np4-macb # NP4 SoC devices
4746
- microchip,sama7g5-emac # Microchip SAMA7G5 ethernet interface
4847
- microchip,sama7g5-gem # Microchip SAMA7G5 gigabit ethernet interface
@@ -155,7 +154,7 @@ unevaluatedProperties: false
155154
examples:
156155
- |
157156
macb0: ethernet@fffc4000 {
158-
compatible = "cdns,at32ap7000-macb";
157+
compatible = "cdns,macb";
159158
reg = <0xfffc4000 0x4000>;
160159
interrupts = <21>;
161160
phy-mode = "rmii";

drivers/net/ethernet/cadence/macb_main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4770,7 +4770,6 @@ static const struct macb_config sama7g5_emac_config = {
47704770
};
47714771

47724772
static const struct of_device_id macb_dt_ids[] = {
4773-
{ .compatible = "cdns,at32ap7000-macb" },
47744773
{ .compatible = "cdns,at91sam9260-macb", .data = &at91sam9260_config },
47754774
{ .compatible = "cdns,macb" },
47764775
{ .compatible = "cdns,np4-macb", .data = &np4_config },

0 commit comments

Comments
 (0)