Lines Matching +full:local +full:- +full:mac +full:- +full:address
1 // SPDX-License-Identifier: GPL-2.0-only
5 * arch/arm/mach-mvebu/kirkwood.c
20 #include <asm/hardware/cache-feroceon-l2.h>
24 #include "kirkwood-pm.h"
36 .name = "kirkwood-cpufreq",
37 .id = -1,
57 .id = -1,
75 * The ethernet interfaces forget the MAC address assigned by u-boot in kirkwood_dt_eth_fixup()
76 * if the clocks are turned off. Usually, u-boot on kirkwood boards in kirkwood_dt_eth_fixup()
77 * has no DT support to properly set local-mac-address property. in kirkwood_dt_eth_fixup()
78 * As a workaround, we get the MAC address from mv643xx_eth registers in kirkwood_dt_eth_fixup()
79 * and update the port device node if no valid MAC address is set. in kirkwood_dt_eth_fixup()
81 for_each_compatible_node(np, NULL, "marvell,kirkwood-eth-port") { in kirkwood_dt_eth_fixup()
93 /* skip disabled nodes or nodes with valid MAC address*/ in kirkwood_dt_eth_fixup()
109 /* store MAC address register contents in local-mac-address */ in kirkwood_dt_eth_fixup()
114 pmac->value = pmac + 1; in kirkwood_dt_eth_fixup()
115 pmac->length = 6; in kirkwood_dt_eth_fixup()
116 pmac->name = kstrdup("local-mac-address", GFP_KERNEL); in kirkwood_dt_eth_fixup()
117 if (!pmac->name) { in kirkwood_dt_eth_fixup()
122 macaddr = pmac->value; in kirkwood_dt_eth_fixup()
146 * Disable propagation of mbus errors to the CPU local bus, as this
159 OF_DEV_AUXDATA("marvell,kirkwood-audio", 0xf10a0000,
160 "mvebu-audio", NULL),