Skip to content

Commit ed4d06a

Browse files
OnkelUllasaschahauer
authored andcommitted
ARM: boards: skov-imx6: fix device tree path of state node
The reference broke in commit [1] and led to the following error message during boot while fixing up the kernel devicetree: Loading ARM Linux zImage '/mnt/nand0.firmware.ubi.system0//boot/zImage' Loading devicetree from '/mnt/nand0.firmware.ubi.system0//boot/imx6dl-skov-revc-lt2.dtb' ERROR: skov-imx6 machine: Node /state/ethaddr/eth2 defining the state variable not found. [1] c00df6a ("ARM: dts: Fix dtc warnings in state nodes") Link: https://lore.barebox.org/20260630124732.709291-1-u.oelmann@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 8bd9cab commit ed4d06a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/arm/boards/skov-imx6/board.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ static int skov_imx6_switch_port(struct device_node *root, const char *path)
384384

385385
ret = eth2_of_fixup_node_individually(root, buf, "eth0",
386386
"state.ethaddr.eth2",
387-
"/state/ethaddr/eth2");
387+
"/state/ethaddr/eth2@1e");
388388
return ret;
389389
}
390390

@@ -563,7 +563,7 @@ static void skov_init_board(const struct board_description *variant)
563563

564564
static int skov_set_switch_lan2_mac(struct skov_imx6_priv *priv)
565565
{
566-
const char *state = "/state/ethaddr/eth2";
566+
const char *state = "/state/ethaddr/eth2@1e";
567567
struct device_node *lan2_np;
568568
u8 ethaddr[ETH_ALEN];
569569
int ret;

0 commit comments

Comments
 (0)